diff options
author | 2021-03-04 07:34:11 +0530 | |
---|---|---|
committer | 2021-03-09 22:13:26 +1100 | |
commit | cea15316ceee2d4a51dfdecd79e08a438135416c (patch) | |
tree | 3c5af5a5296cee2208588fd278b4fe273f94cdc2 /tools/perf/scripts/python | |
parent | Merge tag 'powerpc-5.12-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux (diff) | |
download | wireguard-linux-cea15316ceee2d4a51dfdecd79e08a438135416c.tar.xz wireguard-linux-cea15316ceee2d4a51dfdecd79e08a438135416c.zip |
powerpc/64s: Fix instruction encoding for lis in ppc_function_entry()
'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
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions