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

Tomasz Figa tfiga at chromium.org
Thu Jun 9 22:31:08 PDT 2016


Hi,

On Wed, Jun 8, 2016 at 10:26 PM, Shunqian Zheng <zhengsq at rock-chips.com> wrote:
> From: Simon Xue <xxm at rock-chips.com>
>
> 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 at rock-chips.com>
> Signed-off-by: Shunqian Zheng <xxm at rock-chips.com>
> ---
>  drivers/iommu/rockchip-iommu.c | 1 +
>  1 file changed, 1 insertion(+)

Reviewed-by: Tomasz Figa <tfiga at chromium.org>

Best regards,
Tomasz



More information about the Linux-rockchip mailing list