]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
arm64: Use bus notifiers to set per-device coherent DMA ops
authorCatalin Marinas <catalin.marinas@arm.com>
Fri, 25 Apr 2014 14:31:45 +0000 (15:31 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Sat, 3 May 2014 21:20:34 +0000 (22:20 +0100)
commit6ecba8eb51b7d23fda66388a5420be7d8688b186
tree930af6e7dfff301c121e59f91171ab884c9ceb75
parentc7a4a7658d689f664050c45493d79adf053f226e
arm64: Use bus notifiers to set per-device coherent DMA ops

Recently, the default DMA ops have been changed to non-coherent for
alignment with 32-bit ARM platforms (and DT files). This patch adds bus
notifiers to be able to set the coherent DMA ops (with no cache
maintenance) for devices explicitly marked as coherent via the
"dma-coherent" DT property.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/setup.c
arch/arm64/mm/dma-mapping.c