Re: [PATCH net] net/mlx4_en: correct the endianness of doorbell_qpn on big endian platform
From: David Miller <davem@davemloft.net>
Date: 2014-12-14 04:43:23
From: David Miller <davem@davemloft.net>
Date: 2014-12-14 04:43:23
From: Wei Yang <redacted> Date: Sat, 13 Dec 2014 11:13:38 +0800
On Mon, Dec 08, 2014 at 10:42:37PM +0800, Wei Yang wrote: If you prefer this way, I would like to send a new version for this. Is it ok for you?
I'm not so sure. There are implications when using the __raw_*()
routines.
In particular, using __raw_{read,write}l() also means that the usual
necessary I/O memory barriers are not being performed.
There are therefore no ordering guarantees between __raw_*() and other
I/O or memory accesses whatsoever.