aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iommu
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2020-08-05 18:24:17 -0500
committerBjorn Helgaas <bhelgaas@google.com>2020-08-05 18:24:17 -0500
commit6585a1a14ed0ace5a3ec0f8cab3bd227864877e9 (patch)
tree7cc13b3cd27e369d7ae3557318cd45e1923cf99e /drivers/iommu
parentMerge branch 'pci/peer-to-peer' (diff)
parentPCI: Release IVRS table in AMD ACS quirk (diff)
downloadlinux-dev-6585a1a14ed0ace5a3ec0f8cab3bd227864877e9.tar.xz
linux-dev-6585a1a14ed0ace5a3ec0f8cab3bd227864877e9.zip
Merge branch 'pci/virtualization'
- Remove redundant variable init in xen (Colin Ian King) - Add pci_pri_supported() to check device or associated PF for PRI support (Ashok Raj) - Mark AMD Navi10 GPU rev 0x00 ATS as broken (Kai-Heng Feng) - Release IVRS table in AMD ACS quirk (Hanjun Guo) * pci/virtualization: PCI: Release IVRS table in AMD ACS quirk PCI: Mark AMD Navi10 GPU rev 0x00 ATS as broken PCI/ATS: Add pci_pri_supported() to check device or associated PF xen: Remove redundant initialization of irq
Diffstat (limited to 'drivers/iommu')
-rw-r--r--drivers/iommu/intel/iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/intel/iommu.c b/drivers/iommu/intel/iommu.c
index d23ce26b8833..13110482553d 100644
--- a/drivers/iommu/intel/iommu.c
+++ b/drivers/iommu/intel/iommu.c
@@ -2554,7 +2554,7 @@ static struct dmar_domain *dmar_insert_one_dev_info(struct intel_iommu *iommu,
}
if (info->ats_supported && ecap_prs(iommu->ecap) &&
- pci_find_ext_capability(pdev, PCI_EXT_CAP_ID_PRI))
+ pci_pri_supported(pdev))
info->pri_supported = 1;
}
}