summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib
diff options
context:
space:
mode:
authorPaul Mackerras2017-08-30 06:12:24 +0200
committerMichael Ellerman2017-08-31 14:07:19 +0200
commit93b2d3cf3733b4060d3623161551f51ea1ab5499 (patch)
tree4b81306dc5145e5f6776b42a6dab6426d033a974 /arch/powerpc/lib
parentpowerpc: Fix DAR reporting when alignment handler faults (diff)
downloadkernel-qcow2-linux-93b2d3cf3733b4060d3623161551f51ea1ab5499.tar.gz
kernel-qcow2-linux-93b2d3cf3733b4060d3623161551f51ea1ab5499.tar.xz
kernel-qcow2-linux-93b2d3cf3733b4060d3623161551f51ea1ab5499.zip
powerpc: Correct instruction code for xxlor instruction
The instruction code for xxlor that commit 0016a4cf5582 ("powerpc: Emulate most Book I instructions in emulate_step()", 2010-06-15) added is actually the code for xxlnor. It is used in get_vsr() and put_vsr() and the effect of the error is that if emulate_step is used to emulate a VSX load or store from any register other than vsr0, the bitwise complement of the correct value will be loaded or stored. This corrects the error. Fixes: 0016a4cf5582 ("powerpc: Emulate most Book I instructions in emulate_step()") Signed-off-by: Paul Mackerras <paulus@ozlabs.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/lib')
0 files changed, 0 insertions, 0 deletions