diff mbox

[1/3,RFC] :DMA-MAPPING:Add a new DMA attribute to avoid Kernel virtual memory allocation

Message ID 1336812102-9975-1-git-send-email-abhinav.k@samsung.com
State New
Headers show

Commit Message

Abhinav May 12, 2012, 8:41 a.m. UTC
This dma attribute can be used to pass to the iommu ops of dma-mapping framework to differentiate between kernel and user space allocations.

Signed-off-by: Abhinav <abhinav.k@samsung.com>
---
 include/linux/dma-attrs.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

--
1.7.0.4
diff mbox

Patch

diff --git a/include/linux/dma-attrs.h b/include/linux/dma-attrs.h
index 547ab56..861df09 100644
--- a/include/linux/dma-attrs.h
+++ b/include/linux/dma-attrs.h
@@ -15,6 +15,7 @@  enum dma_attr {
 	DMA_ATTR_WEAK_ORDERING,
 	DMA_ATTR_WRITE_COMBINE,
 	DMA_ATTR_NON_CONSISTENT,
+	DMA_ATTR_USER_SPACE,
 	DMA_ATTR_MAX,
 };