]> git.karo-electronics.de Git - karo-tx-linux.git/commit
arm64: mm: Fix a bug in iommu dma-mapping
authorSricharan R <sricharan@codeaurora.org>
Tue, 21 Apr 2015 14:30:37 +0000 (20:00 +0530)
committerSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Mon, 11 Jan 2016 09:54:39 +0000 (09:54 +0000)
commitff22258fdefbece3a7dcdcde6a8c267e8b7e7efb
tree06eef4fc31913721741525c2c2d0ac451f16c253
parent8cebdb769b7c07b2a94adcbe3b6ef5c1ea7e9362
arm64: mm: Fix a bug in iommu dma-mapping

iommu_alloc_attrs and arm_iommu_mmap_attrs calls
dma_pgprot with device type set to always 'coherent'
which is wrong. Should be based on the device type.

Signed-off-by: Sricharan R <sricharan@codeaurora.org>
Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
arch/arm64/mm/dma-mapping.c