diff options
author | Jason Gunthorpe <[email protected]> | 2024-04-11 14:12:11 -0300 |
---|---|---|
committer | Will Deacon <[email protected]> | 2024-04-18 15:32:38 +0100 |
commit | d75d7dc26f29141fe31167c5414605d4087f0abb (patch) | |
tree | 0096a289140a89733bae42edb1e99b78ec6bc364 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e8e4398d53f98be7ac48e0bda9ea6e26df24136d (diff) |
iommu/arm-smmu: Convert to domain_alloc_paging()
Now that the BLOCKED and IDENTITY behaviors are managed with their own
domains change to the domain_alloc_paging() op.
The check for using_legacy_binding is now redundant,
arm_smmu_def_domain_type() always returns IOMMU_DOMAIN_IDENTITY for this
mode, so the core code will never attempt to create a DMA domain in the
first place.
Since commit a4fdd9762272 ("iommu: Use flush queue capability") the core
code only passes in IDENTITY/BLOCKED/UNMANAGED/DMA domain types. It will
not pass in IDENTITY or BLOCKED if the global statics exist, so the test
for DMA is also redundant now too.
Cc: Dmitry Baryshkov <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions