linux-hardened/arch/powerpc/include
Anton Blanchard 926f160f46 powerpc: Little endian builds double word swap VSX state during context save/restore
The elements within VSX loads and stores are big endian ordered
regardless of endianness. Our VSX context save/restore code uses
lxvd2x and stxvd2x which is a 2x doubleword operation. This means
the two doublewords will be swapped and we have to perform another
swap to undo it.

We need to do this on save and restore.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2013-10-11 16:48:28 +11:00
..
asm powerpc: Little endian builds double word swap VSX state during context save/restore 2013-10-11 16:48:28 +11:00
uapi/asm powerpc: Fix little endian coredumps 2013-08-14 15:33:39 +10:00