Re: [PATCH v6 11/25] iommu/tegra-smmu: Implement an IDENTITY domain

2023-08-13 Thread Baolu Lu
On 2023/8/3 8:07, Jason Gunthorpe wrote: What tegra-smmu does during tegra_smmu_set_platform_dma() is actually putting the iommu into identity mode. Move to the new core support for ARM_DMA_USE_IOMMU by defining ops->identity_domain. Signed-off-by: Jason Gunthorpe --- drivers/iommu/tegra-smmu

[PATCH v6 11/25] iommu/tegra-smmu: Implement an IDENTITY domain

2023-08-02 Thread Jason Gunthorpe
What tegra-smmu does during tegra_smmu_set_platform_dma() is actually putting the iommu into identity mode. Move to the new core support for ARM_DMA_USE_IOMMU by defining ops->identity_domain. Signed-off-by: Jason Gunthorpe --- drivers/iommu/tegra-smmu.c | 37 ---