FROMLIST: iommu: dma-iommu: move IOMMU/DMA-mapping code from ARM64 arch to drivers
authorMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 19 Feb 2016 08:22:43 +0000 (09:22 +0100)
committerGerrit Code Review <gerrit@rock-chips.com>
Fri, 18 Mar 2016 12:42:50 +0000 (20:42 +0800)
commit7178c0f93e5fad7b2300e535839aecfa3b4e7ce2
tree765139b19bac5c5d851f629a909291456ed39a2e
parent20e552994b14ba74162f276d19574a8c1d701a04
FROMLIST: iommu: dma-iommu: move IOMMU/DMA-mapping code from ARM64 arch to drivers

This patch moves all the IOMMU-based DMA-mapping code from arch/arm64/mm
to drivers/iommu/dma-iommu-ops.c. This way it can be easily shared with
ARM architecture, which will also use them.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Conflicts:
arch/arm64/mm/dma-mapping.c

Change-Id: I7d56fa5e6e6ef43ae6c9c76035fcf81ee5cb7069
Signed-off-by: Simon <xxm@rock-chips.com>
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
(am from https://patchwork.freedesktop.org/patch/74408/)
arch/arm64/include/asm/dma-mapping.h
arch/arm64/mm/dma-mapping.c
drivers/iommu/Makefile
drivers/iommu/dma-iommu-ops.c [new file with mode: 0644]
include/linux/dma-iommu.h