From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: dma-mapping: support non-consistent DMA attribute
Date: Wed, 25 Feb 2015 11:24:18 +0100 [thread overview]
Message-ID: <16874142.jSTJ8OZePS@wuerfel> (raw)
In-Reply-To: <1424810703-20382-1-git-send-email-drake@endlessm.com>
On Tuesday 24 February 2015 14:45:03 Daniel Drake wrote:
> Currently when arm_dma_mmap() is called, vm_page_prot is reset
> according to DMA attributes. Currently, writecombine is the
> only attribute supported; any other configuration will map uncached
> memory.
>
> Add support for the non-consistent attribute so that cachable memory
> can be mapped into userspace via the dma_mmap_attrs() API.
>
> Signed-off-by: Daniel Drake <drake@endlessm.com>
>
How does the user process enforce consistency then?
Arnd
next prev parent reply other threads:[~2015-02-25 10:24 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-24 20:45 [PATCH] ARM: dma-mapping: support non-consistent DMA attribute Daniel Drake
2015-02-25 10:24 ` Arnd Bergmann [this message]
2015-02-25 13:58 ` Daniel Drake
2015-02-25 14:18 ` Russell King - ARM Linux
2015-02-25 14:30 ` Daniel Drake
2015-02-25 14:42 ` Russell King - ARM Linux
2015-02-25 15:21 ` Daniel Drake
2015-02-25 16:31 ` Jasper St. Pierre
2015-02-25 17:25 ` Russell King - ARM Linux
2015-02-25 17:27 ` Jasper St. Pierre
2015-02-25 10:36 ` Russell King - ARM Linux
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=16874142.jSTJ8OZePS@wuerfel \
--to=arnd@arndb.de \
--cc=linux-arm-kernel@lists.infradead.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.