summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2017-06-13 11:22:57 -0400
committerAlex Williamson <alex.williamson@redhat.com>2017-06-13 11:22:57 -0400
commit7d57e5e933674c116e46f30eee7629c20f9073da (patch)
tree2f7aefa406a4a0564864f5fe493f8c82ce0b7f8b /drivers
parent32c1431eea4881a6b17bd7c639315010aeefa452 (diff)
vfio/pci: Add Intel XXV710 to hidden INTx devices
XXV710 has the same broken INTx behavior as the rest of the X/XL710 series, the interrupt status register is not wired to report pending INTx interrupts, thus we never associate the interrupt to the device. Extend the device IDs to include these so that we hide that the device supports INTx at all to the user. Reported-by: Stefan Assmann <sassmann@redhat.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Acked-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/vfio/pci/vfio_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/vfio/pci/vfio_pci.c b/drivers/vfio/pci/vfio_pci.c
index 324c52e3a1a4..063c1ce6fa42 100644
--- a/drivers/vfio/pci/vfio_pci.c
+++ b/drivers/vfio/pci/vfio_pci.c
@@ -195,11 +195,11 @@ static bool vfio_pci_nointx(struct pci_dev *pdev)
195 switch (pdev->vendor) { 195 switch (pdev->vendor) {
196 case PCI_VENDOR_ID_INTEL: 196 case PCI_VENDOR_ID_INTEL:
197 switch (pdev->device) { 197 switch (pdev->device) {
198 /* All i40e (XL710/X710) 10/20/40GbE NICs */ 198 /* All i40e (XL710/X710/XXV710) 10/20/25/40GbE NICs */
199 case 0x1572: 199 case 0x1572:
200 case 0x1574: 200 case 0x1574:
201 case 0x1580 ... 0x1581: 201 case 0x1580 ... 0x1581:
202 case 0x1583 ... 0x1589: 202 case 0x1583 ... 0x158b:
203 case 0x37d0 ... 0x37d2: 203 case 0x37d0 ... 0x37d2:
204 return true; 204 return true;
205 default: 205 default: