Cc: Nick Piggin <nickpiggin@...>, Russell King <rmk+lkml@...>, Benjamin Herrenschmidt <benh@...>, David Miller <davem@...>, <linux-arch@...>, <scottwood@...>, <linuxppc-dev@...>, <alan@...>, <linux-kernel@...>
So on x86, these could be re-ordered?
writel(START_OPERATION, CONTROL_REGISTER);
status = readl(STATUS_REGISTER);
You need to ask for coherent DMA memory too.
--