powerpc: Handle VSX alignment faults in little endian mode
authorAnton Blanchard <anton@samba.org>
Mon, 23 Sep 2013 02:04:50 +0000 (12:04 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 11 Oct 2013 05:48:38 +0000 (16:48 +1100)
commit52055d07ce0a465949552c9c5d65d2b8b37672c5
tree7421607319a385d64810626693993853a16cc54a
parent835e206a67703f8cfb9f13ffc90d5fe5a374f40c
powerpc: Handle VSX alignment faults in little endian mode

Things are complicated by the fact that VSX elements are big
endian ordered even in little endian mode. 8 byte loads and
stores also write to the top 8 bytes of the register.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/align.c