* [Linaro-mm-sig] [PATCH 1/3] [RFC] Kernel Virtual Memory allocation issue in dma-mapping framework
[not found] <CALYq+qRtt=zn9UBKiOx0Opw+G2rXegQMXY6t4ZafGFwP_qxdNQ@mail.gmail.com>
@ 2012-05-11 2:01 ` Abhinav Kochhar
0 siblings, 0 replies; only message in thread
From: Abhinav Kochhar @ 2012-05-11 2:01 UTC (permalink / raw)
To: Marek Szyprowski; +Cc: linux-arm-kernel, linaro-mm-sig, linux-mm, Kyungmin Park
[-- Attachment #1: Type: text/plain, Size: 488 bytes --]
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,
};
[-- Attachment #2: Type: text/html, Size: 581 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-05-11 2:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CALYq+qRtt=zn9UBKiOx0Opw+G2rXegQMXY6t4ZafGFwP_qxdNQ@mail.gmail.com>
2012-05-11 2:01 ` [Linaro-mm-sig] [PATCH 1/3] [RFC] Kernel Virtual Memory allocation issue in dma-mapping framework Abhinav Kochhar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox