[PATCH] iommu/exynos: Implement an IDENTITY domain
Jason Gunthorpe
jgg at nvidia.com
Fri May 19 08:39:47 PDT 2023
On Thu, Apr 06, 2023 at 08:42:57PM -0300, Jason Gunthorpe wrote:
> What exynos calls exynos_iommu_detach_device is actually putting the iommu
> into identity mode. Instead of having a translation mode that is invisible
> to the core code implement it as an actual IDENTITY domain.
>
> On ARM64 this will allow the IDENTITIY dma iommu mode to work, and on
> ARM32 this clarifies what set_platform_dma_ops is actually doing.
>
> Signed-off-by: Jason Gunthorpe <jgg at nvidia.com>
> ---
> drivers/iommu/exynos-iommu.c | 67 ++++++++++++++++++++++--------------
> 1 file changed, 42 insertions(+), 25 deletions(-)
>
> Marek, as requested here is that patch on top of your stuff that went to rc
Just for clarity this patch was superseded by this series where it is patch
10:
https://lore.kernel.org/linux-iommu/0-v2-8d1dc464eac9+10f-iommu_all_defdom_jgg@nvidia.com
Jason
More information about the linux-arm-kernel
mailing list