Cc: Roland Dreier <rdreier@...>, <benh@...>, Arjan van de Ven <arjan@...>, <linux-arch@...>, <linux-kernel@...>, <tpiepho@...>, <linuxppc-dev@...>, <scottwood@...>, <torvalds@...>, David Miller <davem@...>, <alan@...>
On Thu, May 29, 2008 at 10:47:18AM -0400, Jes Sorensen wrote:
We don't actually have that problem on the Altix. All writes issued
by CPU X will be ordered with respect to each other. But writes by
CPU X and CPU Y will not be, unless an mmiowb() is done by the
original CPU before the second CPU writes. I.e.
CPU X writel
CPU X writel
CPU X mmiowb
CPU Y writel
...
Note that this implies some sort of locking. Also note that if in
the above, CPU Y did the mmiowb, that would not work.
jeremy
--