[PATCH v2 10/13] iommu/rockchip: Use IOMMU device for dma mapping operations
Tomasz Figa
tfiga at chromium.org
Tue Jan 16 21:37:32 PST 2018
On Tue, Jan 16, 2018 at 10:25 PM, Jeffy Chen <jeffy.chen at rock-chips.com> 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 at rock-chips.com>
> ---
>
> 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 at chromium.org>
Best regards,
Tomasz
More information about the linux-arm-kernel
mailing list