diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-03-23 21:18:43 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-03-23 21:18:43 +0300 |
commit | 095fe49fd559f0b98e4cb396e235d32909a0eacc (patch) | |
tree | 681a2935bab9a0e7beff03fd9d1725531b554af9 /drivers | |
parent | a580657ad7dc1f4c7e98cc1450c961dccfc52aab (diff) | |
parent | 834814e80268c818f354c8f402e0c6604ed75589 (diff) | |
download | linux-095fe49fd559f0b98e4cb396e235d32909a0eacc.tar.xz |
Merge tag 'vfio-v4.16-rc7' of git://github.com/awilliam/linux-vfio
Pull VFIO fix from Alex Williamson:
"Revert masking INTx where it cannot be enabled - it plays poorly with
SR-IOV VFs and presumes DisINTx support"
* tag 'vfio-v4.16-rc7' of git://github.com/awilliam/linux-vfio:
Revert: "vfio-pci: Mask INTx if a device is not capabable of enabling it"
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/vfio/pci/vfio_pci.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/vfio/pci/vfio_pci.c b/drivers/vfio/pci/vfio_pci.c index b0f759476900..8a1508a8e481 100644 --- a/drivers/vfio/pci/vfio_pci.c +++ b/drivers/vfio/pci/vfio_pci.c @@ -207,9 +207,6 @@ static bool vfio_pci_nointx(struct pci_dev *pdev) } } - if (!pdev->irq) - return true; - return false; } |