]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv: Properly fix LPC debugfs endianness
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 30 Oct 2014 05:19:13 +0000 (16:19 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 31 Oct 2014 06:09:04 +0000 (17:09 +1100)
commitda13a251760e4ccd23f488ed6d623e0b89c7a804
treef70b8aab18045f1e0edecce809ba02cbd5475e6b
parent6728e5809d367b0a6b7361c845fa679fabbba305
powerpc/powernv: Properly fix LPC debugfs endianness

Endian is hard, especially when I designed a stupid FW interface, and
I should know better... oh well, this is attempt #2 at fixing this
properly. This time it seems to work with all access sizes and I
can run my flashing tool (which exercises all sort of access sizes
and types to access the SPI controller in the BMC) just fine.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
CC: stable@vger.kernel.org
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/opal-lpc.c