diff options
author | Jason Gunthorpe <jgg@nvidia.com> | 2025-01-10 19:35:02 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2025-01-17 10:59:29 +0300 |
commit | 55b237dd7f7ec2ee9c7986e0fc28c5867bf63282 (patch) | |
tree | 8736323734d8cd993549431090277365386b28b4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 02bcd1a8b991c6fc29271fa02250bea1b61fb742 (diff) | |
download | linux-55b237dd7f7ec2ee9c7986e0fc28c5867bf63282.tar.xz |
iommu/amd: Remove type argument from do_iommu_domain_alloc() and related
do_iommu_domain_alloc() is only called from
amd_iommu_domain_alloc_paging_flags() so type is always
IOMMU_DOMAIN_UNMANAGED. Remove type and all the dead conditionals checking
it.
IOMMU_DOMAIN_IDENTITY checks are similarly obsolete as the conversion to
the global static identity domain removed those call paths.
The caller of protection_domain_alloc() should set the type, fix the miss
in the SVA code.
Reviewed-by: Vasant Hegde <vasant.hegde@amd.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/4-v2-9776c53c2966+1c7-amd_paging_flags_jgg@nvidia.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions