From: Nishanth Aravamudan Date: Mon, 18 Oct 2010 07:27:04 +0000 (+0000) Subject: powerpc/iommu: Use coherent_dma_mask for alloc_coherent X-Git-Tag: v2.6.38-rc1~405^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3c73856ae47d43d0d181f9de1c1c6c0820c4515;p=pandora-kernel.git powerpc/iommu: Use coherent_dma_mask for alloc_coherent The IOMMU code has been passing the dma-mask instead of the coherent_dma_mask to the iommu allocator. Coherent allocations should be made using the coherent_dma_mask. Also update the vio code to ensure the coherent_dma_mask is set. Without this change drivers, such as ibmvscsi, fail to load with the corrected dma_iommu_alloc_coherent(). Signed-off-by: Milton Miller Signed-off-by: Nishanth Aravamudan Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed