summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2010-01-26new run(4) idsDamien Bergamini
2010-01-26backout last, it causes mem conflicts and device trouble;Otto Moerbeek
ok beck@ miod@
2010-01-26Be a bit more paranoid and disable interrupts around critical pieces of code,Miod Vallat
such as isa interrupt mask change. While there, use the same constructs to work around write posting when updating bonito interrupt masks.
2010-01-26Comment out the Geode timecounter code completely. While a nice idea, thisMiod Vallat
counter relies upon MSR access, and on the Lemote, access to them is done through the northbridge PCI configuration space, which wreaks havoc on the system stability.
2010-01-26Sprinkle some write buffer flushes, copied from powerpc; preventsMiod Vallat
lock count from becoming negative under bad timing circumstances.
2010-01-25add uthum there too. ok drahn@Matthieu Herrb
2010-01-25Provide proper ELF64_R_{SYM,TYPE,INFO} on little endian mips64, since theseMiod Vallat
do not follow the regular layout. Makes ld.so much happier on loongson. ok drahn@
2010-01-24"Fix" crash caused by FAT32 re-use of small buf from buffer cache,Kenneth R Westerback
at least until problem (starting somewhere between 4.1 and 4.2) in buffer cache is found and a general fix is in place. Simply B_INVAL small buf so it doesn't come back. Addresses PR#6290, confirmed by submitter RD Thrush. ok tedu@ "should be marked XXX" thib@
2010-01-23Give little-endian fp on mips a change to be handled correctly.Miod Vallat
2010-01-23finally, 6250 parts need crystal calibration too.Damien Bergamini
update sensitivity settings for 5000 series to workaround a performance bug in the DSP (1000 is not affected so we keep the old values for 5000.) update sensitivity settings for 6000 series. from similar changes to iwlwifi
2010-01-22Correctly return ENXIO on unhandled ioctls; ok marco@Miod Vallat
2010-01-22Move is_memory_range() from mips64 mem.c to a per-architecture location; thisMiod Vallat
allows /dev/kmem to access the 256MB alias of the low memory on loongson, which in turns makes procmap(8) happy.
2010-01-22Fix previous to pick the right year as the timebase (mips64 routines expectMiod Vallat
the year to be relative to 1900, not zero).
2010-01-21Do not assume mac address and bss id are stored at 32-bit aligned addresses;Miod Vallat
inspired by other wireless drivers, makes urtw work on strict alignment architectures. ok jsg@ martynas@
2010-01-21*Write* to the magic Loongson2 register to invalidate iTLB and branchMiod Vallat
prediction caches, instead of *reading* it. Ahem. Blush. Yeelong lemote now run single user.
2010-01-21Use db_printf() instead of printf() in db_dump_tlb_cmd() and trapDump(), soMiod Vallat
that the output can be paused by ddb if it spans too many lines.
2010-01-21Pick the correct year when reading clock.Miod Vallat
2010-01-21Use ahci_nvidia_mcp_attach() for nvidia MCP79 ("Ion"), without whichStuart Henderson
the driver fails to detect disks. From Wouter Coene, ok jsg@
2010-01-20One \ too many in pfvar.h. From Daniel Dickman <didickman@gmail.com>Ryan Thomas McBride
ok otto
2010-01-20Fix collider offsets to correct LBA.Jordan Hargrave
Thanks to Niklas ok @marco
2010-01-20Remove horrible hack in ahc/ahd that made some commands retryKenneth R Westerback
endlessly. Use the shiny new XS_NO_CCB instead to retry commands that can't start. Neither dlg@ nor I can figure out why 4.6 and earlier worked. Problem noted, debugged with and fix tested by Jeff Ross and his new external enclosure. Thanks! ok dlg@
2010-01-19Compute the right value for hw.ncpusfound sysctl on IP30 regardless of theMiod Vallat
value of MAXCPUS.
2010-01-19IP checksum is still broken with fragments, turn it off for now.Reyk Floeter
ok dlg@
2010-01-19A couple #ifdefs were missed when the final name of the DDB_STRUCTPhilip Guenthe
option was settled on. Fix those last couple so that the new commands are actually accessible. "Oops" miod@
2010-01-18Convert pf debug logging to using log()/addlog(), a single standardisedRyan Thomas McBride
definition of DPFPRINTF(), and log priorities from syslog.h. Old debug levels will still work for now, but will eventually be phased out. discussed with henning, ok dlg
2010-01-18regen, even though there is no code change, such that the RCS IDs match,Ingo Schwarze
as suggested by art@
2010-01-18fix a spelling error in a comment, no code change; from Brad TilleyIngo Schwarze
ok miod@ art@
2010-01-18In stacktrace(), when aborting a traceback because of nonsensical pc or spMiod Vallat
value, don't print a final bogus traceback line.
2010-01-18Kernel configuration for multiprocessor Octane machines. There are a fewMiod Vallat
rough edges left to be polished, but the kernel is otherwise stable.
2010-01-18Do not call splx() from cpu_switchto(), we are at IPL_SCHED anyway and ipl willMiod Vallat
be lowered later, by the caller. This was supposed to be harmless, but newly created processes inherit a bogus level from proc0, which in turn causes a race on MULTIPROCESSOR kernel.
2010-01-18In the interrupt handler, only attempt to acquire kernel_lock if coming fromMiod Vallat
an ipl lower than IPL_SCHED, not IPL_IPI.
2010-01-18dosoftint() being invoked at IPL_SOFTINT, don't bother checking the ipl beforeMiod Vallat
grabbing the kernel lock.
2010-01-18Define IPL_SCHED as IPL_CLOCK, not IPL_HIGH.Miod Vallat
2010-01-18In proc_trampoline(), don't spl0() if option MULTIPROCESSOR; this is alreadyMiod Vallat
done for us by proc_trampoline_mp().
2010-01-18Make trapdebug code MP-safe.Miod Vallat
2010-01-17Remove dead assignment and newly created unused variable.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok otto@ krw@ tedu@
2010-01-17Remove dead assignment and newly created unused variable.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok tedu@ krw@
2010-01-16Merge db_stack_trace_print() and stacktrace() logic, and have the formerMiod Vallat
invoke the latter to avoid duplicating code. Fix the logic by looking for `sd' instructions for register saves only, and read the whole 64-bit value then. Makes the backtraces less wrong.
2010-01-16Fix types so that the upper 32 bits of addresses of branches are correct.Miod Vallat
2010-01-16Remove dead assignment and newly created unused variable.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok tedu@ thib@
2010-01-16rename bluetooth coexistence flags. no binary change.Damien Bergamini
2010-01-16Enable DC calibration and disable crystal calibration onDamien Bergamini
Centrino Advanced-N 6250 parts.
2010-01-16When allocating from the item header pool, we can't sleep, as we may be ↵Ted Unangst
holding a mutex which won't be released. From Christian Ehrhardt. While here, fix another buglet: no need to pass down PR_ZERO either, as noticed by blambert@.
2010-01-15Replace pool_get() + bzero() with pool_get(..., PR_ZERO).Charles Longeau
With input from oga@ and krw@ ok oga@ krw@ thib@ markus@ mk@
2010-01-15syncIgor Sobrado
2010-01-15Add support to sysconf(3) for the variables _SC_NPROCESSORS_CONF andStuart Henderson
_SC_NPROCESSORS_ONLN, implemented by AIX/Tru64/Solaris/Linux/SCO/FreeBSD/NetBSD. Bump libc minor. From Brad, ok deraadt@ guenther@ (File missing from previous commit, pointed out by johan@ - thanks!)
2010-01-15add `Logitech Webcam C200' to the list of supported uvideo(4) devices.Igor Sobrado
ok sthen@
2010-01-15Oops. Respect the various IGNORE flags when not in SCSIDEBUG mode.Kenneth R Westerback
Should quieten booting again. And thus ends n2k10.
2010-01-15Abstract and merge the manual buf queue manipulating functions intoKenneth R Westerback
one place for easier debugging and maintenance. No intended functional changes. ok dlg@
2010-01-15Restore XS_BUSY delay behaviour for buf i/o. Same as for sync path.Kenneth R Westerback
ok dlg@