Re: [PATCH] powerpc/32s: Fix RTAS machine check with VMAP stack

2020-12-23 Thread Michael Ellerman
Christophe Leroy writes: > Le 22/12/2020 à 08:11, Christophe Leroy a écrit : >> When we have VMAP stack, exception prolog 1 sets r1, not r11. > > But exception prolog 1 uses r1 to setup r1 when machine check happens in > kernel. > So r1 must be restored when the branch is not taken. See subsequen

Re: [PATCH] powerpc/32s: Fix RTAS machine check with VMAP stack

2020-12-22 Thread Christophe Leroy
Le 22/12/2020 à 08:11, Christophe Leroy a écrit : When we have VMAP stack, exception prolog 1 sets r1, not r11. But exception prolog 1 uses r1 to setup r1 when machine check happens in kernel. So r1 must be restored when the branch is not taken. See subsequent patch I just sent out. Christ

Re: [PATCH] powerpc/32s: Fix RTAS machine check with VMAP stack

2020-12-22 Thread Michael Ellerman
On Tue, 22 Dec 2020 07:11:18 + (UTC), Christophe Leroy wrote: > When we have VMAP stack, exception prolog 1 sets r1, not r11. Applied to powerpc/fixes. [1/1] powerpc/32s: Fix RTAS machine check with VMAP stack https://git.kernel.org/powerpc/c/9c7422b92cb27369653c371ad9c44a502e5eea8f ch