linux/drivers/vfio
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
..
pci vfio: Fix PCI INTx disable consistency 2012-10-10 09:10:32 -06:00
Kconfig vfio: Add PCI device driver 2012-07-31 08:16:24 -06:00
Makefile vfio: Type1 IOMMU implementation 2012-07-31 08:16:23 -06:00
vfio_iommu_type1.c vfio: Type1 IOMMU implementation 2012-07-31 08:16:23 -06:00
vfio.c switch simple cases of fget_light to fdget 2012-09-26 22:20:08 -04:00