[PATCH] ARM: dma-mapping: support non-consistent DMA attribute

Arnd Bergmann arnd at arndb.de
Wed Feb 25 02:24:18 PST 2015


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 at endlessm.com>
> 

How does the user process enforce consistency then?

	Arnd



More information about the linux-arm-kernel mailing list