[Linaro-mm-sig] [PATCH 1/3] [RFC] Kernel Virtual Memory allocation issue in dma-mapping framework

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



With this add a new attribute that can be passsed to dma-mapping IOMMU apis to differentiate between kernel and user allcoations.

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,

 };


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]