[PATCH] vfio: Fix endianness handling for emulated BARs

Benjamin Herrenschmidt benh at kernel.crashing.org
Sat Jun 21 09:16:15 EST 2014


On Sat, 2014-06-21 at 00:14 +1000, Alexey Kardashevskiy wrote:

> We can still use __raw_writel&co, would that be ok?

No unless you understand precisely what kind of memory barriers each
platform require for these.

Cheers,
Ben.




More information about the Linuxppc-dev mailing list