aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAshok Raj <[email protected]>2020-07-23 15:37:29 -0700
committerBjorn Helgaas <[email protected]>2020-07-24 09:50:41 -0500
commit3f9a7a13fe4cb6e119e4e4745fbf975d30bfac9b (patch)
tree35ee302aafcea3a116d369053c878bcbfbb4b09f /tools/perf/scripts/python/export-to-sqlite.py
parent1c026a18d40bdd904d3ae1f7737cd08b376286d6 (diff)
PCI/ATS: Add pci_pri_supported() to check device or associated PF
For SR-IOV, the PF PRI is shared between the PF and any associated VFs, and the PRI Capability is allowed for PFs but not for VFs. Searching for the PRI Capability on a VF always fails, even if its associated PF supports PRI. Add pci_pri_supported() to check whether device or its associated PF supports PRI. [bhelgaas: commit log, avoid "!!"] Fixes: b16d0cb9e2fc ("iommu/vt-d: Always enable PASID/PRI PCI capabilities before ATS") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ashok Raj <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Lu Baolu <[email protected]> Acked-by: Joerg Roedel <[email protected]> Cc: [email protected] # v4.4+
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions