lkml.org 
[lkml]   [2006]   [Feb]   [28]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] Define wc_wmb, a write barrier for PCI write combining
FromRoland Dreier <>
DateTue, 28 Feb 2006 09:50:48 -0800
    Jesse> I don't think it addresses the flushing issue you seem to
    Jesse> be concerned about though.  I don't know the exact
    Jesse> semantics of sfence, but I think bcrl is likely right that
    Jesse> it won't absolutely guarantee that your writes have hit the
    Jesse> device before proceeding (though it may do that on some CPU
    Jesse> implementations).

Yeah, I think that Bryan just wrote something different than what he
meant: there is no desire for wc_wmb() to make sure that writes via a
write-combining mapping have gone all the way to the device, any more
than a normal wmb() makes sure normal writes have gone all the way to
the device.  All that wc_wmb() needs to do is make sure that writes
via a write-combining mapping don't get passed by later writes.

This does speak to the need for precise documentation though :)

 - R.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-02-28 18:54    [from the cache]
©2003-2008