kernel_optimize_test/drivers/vfio/pci
Alex Williamson 899649b7d4 vfio: Fix PCI INTx disable consistency
The virq_disabled flag tracks the userspace view of INTx masking
across interrupt mode changes, but we're not consistently applying
this to the interrupt and masking handler notion of the device.
Currently if the user sets DisINTx while in MSI or MSIX mode, then
returns to INTx mode (ex. rebooting a qemu guest), the hardware has
DisINTx+, but the management of INTx thinks it's enabled, making it
impossible to actually clear DisINTx.  Fix this by updating the
handler state when INTx is re-enabled.

Cc: stable@vger.kernel.org
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2012-10-10 09:10:32 -06:00
..
Kconfig
Makefile
vfio_pci_config.c
vfio_pci_intrs.c vfio: Fix PCI INTx disable consistency 2012-10-10 09:10:32 -06:00
vfio_pci_private.h
vfio_pci_rdwr.c
vfio_pci.c vfio: Fix PCI mmap after b3b9c293 2012-10-10 09:10:31 -06:00