Subject: Re: [PATCH] powerpc: Fix instruction encoding for lis in ppc_function_entry()

From: Segher Boessenkool <[email-masked]>
Date: Fri, 5 Mar 2021 12:41:25 -0600

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 <[email-masked]>

Segher