diff options
| author | Jason Gunthorpe <[email protected]> | 2023-09-13 10:43:45 -0300 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2023-09-25 11:40:59 +0200 |
| commit | f128094f347f578279e551488796d0a0067cbdff (patch) | |
| tree | 1f9c0ecc02606c0a26f891eb026fd15fee37f23f /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | c8cc2655cc6c7ff832827ad5bc1a8f3df165706d (diff) | |
iommu/tegra-smmu: Support DMA domains in tegra
All ARM64 iommu drivers should support IOMMU_DOMAIN_DMA to enable
dma-iommu.c.
tegra is blocking dma-iommu usage, and also default_domain's, because it
wants an identity translation. This is needed for some device quirk. The
correct way to do this is to support IDENTITY domains and use
ops->def_domain_type() to return IOMMU_DOMAIN_IDENTITY for only the quirky
devices.
Add support for IOMMU_DOMAIN_DMA and force IOMMU_DOMAIN_IDENTITY mode for
everything so no behavior changes.
Reviewed-by: Jerry Snitselaar <[email protected]>
Signed-off-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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions