summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/kvm_coproc.h
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2014-08-27 18:52:44 +0200
committerWill Deacon <will.deacon@arm.com>2014-12-01 17:51:35 +0100
commit4bb25789ed28228a52c030bf28edb2fcdb214be8 (patch)
treeaafa892add12a5acb47c69696de5dd7c95e0251e /arch/arm/include/asm/kvm_coproc.h
parentarm: call iommu_init before of_platform_populate (diff)
downloadlinux-4bb25789ed28228a52c030bf28edb2fcdb214be8.tar.xz
linux-4bb25789ed28228a52c030bf28edb2fcdb214be8.zip
arm: dma-mapping: plumb our iommu mapping ops into arch_setup_dma_ops
This patch plumbs the existing ARM IOMMU DMA infrastructure (which isn't actually called outside of a few drivers) into arch_setup_dma_ops, so that we can use IOMMUs for DMA transfers in a more generic fashion. Since this significantly complicates the arch_setup_dma_ops function, it is moved out of line into dma-mapping.c. If CONFIG_ARM_DMA_USE_IOMMU is not set, the iommu parameter is ignored and the normal ops are used instead. Acked-by: Russell King <rmk+kernel@arm.linux.org.uk> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm/include/asm/kvm_coproc.h')
0 files changed, 0 insertions, 0 deletions