Re: [PATCH] powerpc: Fix instruction encoding for lis in ppc_function_entry()
From: Segher Boessenkool <hidden>
Date: 2021-03-05 18:42:49
From: Segher Boessenkool <hidden>
Date: 2021-03-05 18:42:49
On Thu, Mar 04, 2021 at 07:34:11AM +0530, Naveen N. Rao wrote:
'lis r2,N' is 'addis r2,0,N' and the instruction encoding in the macro LIS_R2 is incorrect (it currently maps to 'addis 0,r2,N'). Fix the same.
That is written "addis r0,r2,N" even. Your patch looks fine otherwise, so with that fix: Acked-by: Segher Boessenkool <redacted> Segher