linux/drivers/xen/xen-pciback
Konrad Rzeszutek Wilk 7cfb905b96 xen/pciback: For XEN_PCI_OP_disable_msi[|x] only disable if device has MSI(X) enabled.
Otherwise just continue on, returning the same values as
previously (return of 0, and op->result has the PIRQ value).

This does not change the behavior of XEN_PCI_OP_disable_msi[|x].

The pci_disable_msi or pci_disable_msix have the checks for
msi_enabled or msix_enabled so they will error out immediately.

However the guest can still call these operations and cause
us to disable the 'ack_intr'. That means the backend IRQ handler
for the legacy interrupt will not respond to interrupts anymore.

This will lead to (if the device is causing an interrupt storm)
for the Linux generic code to disable the interrupt line.

Naturally this will only happen if the device in question
is plugged in on the motherboard on shared level interrupt GSI.

This is part of XSA-157

CC: stable@vger.kernel.org
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
2015-12-18 10:48:37 -05:00
..
conf_space_capability.c
conf_space_header.c xen-pciback: Add name prefix to global 'permissive' variable 2015-04-29 17:34:50 +01:00
conf_space_quirks.c
conf_space_quirks.h
conf_space.c xen-pciback: Add name prefix to global 'permissive' variable 2015-04-29 17:34:50 +01:00
conf_space.h xen-pciback: Add name prefix to global 'permissive' variable 2015-04-29 17:34:50 +01:00
Makefile
passthrough.c xen/pciback: Don't deadlock when unbinding. 2014-12-04 12:41:58 +00:00
pci_stub.c xen/pciback: Don't print scary messages when unsupported by hypervisor. 2015-03-16 14:49:14 +00:00
pciback_ops.c xen/pciback: For XEN_PCI_OP_disable_msi[|x] only disable if device has MSI(X) enabled. 2015-12-18 10:48:37 -05:00
pciback.h xen/pciback: Save xen_pci_op commands before processing it 2015-12-18 10:00:47 -05:00
vpci.c xen/pciback: Don't deadlock when unbinding. 2014-12-04 12:41:58 +00:00
xenbus.c xenbus_client: Extend interface to support multi-page ring 2015-04-15 10:56:47 +01:00