arm64: Implement coherent DMA API based on swiotlb
authorCatalin Marinas <catalin.marinas@arm.com>
Tue, 21 May 2013 16:35:19 +0000 (17:35 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 27 Feb 2014 17:16:59 +0000 (17:16 +0000)
commit7363590d2c4691593fd280f94b3deaeb5e83dbbd
tree892b7ac3974015dd23401a1d993cbd930cee2fb9
parent3690951fc6d42f3a0903987677d0e592c49dd8db
arm64: Implement coherent DMA API based on swiotlb

This patch adds support for DMA API cache maintenance on SoCs without
hardware device cache coherency.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/cacheflush.h
arch/arm64/include/asm/dma-mapping.h
arch/arm64/mm/cache.S
arch/arm64/mm/dma-mapping.c