Re: [PATCH v2 2/7] iommu/rockchip: add map_sg callback for rk_iommu_ops

From: Tomasz Figa
Date: Fri Jun 10 2016 - 01:38:23 EST


Hi,

On Wed, Jun 8, 2016 at 10:26 PM, Shunqian Zheng <zhengsq@xxxxxxxxxxxxxx> wrote:
> From: Simon Xue <xxm@xxxxxxxxxxxxxx>
>
> The iommu_dma_alloc() in iommu/dma-iommu.c calls iommu_map_sg()
> that requires the callback iommu_ops .map_sg(). Adding the
> default_iommu_map_sg() to rockchip iommu accordingly.
>
> Signed-off-by: Simon Xue <xxm@xxxxxxxxxxxxxx>
> Signed-off-by: Shunqian Zheng <xxm@xxxxxxxxxxxxxx>
> ---
> drivers/iommu/rockchip-iommu.c | 1 +
> 1 file changed, 1 insertion(+)

Reviewed-by: Tomasz Figa <tfiga@xxxxxxxxxxxx>

Best regards,
Tomasz