From: Will Deacon Date: Wed, 27 Aug 2014 16:52:44 +0000 (+0100) Subject: arm: dma-mapping: plumb our iommu mapping ops into arch_setup_dma_ops X-Git-Tag: omap-for-v3.19/fixes-rc1~63^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bb25789ed28228a;p=pandora-kernel.git 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 Acked-by: Arnd Bergmann Acked-by: Marek Szyprowski Signed-off-by: Will Deacon --- Reading git-diff-tree failed