Age | Commit message (Collapse) | Author |
|
This increases performance for interrupt heavy loads.
While suspend/resume support for MSI-X is missing, this is also missing for
virtio. So no new issue there.
Currently, qemu's old "82441FX" pci-bridge is still blacklisted for MSI. But
MSI-X is used if qemu is started with "-M q35".
|
|
|
|
They are unused and equivalent to disableintr() and setsr().
While here, clean up a few other leftovers.
|
|
s/names are this level/names at this level/
from aalm@ - thanks
|
|
ok jsg@
|
|
are handled during cpu hatch.
|
|
list storage size. Noticed when attempting to get vmm(4) to nest under
Hyper-V.
|
|
anyway due to a missing #include.
the code was originally intended to handle i386 SMP EISA machines with an
IOAPIC. Since the code never was compiled, and nobody has noticed or
complained for 12 years, I think things are probably fine.
|
|
|
|
clkbase to be set to 0 (if it wasn't all commented out anyway).
ok patrick@
|
|
ok krw@
|
|
"another leftover of the bean counter"
od tedu@ deraadt@
|
|
issues can be worked out, otherwise this driver will cause the
kernel to spin forever on certain chromebooks
|
|
|
|
This prevents from too small amaps being allocated by
forcing the allocation of a large number of slots.
Based on an analysis from Jesse Hertz and Tim Newsham.
ok kettenis@
|
|
program to call the mount/umount system calls. There is no way any user
can be expected to keep their system safe / reliable with this feature.
Ignore setting to =1, and after release we'll delete the sysctl entirely.
ok lots of people
|
|
destination as per RFC4213.
We're not in 1999 anymore, what was earlier a "stronger check than
RFC1933" is now a best practice. This matches the behavior of the
reject (R) routes added by default by netstart(8).
ok jca@, florian@, claudio@, bluhm@
|
|
PHYs based on device tree properties instead of the board ID. Untested as
I don't have the hardware.
ok jsg@, patrick@
|
|
removed from the table.
Currently the storage for L2 addresses is freed when an entry is
removed from the table. That means that we cannot access this
chunk of memory between RTM_DELETE and rtfree(9).
Note that this doesn't apply to MPLS because the associated storage
is currently released by the last rtfree(9).
ok mikeb@
|
|
The only way to ensure that the device does not do DMA for the timed out
request is a device reset.
Also increase the timeout to 15s
|
|
This describes more accurately what it is good for.
Also introduce a virtio_poll_intr macro.
|
|
For MSI-X (and also possibly for other transports), the interrupt
handler must do different things. Move it out of virtio.c and into
virtio_pci.
ARM part tested by patrick@
|
|
ok millert@ kettenis@
|
|
ok tedu@
|
|
permitted very big mallocs to panic the kernel.
reported by Tim Newsham
ok millert@
|
|
quirk: uint64 to int32 truncation can lead to false positives, and then
later in the array sizing code, very big mallocs panic the kernel.
add a check that the ident isn't larger than INT_MAX in the fd case.
reported by Tim Newsham
|
|
Network VSC is an RNDIS device using NVSP protocol to communicate
with the Hyper-V VMBus via VMBus channels and/or shared memory. The
code was ported from FreeBSD with some API changes and simplifications.
While the Rx path is nearly complete, packet transmition is not
implemented yet.
ok deraadt, mlarkin
|
|
of the memory address and length information. The root node passes
this information down to the children and it can be overwritten by
other nodes inbetween. Pass these properties as part of the fdt
attach args, so that we can grab that information quickly inside
the drivers.
ok kettenis@
|
|
memory if the file backing the mapping is truncated, we should check resource
limits. This prevents callers from triggering a kernel panic and a potential
integer overflow in the amap code by forcing the allocation of too many slots.
Based on an analysis from Jesse Hertz and Tim Newsham.
ok deraadt@
|
|
wrong.
|
|
triggered by updating a cached, but removed from the table, entry is
properly fixed.
Diff from dlg@, prodding deraadt@
|
|
memory if the file backing the mapping is truncated, we should check resource
limits. This prevents callers from triggering a kernel panic and a potential
integer overflow in the amap code by forcing the allocation of too many slots.
Based on an analysis from Jesse Hertz and Tim Newsham.
ok deraadt@
|
|
from tom
|
|
from tom
|
|
bus. For this only supports "fixed" regulators that are controlled through a
gpio. But this covers all the case we currently handle with board ID specific
code. Note that the old code did explicitly remove power first on some boards,
which would reset bus-powered devices/hubs on the bus. The new code doesn't do
this. If that causes problems we can revisit the issue. The boards that would
be affected are sabrelight/nitrogen6x and utilite.
The plan is to evolve this into a generic regulator framework that supports
more complex regulator types as well.
ok jsg@, patrick@
|
|
instead of abusing RTF_CLONING.
Fix a leak reporeted by Aaron Riekenberg on misc@, ok sthen@
|
|
need to do it again.
|
|
this makes it more consistent with arp, and makes expiries visible
via route(8) get as well as ndp(8).
ok mpi@ florian@
|
|
ok kettenis@
|
|
Fixes a crash when MNT_DOOMED is passed in the flags to unmount(2)
found by NCC Group. OK bluhm@
|
|
such that we can don't end up with conflicting attachments of other
SoC-specific glue code.
|
|
|
|
such that we can don't end up with conflicting attachments of other
SoC-specific glue code.
ok jsg@, patrick@
|
|
time investigating and arguing about whether a NULL fp is a bug or not,
but what has become clear is that NULL fps get passed to unp_discard
and have been for quite some time.
restore old accomodating behavior by checking for null in unp_gc.
ok deraadt kettenis
|
|
for chroot'd processes.
ok stefan semarie
|
|
input handlers.
ok dlg@
|
|
|
|
reported by Tim Newsham at NCC.
ok millert natano
|
|
ok semarie
|
|
hardcoding particular gpios based on board IDs.
ok visa@, jsg@
|