diff options
author | Vasant Hegde <[email protected]> | 2023-09-21 09:21:46 +0000 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2023-09-25 12:39:06 +0200 |
commit | eda8c2860ab6799620c6fbb8600d56e32f437a90 (patch) | |
tree | 8f971c67a1bb93658218ca750b1b8e55fafe054b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 92e2bd56a5f9fc44313fda802a43a63cc2a9c8f6 (diff) |
iommu/amd: Enable device ATS/PASID/PRI capabilities independently
Introduce helper functions to enable/disable device ATS/PASID/PRI
capabilities independently along with the new pasid_enabled and
pri_enabled variables in struct iommu_dev_data to keep track,
which allows attach_device() and detach_device() to be simplified.
Co-developed-by: Suravee Suthikulpanit <[email protected]>
Signed-off-by: Suravee Suthikulpanit <[email protected]>
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