linux_dsm_epyc7002/drivers/xen/xen-pciback
Konrad Rzeszutek Wilk 0513fe9e5b xen/pciback: Allocate IRQ handler for device that is shared with guest.
If the device that is to be shared with a guest is a level device and
the IRQ is shared with the initial domain we need to take actions.
Mainly we install a dummy IRQ handler that will ACK on the interrupt
line so as to not have the initial domain disable the interrupt line.

This dummy IRQ handler is not enabled when the device MSI/MSI-X lines
are set, nor for edge interrupts. And also not for level interrupts
that are not shared amongst devices. Lastly, if the user passes
to the guest all of the PCI devices on the shared line the we won't
install the dummy handler either.

There is also SysFS instrumentation to check its state and turn
IRQ ACKing on/off if necessary.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
2011-07-19 20:58:31 -04:00
..
conf_space_capability_msi.c xen/pciback: Allocate IRQ handler for device that is shared with guest. 2011-07-19 20:58:31 -04:00
conf_space_capability_pm.c xen/pciback: xen pci backend driver. 2011-07-19 20:58:01 -04:00
conf_space_capability_vpd.c xen/pciback: xen pci backend driver. 2011-07-19 20:58:01 -04:00
conf_space_capability.c xen/pciback: xen pci backend driver. 2011-07-19 20:58:01 -04:00
conf_space_capability.h xen/pciback: xen pci backend driver. 2011-07-19 20:58:01 -04:00
conf_space_header.c xen/pciback: Allocate IRQ handler for device that is shared with guest. 2011-07-19 20:58:31 -04:00
conf_space_quirks.c xen/pciback: xen pci backend driver. 2011-07-19 20:58:01 -04:00
conf_space_quirks.h xen/pciback: xen pci backend driver. 2011-07-19 20:58:01 -04:00
conf_space.c xen/pciback: Cleanup the driver based on checkpatch warnings and errors. 2011-07-19 20:58:28 -04:00
conf_space.h xen/pciback: xen pci backend driver. 2011-07-19 20:58:01 -04:00
controller.c xen/pciback: xen pci backend driver. 2011-07-19 20:58:01 -04:00
Makefile xen/pciback: xen pci backend driver. 2011-07-19 20:58:01 -04:00
passthrough.c xen/pciback: xen pci backend driver. 2011-07-19 20:58:01 -04:00
pci_stub.c xen/pciback: Allocate IRQ handler for device that is shared with guest. 2011-07-19 20:58:31 -04:00
pciback_ops.c xen/pciback: Allocate IRQ handler for device that is shared with guest. 2011-07-19 20:58:31 -04:00
pciback.h xen/pciback: Allocate IRQ handler for device that is shared with guest. 2011-07-19 20:58:31 -04:00
slot.c xen/pciback: xen pci backend driver. 2011-07-19 20:58:01 -04:00
vpci.c xen/pciback: xen pci backend driver. 2011-07-19 20:58:01 -04:00
xenbus.c xen/pciback: Register the owner (domain) of the PCI device. 2011-07-19 20:58:29 -04:00