Re: [PATCH v2 10/13] iommu/rockchip: Use IOMMU device for dma mapping operations
From: Tomasz Figa
Date: Wed Jan 17 2018 - 00:38:02 EST
On Tue, Jan 16, 2018 at 10:25 PM, Jeffy Chen <jeffy.chen@xxxxxxxxxxxxxx> wrote:
> Use the first registered IOMMU device for dma mapping operations, and
> drop the domain platform device.
>
> This is similar to exynos iommu driver.
>
> Signed-off-by: Jeffy Chen <jeffy.chen@xxxxxxxxxxxxxx>
> ---
>
> Changes in v2: None
>
> drivers/iommu/rockchip-iommu.c | 91 +++++++++++-------------------------------
> 1 file changed, 24 insertions(+), 67 deletions(-)
Looks good to me, but we need to remove platform driver .remove(), as
it was done for Exynos IOMMU as well. With that fixed (probably
squashed to the patch that prohibits unbind):
Reviewed-by: Tomasz Figa <tfiga@xxxxxxxxxxxx>
Best regards,
Tomasz