Re: [RFC 3/3] iommu: dma-iommu: use common implementation also on ARM architecture

From: Mark yao
Date: Sun Apr 17 2016 - 22:21:14 EST


On 2016å02æ19æ 16:22, Marek Szyprowski wrote:
This patch replaces ARM-specific IOMMU-based DMA-mapping implementation
with generic IOMMU DMA-mapping code shared with ARM64 architecture. The
side-effect of this change is a switch from bitmap-based IO address space
management to tree-based code. There should be no functional changes
for drivers, which rely on initialization from generic arch_setup_dna_ops()
interface. Code, which used old arm_iommu_* functions must be updated to
new interface.

Signed-off-by: Marek Szyprowski<m.szyprowski@xxxxxxxxxxx>
IOMMU works good on drm/rockchip ARM64 platform with this patch. So

Tested-by: Mark Yao <mark.yao@xxxxxxxxxxxxxx>

Thanks.

--
ïark Yao