lkml.org 
[lkml]   [2007]   [Dec]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [RFC] dma: passing "attributes" to dma_map_* routines
On Fri, Dec 21, 2007 at 07:56:25AM +1100, Benjamin Herrenschmidt wrote:
> ...
> Can't you just have a primitive to sync things up that you call
> explicitely from your driver after fetching a new status entry ?
>

Well, the only mechanisms I know to get things synced are the ones
I mentioned before: 1) generate an interrupt, 2) write to memory
which has the "barrier" attribute. Obviously 1 is out - giving
the memory used for status indications the barrier attribute is
the most primitive means I'm aware of.

--
Arthur



\
 
 \ /
  Last update: 2007-12-21 19:05    [from the cache]
©2003-2011 Jasper Spaans