diff options
author | Vasant Hegde <[email protected]> | 2024-10-28 09:38:05 +0000 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2024-10-29 10:08:21 +0100 |
commit | b3c989083dabab472eb766d59b1d1fb9f11495d6 (patch) | |
tree | 8838d62e970d3e4a361fedb93ab6ca99f04ca5f7 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | d15f55d645a8d8235593aa888d76a694c73e391c (diff) |
iommu/amd: Separate page table setup from domain allocation
Currently protection_domain_alloc() allocates domain and also sets up
page table. Page table setup is required for PAGING domain only. Domain
type like SVA doesn't need page table. Hence move page table setup code
to separate function.
Also SVA domain allocation path does not call pdom_setup_pgtable().
Hence remove IOMMU_DOMAIN_SVA type check.
Signed-off-by: Vasant Hegde <[email protected]>
Reviewed-by: Jacob Pan <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions