Re: [PATCH v7 07/24] iommu/mtk_iommu_v1: Implement an IDENTITY domain

2023-08-25 Thread Jerry Snitselaar
On Wed, Aug 23, 2023 at 01:47:21PM -0300, Jason Gunthorpe wrote: > What mtk does during mtk_iommu_v1_set_platform_dma() is actually putting > the iommu into identity mode. Make this available as a proper IDENTITY > domain. > > The mtk_iommu_v1_def_domain_type() from > commit 8bbe13f52cb7 ("iommu/m

[PATCH v7 07/24] iommu/mtk_iommu_v1: Implement an IDENTITY domain

2023-08-23 Thread Jason Gunthorpe
What mtk does during mtk_iommu_v1_set_platform_dma() is actually putting the iommu into identity mode. Make this available as a proper IDENTITY domain. The mtk_iommu_v1_def_domain_type() from commit 8bbe13f52cb7 ("iommu/mediatek-v1: Add def_domain_type") explains this was needed to allow probe_fin