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)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 30 Jul 2012 10:25:46 +0000 (12:25 +0200)
commit955c757e090f41188764a0e488ba7036f7dbb215
treead5f20e5caa6331ce889261f3f0a11b3c8deed12
parentd5724f172fd1406c6962c4d2e27228b8e9e83642
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