Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-05-06 | garbage collect release_fpu() and synchronize_fpstate() | Martin Reindl | |
2007-05-06 | Whack "No counter-timer" message. These days, most UltraSPARC cpu's don't | Mark Kettenis | |
have one. ok deraadt@ | |||
2007-05-06 | do not fill RTAX_GATEWAY for RTM_DELETE, ok claudio | Henning Brauer | |
2007-05-06 | point the macros for the interrupt coalescing registers at the right | David Gwynne | |
location. they moved from what the doco says to somewhere else. pointed out by Nadav Shemer (thanks) | |||
2007-05-06 | at least always print a new line, even if NOPSS | Ted Unangst | |
2007-05-06 | More lockmgr -> rwlock low hanging fruit. | Kenneth R Westerback | |
ok dlg@ | |||
2007-05-06 | Add the mp setperf mechanism to AMD64, like its i386 counterpart it allows | Gordon Willem Klok | |
all cpus in a system supporting frequency and voltage scaling to be scaled by the same amount corresponding to the user (or apmd on their behalf) performance level. This diff also teaches amd64 about acpi_hasprocfvs (ACPI has processor frequency and voltage scaling). It also moves initilization of the underlying setperf mechanism such as powernow to mainbus from the cpu indentification and initilization code inspired by similar changes dim@ made to i386 durring h2k6. This is necessary to implement the AMD recommended method for retreiving p_state data from the ACPI _PSS object (a diff comming soon). It will also simplify the potential addition of enhanced speedstep as found on newer intel processors with EMT64 capable of running OpenBSD/amd64. MP setperf functionality verifed by myself and Johan M:son Lindman <tybolt AT solace DOT miun DOT se> on opteron 265 and 270 systems respectively. General testing done by many others thanks! ok tedu, dim | |||
2007-05-06 | typo | David Gwynne | |
2007-05-06 | bcd.c died | Theo de Raadt | |
2007-05-05 | simple single-processor only mutex implementation | Martin Reindl | |
ok miod@ | |||
2007-05-05 | Directly map IPL_xxx in terms of ALPHA_PSL_IPL_xxx values, and implement | Miod Vallat | |
splassert. ok art@ martin@ | |||
2007-05-05 | #include <sys/lock.h> not needed. i.e. these compile fine without it. | Kenneth R Westerback | |
2007-05-05 | malo_hexdump() is only used by code under MALO_DEBUG, so ifdef it | Jonathan Gray | |
ok mglocker@ claudio@ | |||
2007-05-05 | Remove axe_rxstart() which is an uneeded leftover from the FreeBSD version. | Jonathan Gray | |
2007-05-05 | move xl_detach() -- which is only used by cardbus -- to the cardbus code. | Theo de Raadt | |
ok jsg | |||
2007-05-05 | Kill disk_find and disk_resetstat that noone uses. If you ever need | Artur Grabowski | |
them, they are still in cvs. | |||
2007-05-05 | Properly ifdef debug bits to save a bit of space. | Jonathan Gray | |
ok reyk@ | |||
2007-05-05 | Define MUTEX_OLDIPL where they were missing, will be used (reasonably) shortly. | Miod Vallat | |
2007-05-05 | vn_access hasn't been used for ages and it's just a wrapper with | Artur Grabowski | |
locking around VOP_ACCESS. It can go. | |||
2007-05-05 | Simple single-processor only mutex implementation. | Miod Vallat | |
2007-05-05 | disable the interrupts on interface shutdown | Reyk Floeter | |
2007-05-05 | allocate dma memory, setup rx/tx/status rings, initialize the ring | Reyk Floeter | |
context, and enable interrupts. it is not yet ready - i still need to implement the rx/tx handlers, handle the producer/consumer ids, and make it work. | |||
2007-05-04 | lockmgr -> rwlock. | Kenneth R Westerback | |
"reads good" art@ ok marco@ | |||
2007-05-04 | when we are in ramdisk mode, we must also disable any previous mountroot | Theo de Raadt | |
setting that pre-setroot() code did (for instance a network boot) found by phessler, tested by reyk | |||
2007-05-04 | the hardware does checksumming on rx as well. mark the mbufs with what the | David Gwynne | |
hw says. | |||
2007-05-04 | Faster pmap_extract() code for pmap_kernel, from NetBSD. | Miod Vallat | |
2007-05-04 | advertise tx checksumming to the network stack, and tell the hardware to | David Gwynne | |
do it. | |||
2007-05-04 | more locc() dies | Theo de Raadt | |
2007-05-04 | increase the number of tx and rx descriptors from 64 to 128 each | David Gwynne | |
2007-05-04 | locc() is dead, spotted by miod | Theo de Raadt | |
2007-05-04 | move bcd tables to the only place that uses them (the unused mcd driver); | Theo de Raadt | |
ok miod | |||
2007-05-04 | call the right function to fill the rxf fifo after rxd | David Gwynne | |
2007-05-04 | disable debugging output | David Gwynne | |
2007-05-04 | put more rx descriptors back on the chip straight after we've taken some | David Gwynne | |
off. | |||
2007-05-04 | wrap the wptr round when we hit the end of the fifo. | David Gwynne | |
2007-05-04 | remove strcpy and strcat from the kernel; they are dead and unused code. | Reyk Floeter | |
(OpenBSD does not use strcat/strcpy in the kernel, if people do it in external modules they should update their code) ok deraadt@ | |||
2007-05-04 | make findblkmajor() and findblkname() MI; ok miod | Theo de Raadt | |
2007-05-04 | Remove dead code. | Artur Grabowski | |
2007-05-04 | firmload for nx as well | Jonathan Gray | |
2007-05-04 | bnx requires firmload | Jonathan Gray | |
2007-05-04 | Oops. Forgot to commit this part. | Artur Grabowski | |
We need to include lock_machdep even on non-MP kernels now for rw_cas. | |||
2007-05-04 | Kill a dead variable. | Artur Grabowski | |
Pointed out by thib@ | |||
2007-05-04 | Implement rw_cas for i386. | Artur Grabowski | |
It uses a function pointer to choose between the 386 and 486 versions. The 386 version is not MP safe, but we're not expecting MP support for 386 cpus. miod@ ok (and prodding) | |||
2007-05-04 | - Rename rw_test_and_set to rw_cas, since most litterature uses the | Artur Grabowski | |
test_and_set name for some other operation, while cas is generally used for compare and set (cmpxchg in intel land, cas in sparc land). - Make rw locks properly MP safe (provided that rw_cas is implemented in MD code). Most operations were MP safe except the sleep where we could have set the "I'm sleeping" flag before actually going to sleep so that the wakeup could miss us. Now, using the split tsleep, we first setup the sleep (put us on the sleep queues), then set the flag aborting the sleep if the lock has changed and then finally go to sleep. miod@ ok (and he's been prodding me for days to get this in) | |||
2007-05-04 | make carp's routing table modification attempts (imho broken by design) | Henning Brauer | |
at least exhibit routing messages so it does not confuse the userland routing daemons by routing table changes not reflected by messages on the routing socket. effect would be bgpd using wrong nexthops for example, in the worst case (that i actually ran into) blackholing traffic. ok reyk claudio "looks correct" miod | |||
2007-05-04 | Initialize the sis_timeout early in attach instead of sis_init. | Artur Grabowski | |
Sometimes we can can call timeout_del on it before we call sis_init. From mickey. art@ ok. | |||
2007-05-04 | Skip the kernel pmap when accounting for executability range changes. | Artur Grabowski | |
This could lead to some heavy problems if called from kernel threads (which is the only way to get past the next test with the kernel pmap). From mickey. art@ toby@ ok. | |||
2007-05-04 | when it does not compile we KNOW it was not tested. come on | Theo de Raadt | |
2007-05-04 | swap the port register table arrays to make it better readble and fix some | Reyk Floeter | |
register typos... on init, wait for the receive engine to be ready before setting up the descriptor rings. | |||
2007-05-04 | setroot() was a ugly mix of MI and MD code, with different bugs on different | Theo de Raadt | |
machines. Instead -- build one solid clean MI version, and thenchange all the architectures to use it. ok various people, tested on almost all cases. (it is a 10094 line diff..) |