freebsd-dev/sys/x86/xen
Roger Pau Monné 544b31a3e3 xen/intr: fix fallout from r278854
r278854 introduced a race in the event channel handling code. We must make
sure that the pending bit is cleared before executing the filter, or else we
might miss other events that would be injected after the filter has ran but
before the pending bit is cleared.

While there also mask event channels while FreeBSD executes the ithread
bound to that event channel. This refrains Xen from injecting more
interrupts while the ithread has not finished it's work.

Sponsored by: Citrix Systems R&D
Reported by: sbruno, robak
Tested by: robak
2015-02-26 16:05:09 +00:00
..
hvm.c xen: implement the privcmd user-space device 2014-10-22 17:07:20 +00:00
pv.c loader: fix the size of MODINFOMD_MODULEP 2015-01-20 12:28:24 +00:00
pvcpu_enum.c xen/intr: improve handling of legacy IRQs 2015-02-16 16:37:59 +00:00
xen_apic.c Add x2APIC support. Enable it by default if CPU is capable. The 2015-02-09 21:00:56 +00:00
xen_intr.c xen/intr: fix fallout from r278854 2015-02-26 16:05:09 +00:00
xen_msi.c msi: add Xen MSI implementation 2014-09-30 16:46:45 +00:00
xen_nexus.c Fix warning about possible use of uninitialized variable. 2015-01-02 08:42:44 +00:00
xen_pci_bus.c xen: create a new PCI bus override 2014-12-09 18:03:25 +00:00
xenpv.c xen: convert the Grant-table code to a NewBus device 2014-12-10 11:35:41 +00:00