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(-)
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, };
-- 1.7.0.4