[lkml]   [2007]   [Sep]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 0/4] allow drivers to flush in-flight DMA
     > Can we define this API to provide the same semantics as the memory
    > that dma_alloc_coherent() returns?

    No, definitely not. The property of the mapping here is all about
    ordering with respect to other DMAs (from the same device) and nothing
    to do with coherency between the CPU's and device's view of the memory.

    > Sorry - this feels like a "color of the shed" argument, but isn't
    > this about DMA ordering attribute?
    > "dmaflush" is an action and not an attribute to me.

    I guess I don't love the "dmaflush" name, but the property of these
    mappings is exactly that DMA into one of these mappings also performs
    the action of flushing other in-flight DMAs. However I guess your
    point is a good one: the effect really desired is that DMAs to these
    mappings become visible strictly after earlier DMAs, and we don't care
    exactly how the effect is obtained.

    No good idea of a better name though.

    - R.
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-09-26 21:31    [W:0.021 / U:19.476 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site