aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorVasant Hegde <[email protected]>2023-09-21 09:21:47 +0000
committerJoerg Roedel <[email protected]>2023-09-25 12:39:07 +0200
commit7016b3005547bae3ba4577980db0ede53a79784a (patch)
treea58a256cd9efab09bdd0eb6245c7f30a03b299cb /tools/perf/scripts/python/export-to-postgresql.py
parenteda8c2860ab6799620c6fbb8600d56e32f437a90 (diff)
iommu/amd: Initialize iommu_device->max_pasids
Commit 1adf3cc20d69 ("iommu: Add max_pasids field in struct iommu_device") introduced a variable struct iommu_device.max_pasids to track max PASIDS supported by each IOMMU. Let us initialize this field for AMD IOMMU. IOMMU core will use this value to set max PASIDs per device (see __iommu_probe_device()). Also remove unused global 'amd_iommu_max_pasid' variable. Signed-off-by: Vasant Hegde <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Reviewed-by: Jerry Snitselaar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions