diff options
author | Vasant Hegde <vasant.hegde@amd.com> | 2024-10-28 12:38:06 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2024-10-29 12:08:21 +0300 |
commit | a005ef62f9922ae023aec63d673217486656b6bc (patch) | |
tree | c505be469c51004b351c359d853af4fefb1a96f8 /tools/perf/scripts/python/flamegraph.py | |
parent | b3c989083dabab472eb766d59b1d1fb9f11495d6 (diff) | |
download | linux-a005ef62f9922ae023aec63d673217486656b6bc.tar.xz |
iommu/amd: Pass page table type as param to pdom_setup_pgtable()
Current code forces v1 page table for UNMANAGED domain and global page
table type (amd_iommu_pgtable) for rest of paging domain.
Following patch series adds support for domain_alloc_paging() ops. Also
enhances domain_alloc_user() to allocate page table based on 'flags.
Hence pass page table type as parameter to pdomain_setup_pgtable(). So
that caller can decide right page table type. Also update
dma_max_address() to take pgtable as parameter.
Signed-off-by: Vasant Hegde <vasant.hegde@amd.com>
Reviewed-by: Jacob Pan <jacob.pan@linux.microsoft.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20241028093810.5901-9-vasant.hegde@amd.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions