Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-12-18 | document power capacity units. from david higgs | Ted Unangst | |
then change everything from mu to u, as more traditional. ok deraadt | |||
2014-12-18 | only unroll on i386 and amd64 (where confirmed to be much faster). | Ted Unangst | |
naddy found sparc64 gets a little slower when unrolled. ok deraadt | |||
2014-12-18 | use suspend_randomness() and resume_randomness() | Theo de Raadt | |
2014-12-18 | Wrap more of these long lines. | Reyk Floeter | |
2014-12-18 | wrap unreasonably long lines | Theo de Raadt | |
2014-12-18 | The VM host might send multiple messages at once but vmt(4) only | Reyk Floeter | |
processed one of time per second. Change the code to process all queued messages without delay immediately. This fixes two things: a) the vmt time sensor is available on boot when ntpd -s is loaded and b) the random seeding on resume (OS_Resume message) is executed almost immediately and not delayed by about 20 seconds. ok deraadt@ | |||
2014-12-18 | use siphash for pf_lb. for ipv6, we stretch it out a bit, but good enough. | Ted Unangst | |
ok reyk | |||
2014-12-18 | perform cpu setperf at same position in sequence as acpi.c | Theo de Raadt | |
2014-12-18 | suspend & resume RNG subsystem | Theo de Raadt | |
2014-12-18 | suspend and resume the RNG (at what looks like the right spots) | Theo de Raadt | |
ok reyk djm | |||
2014-12-18 | When a VM resume occurs, request information from the VM and enqueue as | Theo de Raadt | |
entropy - then do a RNG resume. If the VM signals a boot/reboot/suspend action, push the RNG into suspend. ok reyk djm | |||
2014-12-18 | Create a suspend/resume infrastructure for the RNG. At suspend time, | Theo de Raadt | |
process all queued entropy and create a brand new pool to prevent backtracking upon resume. At resume time, process the entropy queue (since other resume code paths which run earlier can enqueue entropy) and force all higher to reseed. ok reyk djm | |||
2014-12-18 | If support is present, use rdrand() at resume time. Make the rdrand() | Theo de Raadt | |
function easier to call. ok reyk djm | |||
2014-12-18 | Change the link state change routing message generation to a taskq. | Kenneth R Westerback | |
One less workq to worry about. Tweaks from many. ok mpi@ mikeb@ | |||
2014-12-18 | Merge from NetBSD r1.54 from Matthias Drochner: | Martin Pieuchot | |
-- kick out the error-prone handcrafted single-linked list of cardbus functions; replace by a simple *array[8] -- In other words, prevent a use after free when removing a cardbus function. ok deraadt@, miod@ | |||
2014-12-18 | ansi function prototypes. no functional change. | David Gwynne | |
2014-12-18 | white space tweaks, no functional change. | David Gwynne | |
2014-12-18 | replace splhigh and a simplelock with a mutex. | David Gwynne | |
slight tweak and testing by deraadt@ ok miod@ | |||
2014-12-18 | If a host controller has been detached or reported a halt condition it | Martin Pieuchot | |
should be considered as dead. In such condition the stack no longer submits I/O or schedules any USB task for its bus. However we need an explore task to detach the root hub since only the task thread is supposed to discover buses and attach/detach devices in order to avoid races. So reset the bus' dying flag when marking it as disconnecting in order to let the task be scheduled. This should be safe because a detached or halted HC should not trigger any new interrupt. Fix a panic when detaching USB PCMCIA cards reported by Tilo Stritzky. | |||
2014-12-18 | Unmap the MP hatch and ACPI resume trampolines when not in active use. | Mike Larkin | |
ok deraadt@ | |||
2014-12-17 | remove lock.h from uvm_extern.h. another holdover from the simpletonlock | Ted Unangst | |
era. fix uvm including c files to include lock.h or atomic.h as necessary. ok deraadt | |||
2014-12-17 | unroll loops for sha2. quite a bit faster for amd64. | Ted Unangst | |
ok deraadt millert | |||
2014-12-17 | minimal removal of simplelock to eliminate lock.h dependency | Ted Unangst | |
2014-12-17 | fix/reduce header dependencies. clock.c doesn't need any of this uvm. | Ted Unangst | |
ok deraadt kettenis | |||
2014-12-17 | Avoid premature masking in the interrupt handler code that checks for removed | Mark Kettenis | |
hardware. ok mpi@, deraadt@ | |||
2014-12-17 | remove simplelocks (trivial) | Theo de Raadt | |
2014-12-17 | delete simplelocks | Theo de Raadt | |
2014-12-17 | remove simplelocks | Theo de Raadt | |
ok tedu | |||
2014-12-17 | pretty easy removal of simplelocks | Theo de Raadt | |
ok miod (a while back) | |||
2014-12-17 | remove simplelocks | Theo de Raadt | |
ok kettenis | |||
2014-12-17 | remove simplelocks use | Theo de Raadt | |
ok kettenis mpi | |||
2014-12-17 | Remove the "multicast_" prefix from the fields a multicast-only struct. | Martin Pieuchot | |
Prodded by claudio@ and mikeb@ | |||
2014-12-17 | Use an interface index instead of a pointer for multicast options. | Martin Pieuchot | |
Output interface (port) selection for multicast traffic is not done via route lookups. Instead the output ifp is registred when setsockopt(2) is called with the IP{V6,}_MULTICAST_IF option. But since there is no mechanism to invalidate such pointer stored in a pcb when an interface is destroyed/removed, it might lead your kernel to fault. Prevent a fault upon resume reported by frantisek holop, thanks! ok mikeb@, claudio@ | |||
2014-12-17 | Prefer MADV_* over POSIX_MADV_* in kernel for consistency: the latter | Philip Guenther | |
doesn't have all the values and therefore can't be used everywhere. ok deraadt@ kettenis@ | |||
2014-12-17 | delete archaic simplelock use. | Theo de Raadt | |
ok miod | |||
2014-12-17 | Do as the datasheet recommends and disable the RX filter before adjusting | Brad Smith | |
the RX filter. From FreeBSD | |||
2014-12-16 | Temporarily expand the pci memory range to suit Dell 13G servers. | Jonathan Matthew | |
They have devices outside the 36 bit range that their firmware needs to talk to, and they get constant acpi interrupts if it can't. We should get the necessary ranges via ACPI, but for now just make the allowed range bigger. ok kettenis@ deraadt@ | |||
2014-12-16 | don't include lock.h by default. poisons namespace. ok deraadt | Ted Unangst | |
2014-12-16 | Do not grab the kernel lock for clock interrupts, hardclock() will behave | Miod Vallat | |
correctly without. Modeled after sparc64 logic. | |||
2014-12-16 | must include lock.h to play with locks | Ted Unangst | |
2014-12-16 | these headers do not need to (and should not) include lock.h poisoning | Ted Unangst | |
the namespace. ok deraadt | |||
2014-12-16 | include atomic.h to get atomic operations (virtio_membar). ok sf | Ted Unangst | |
2014-12-16 | Define and print HV cpuid flag. | Stefan Fritsch | |
This is set by many hypervisors, including kvm, vmware, hyper-v. | |||
2014-12-16 | must include lock.h if you want to play with locks | Ted Unangst | |
2014-12-16 | only need lock.h here, not all of uvm_extern.h | Ted Unangst | |
2014-12-16 | primary change: move uvm_vnode out of vnode, keeping only a pointer. | Ted Unangst | |
objective: vnode.h doesn't include uvm_extern.h anymore. followup changes: include uvm_extern.h or lock.h where necessary. ok and help from deraadt | |||
2014-12-16 | Protect memory allocation and disposal with splvm(); gets rid of splassert | Miod Vallat | |
complaints during boot on i386. ok stsp@ | |||
2014-12-15 | don't drop the kernel lock everytime. on a busy system, this results in | Ted Unangst | |
the reaper spending more than half its time in uvm_pause. we want the system to be interactive, but we want throughput too. this seems like a decent balance. | |||
2014-12-15 | Consistency with the pci_intr_map bits. | Brad Smith | |
ok sf@ | |||
2014-12-15 | Stop using usb_{alloc,free}mem() for the rings and internal structures. | Martin Pieuchot | |
Since xhci(4) does not allocate memory for its rings in interrupt context, it has no use for the free lists offered by the USB memory allocator. Using bus_dmamem_alloc(9) and friends also allows us to respect the boundary requirement for the various structures specified in Table 54. While here make use of defines for every alignment and boundary requirements which are different than a page size. |