From: Alex Williamson Date: Mon, 27 Jul 2020 19:43:37 +0000 (-0600) Subject: vfio/pci: Add Intel X550 to hidden INTx devices X-Git-Tag: v5.9-rc1~50^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bf3551e150e5a231ac60f2bd750f63ab5484010a;p=thirdparty%2Flinux.git vfio/pci: Add Intel X550 to hidden INTx devices Intel document 333717-008, "IntelĀ® Ethernet Controller X550 Specification Update", version 2.7, dated June 2020, includes errata #22, added in version 2.1, May 2016, indicating X550 NICs suffer from the same implementation deficiency as the 700-series NICs: "The Interrupt Status bit in the Status register of the PCIe configuration space is not implemented and is not set as described in the PCIe specification." Without the interrupt status bit, vfio-pci cannot determine when these devices signal INTx. They are therefore added to the nointx quirk. Cc: Jesse Brandeburg Signed-off-by: Alex Williamson --- diff --git a/drivers/vfio/pci/vfio_pci.c b/drivers/vfio/pci/vfio_pci.c index de881a6cff357..b0258b79bb5bc 100644 --- a/drivers/vfio/pci/vfio_pci.c +++ b/drivers/vfio/pci/vfio_pci.c @@ -207,6 +207,8 @@ static bool vfio_pci_nointx(struct pci_dev *pdev) case 0x1580 ... 0x1581: case 0x1583 ... 0x158b: case 0x37d0 ... 0x37d2: + /* X550 */ + case 0x1563: return true; default: return false;