ARM: dma-mapping: introduce the idea of buffer ownership
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 31 Oct 2009 16:52:16 +0000 (16:52 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 15 Feb 2010 15:21:43 +0000 (15:21 +0000)
commit18eabe2347ae7a11b3db768695913724166dfb0e
tree2f6a9bb654d01e07a62be75adc1282e97b5c16d4
parentbf32eb85492af197ea5ff20e0be56f667a80584d
ARM: dma-mapping: introduce the idea of buffer ownership

The DMA API has the notion of buffer ownership; make it explicit in the
ARM implementation of this API.  This gives us a set of hooks to allow
us to deal with CPU cache issues arising from non-cache coherent DMA.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Tested-By: Santosh Shilimkar <santosh.shilimkar@ti.com>
Tested-By: Jamie Iles <jamie@jamieiles.com>
arch/arm/common/dmabounce.c
arch/arm/include/asm/dma-mapping.h
arch/arm/mm/dma-mapping.c