Re: [PATCH] use mmiowb in tg3.c

From: David S. Miller
Date: Thu Oct 21 2004 - 19:08:28 EST


On Thu, 21 Oct 2004 16:28:06 -0700
Jesse Barnes <jbarnes@xxxxxxxxxxxx> 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.

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