]> git.karo-electronics.de Git - karo-tx-linux.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>
Wed, 5 Sep 2012 15:35:03 +0000 (16:35 +0100)
commit360203fcdf0e1c80a18ddc0013dd080876bb8557
treeb99dcf70a40db1c1f67e2a67c5e40ce376415486
parent8ae921966fc1ccbee0893e889f9646181158b762
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>
arch/arm64/include/asm/dma-mapping.h [new file with mode: 0644]
arch/arm64/mm/dma-mapping.c [new file with mode: 0644]