Cc: Roland Dreier <rdreier@...>, <linux-arch@...>, <linux-kernel@...>, <tpiepho@...>, James Bottomley <James.Bottomley@...>, <linuxppc-dev@...>, <scottwood@...>, <torvalds@...>, David Miller <davem@...>, <alan@...>, Arjan van de Ven <arjan@...>
On powerpc we explicitly make sure that can't happen. That's the "do
a sync in spin_unlock if there were any writels since the last
spin_lock" magic. The sync instruction makes sure the writes have got
to the host bridge before the spinlock is unlocked.
Paul.
--