lkml.org 
[lkml]   [2011]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateThu, 28 Apr 2011 23:38:07 +0900
SubjectRe: [Linaro-mm-sig] [RFC] ARM DMA mapping TODO, v1
FromFUJITA Tomonori <>
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@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().


\
 
 \ /
  Last update: 2011-04-28 16:41    [from the cache]
©2003-2010