ARM: dma-mapping: New dma_map_ops->iova_{alloc,free}() functions
authorHiroshi Doyu <hdoyu@nvidia.com>
Thu, 17 May 2012 20:10:26 +0000 (20:10 +0000)
committerHiroshi Doyu <hdoyu@nvidia.com>
Fri, 7 Sep 2012 10:20:34 +0000 (13:20 +0300)
commitf7c1088fab9014d32aae6f5d465ea2472fa91abe
tree17ed1032b8373f9b333c92471152df85acc09b85
parentec50aaafd2507afca090122af2beacc182132e1f
ARM: dma-mapping: New dma_map_ops->iova_{alloc,free}() functions

There are some cases that IOVA allocation and mapping have to be done
seperately, especially for perf optimization reasons. This patch
allows client modules to {alloc,free} IOVA space without backing up
actual pages for that area.

Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
arch/arm/include/asm/dma-mapping.h
arch/arm/mm/dma-mapping.c
include/linux/dma-mapping.h