Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

iommu/vt-d: Don't skip PCI devices when disabling IOTLB

Fix a simple typo when disabling IOTLB on PCI(e) devices.

Fixes: b16d0cb9e2fc ("iommu/vt-d: Always enable PASID/PRI PCI capabilities before ATS")
Cc: stable@vger.kernel.org # v4.4
Signed-off-by: Jeremy McNicoll <jmcnicol@redhat.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>

authored by

Jeremy McNicoll and committed by
Joerg Roedel
da972fb1 8f6aff98

+1 -1
+1 -1
drivers/iommu/intel-iommu.c
··· 1489 1489 { 1490 1490 struct pci_dev *pdev; 1491 1491 1492 - if (dev_is_pci(info->dev)) 1492 + if (!dev_is_pci(info->dev)) 1493 1493 return; 1494 1494 1495 1495 pdev = to_pci_dev(info->dev);