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

2016-06-09 Thread Tomasz Figa
Hi, On Wed, Jun 8, 2016 at 10:26 PM, Shunqian Zheng wrote: > From: Simon Xue > > 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

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

2016-06-08 Thread Shunqian Zheng
From: Simon Xue 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 Signed-off-by: Shunqian Zheng