]> git.baikalelectronics.ru Git - kernel.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)
commit158c0c756c6cd8a41d9f97c983e9b330212c5b16
tree930af6e7dfff301c121e59f91171ab884c9ceb75
parent73c905ca5b8e178e12462db21b2f4953cb8c3c48
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