From: Abhinav Kochhar <kochhar.abhinav@gmail.com>
To: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: linux-arm-kernel@lists.infradead.org,
linaro-mm-sig@lists.linaro.org, linux-mm@kvack.org,
Kyungmin Park <kyungmin.park@samsung.com>
Subject: [Linaro-mm-sig] [PATCH 1/3] [RFC] Kernel Virtual Memory allocation issue in dma-mapping framework
Date: Fri, 11 May 2012 11:01:52 +0900 [thread overview]
Message-ID: <CALYq+qS8jc+d2w0Jfx5Ci0-KShrHTV=p0f_Py8g_17PSOauadw@mail.gmail.com> (raw)
In-Reply-To: <CALYq+qRtt=zn9UBKiOx0Opw+G2rXegQMXY6t4ZafGFwP_qxdNQ@mail.gmail.com>
[-- 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 --]
parent reply other threads:[~2012-05-11 2:01 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <CALYq+qRtt=zn9UBKiOx0Opw+G2rXegQMXY6t4ZafGFwP_qxdNQ@mail.gmail.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CALYq+qS8jc+d2w0Jfx5Ci0-KShrHTV=p0f_Py8g_17PSOauadw@mail.gmail.com' \
--to=kochhar.abhinav@gmail.com \
--cc=kyungmin.park@samsung.com \
--cc=linaro-mm-sig@lists.linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-mm@kvack.org \
--cc=m.szyprowski@samsung.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox