[lkml]   [2007]   [Dec]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    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.


     \ /
      Last update: 2007-12-21 19:05    [W:0.021 / U:262.556 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site