[PATCH v7 10/24] iommu/exynos: Implement an IDENTITY domain

Jerry Snitselaar jsnitsel at redhat.com
Mon Aug 28 13:23:31 PDT 2023


On Wed, Aug 23, 2023 at 01:47:24PM -0300, Jason Gunthorpe wrote:
> What exynos calls exynos_iommu_detach_device is actually putting the iommu
> into identity mode.
> 
> Move to the new core support for ARM_DMA_USE_IOMMU by defining
> ops->identity_domain.
> 
> Tested-by: Marek Szyprowski <m.szyprowski at samsung.com>
> Acked-by: Marek Szyprowski <m.szyprowski at samsung.com>
> Signed-off-by: Jason Gunthorpe <jgg at nvidia.com>
> ---
>  drivers/iommu/exynos-iommu.c | 66 +++++++++++++++++-------------------
>  1 file changed, 32 insertions(+), 34 deletions(-)
> 

Reviewed-by: Jerry Snitselaar <jsnitsel at redhat.com>




More information about the Linux-rockchip mailing list