Messages in this thread | | | From | Jesse Barnes <> | Subject | Re: [PATCH] I/O space write barrier | Date | Mon, 4 Oct 2004 19:33:25 -0700 |
| |
On Monday, October 04, 2004 5:32 pm, Albert Cahalan wrote: > Ideally, it would be eieio, and the eieio in each > of the IO operations would be removed. Finding and > fixing all the drivers that break looks impossible > though; most driver developers will be on x86 boxes.
Well, I won't pretend to understand how the PPC ordering rules work, so I'll defer to benh on that one.
> In that case: wmmiob > > (or something longer, like mmio_write_fence maybe) > > As a name, "wmb" sucks almost as much as "cli" and "sti" do. > It dates back to the Alpha port, where it's an opcode.
The other option I briefly considered was wwjd(), but I don't think He has an official position on posted write ordering.
Jesse - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |