]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: DMA mapping API
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 5 Mar 2012 11:49:30 +0000 (11:49 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 17 Sep 2012 12:42:05 +0000 (13:42 +0100)
commit946af5a77ad58489ebeef98a94c6c0199aa015bd
treecfb307592f4e9b9960273c610f5aa377e4e5ca9b
parentd00dbc62919695758082f44c5321508f2a179f38
arm64: DMA mapping API

This patch adds support for the DMA mapping API. It uses dma_map_ops for
flexibility and it currently supports swiotlb. This patch could be
simplified further if the DMA accesses are coherent (not mandated by the
architecture) or if corresponding hooks are placed in the generic
swiotlb code to deal with cache maintenance.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Acked-by: Olof Johansson <olof@lixom.net>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
arch/arm64/include/asm/dma-mapping.h [new file with mode: 0644]
arch/arm64/mm/dma-mapping.c [new file with mode: 0644]