ARM: dma-mapping: add support for DMA_ATTR_NO_KERNEL_MAPPING attribute
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 16 May 2012 18:38:58 +0000 (19:38 +0100)
committerHiroshi Doyu <hdoyu@nvidia.com>
Fri, 7 Sep 2012 08:46:11 +0000 (11:46 +0300)
commitc067d15d6ced400c76224d76ffa5721e6ec4bae3
tree5f1ef6fea0485226a07b7f06ec140bfeebee7017
parentcd6a5b1bc9dc9790dda7d7054bbb88e0496f19ef
ARM: dma-mapping: add support for DMA_ATTR_NO_KERNEL_MAPPING attribute

This patch adds support for DMA_ATTR_NO_KERNEL_MAPPING attribute for
IOMMU allocations, what let drivers to save precious kernel virtual
address space for large buffers that are intended to be accessed only
from userspace.

This patch is heavily based on initial work kindly provided by Abhinav
Kochhar <abhinav.k@samsung.com>.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Kyungmin Park <kyungmin.park@samsung.com>
arch/arm/mm/dma-mapping.c