Thread (12 messages) flat view 12 messages, 9 authors, 2005-05-31

Re: [PATCH] use mmiowb in tg3.c

From: "David S. Miller" <davem@davemloft.net>
Date: 2004-10-21 23:58:52
Also in: lkml

On Thu, 21 Oct 2004 16:28:06 -0700
Jesse Barnes [off-list ref] wrote:
This patch originally from Greg Banks.  Some parts of the tg3 driver depend on 
PIO writes arriving in order.  This patch ensures that in two key places 
using the new mmiowb macro.  This not only prevents bugs (the queues can be 
corrupted), but is much faster than ensuring ordering using PIO reads (which 
involve a few round trips to the target bus on some platforms).
Do other PCI systems which post PIO writes also potentially reorder
them just like this SGI system does?  Just trying to get this situation
straight in my head.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help