[Linaro-mm-sig] [RFC] ARM DMA mapping TODO, v1
FUJITA Tomonori
fujita.tomonori at lab.ntt.co.jp
Thu Apr 28 10:38:07 EDT 2011
I'm busy at a conference so I've not read the whole thread yet..
On Thu, 28 Apr 2011 16:29:52 +0200
Arnd Bergmann <arnd at arndb.de> wrote:
> I was mistaken there: all drivers that use dma_alloc_noncoherent
> either use dma_cache_sync() or they do something that is more broken,
> but they don't do dma_sync_*.
As the DMA-API.txt says, dma_alloc_noncoherent should be used with
dma_cache_sync(). You shouldn't use dma_sync* API with a memory
returned by dma_alloc_noncoherent().
More information about the linux-arm-kernel
mailing list