diff options
author | Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> | 2021-03-04 07:34:11 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-17 17:11:45 +0100 |
commit | 9e46a01793b1c1292c83e6028ff4d679b27cbd98 (patch) | |
tree | 5fa0d1158c025813073074886b40647ef74d4a48 /arch/powerpc/include/asm/switch_to.h | |
parent | 15dcba8a7fdbb096252c7cc3e17dee384c1c52b8 (diff) | |
download | linux-rt-9e46a01793b1c1292c83e6028ff4d679b27cbd98.tar.gz |
powerpc/64s: Fix instruction encoding for lis in ppc_function_entry()
commit cea15316ceee2d4a51dfdecd79e08a438135416c upstream.
'lis r2,N' is 'addis r2,0,N' and the instruction encoding in the macro
LIS_R2 is incorrect (it currently maps to 'addis r0,r2,N'). Fix the
same.
Fixes: c71b7eff426f ("powerpc: Add ABIv2 support to ppc_function_entry")
Cc: stable@vger.kernel.org # v3.16+
Reported-by: Jiri Olsa <jolsa@redhat.com>
Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Acked-by: Segher Boessenkool <segher@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210304020411.16796-1-naveen.n.rao@linux.vnet.ibm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/powerpc/include/asm/switch_to.h')
0 files changed, 0 insertions, 0 deletions