diff options
author | Vasant Hegde <vasant.hegde@amd.com> | 2024-02-05 14:56:04 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2024-02-09 15:16:24 +0300 |
commit | 7b4e5623d8e4f1475b7deac42035d0129fb36ed0 (patch) | |
tree | ac0e284ea933d66f455e0b77cb5c6190771c365c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | b7731065523048276a80c8e16120208153438930 (diff) | |
download | linux-7b4e5623d8e4f1475b7deac42035d0129fb36ed0.tar.xz |
iommu/amd: Use protection_domain.flags to check page table mode
Page table mode (v1, v2 or pt) is per domain property. Recently we have
enhanced protection_domain.pd_mode to track per domain page table mode.
Use that variable to check the page table mode instead of global
'amd_iommu_pgtable' in {map/unmap}_pages path.
Signed-off-by: Vasant Hegde <vasant.hegde@amd.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20240205115615.6053-7-vasant.hegde@amd.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions