From: Benjamin Herrenschmidt Date: Wed, 24 Jun 2015 05:25:31 +0000 (+1000) Subject: powerpc/iommu: Support "hybrid" iommu/direct DMA ops for coherent_mask < dma_mask X-Git-Tag: omap-for-v4.3/fixes-rc1~100^2~107 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=817820b0226a1376f0fc68827ab8e42d86431117;p=pandora-kernel.git powerpc/iommu: Support "hybrid" iommu/direct DMA ops for coherent_mask < dma_mask This patch adds the ability to the DMA direct ops to fallback to the IOMMU ops for coherent alloc/free if the coherent mask of the device isn't suitable for accessing the direct DMA space and the device also happens to have an active IOMMU table. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Michael Ellerman --- Reading git-diff-tree failed