Re: [PATCH] powerpc/32: Fix critical and debug interrupts on BOOKE

2021-08-13 Thread Michael Ellerman
On Wed, 7 Jul 2021 05:55:07 + (UTC), Christophe Leroy wrote: > 32 bits BOOKE have special interrupts for debug and other > critical events. > > When handling those interrupts, dedicated registers are saved > in the stack frame in addition to the standard registers, leading > to a shift of the

Re: [PATCH] powerpc/32: Fix critical and debug interrupts on BOOKE

2021-08-04 Thread Radu Rendec
Hi Christophe, On Wed, 2021-08-04 at 07:52 +0200, Christophe Leroy wrote: > Le 07/07/2021 à 07:55, Christophe Leroy a écrit : > > 32 bits BOOKE have special interrupts for debug and other > > critical events. > > Were you able to test this patch ? I tested it three weeks ago and it works like a

Re: [PATCH] powerpc/32: Fix critical and debug interrupts on BOOKE

2021-08-03 Thread Christophe Leroy
Hi Radu, Le 07/07/2021 à 07:55, Christophe Leroy a écrit : 32 bits BOOKE have special interrupts for debug and other critical events. Were you able to test this patch ? Thanks Christophe When handling those interrupts, dedicated registers are saved in the stack frame in addition to the

[PATCH] powerpc/32: Fix critical and debug interrupts on BOOKE

2021-07-06 Thread Christophe Leroy
32 bits BOOKE have special interrupts for debug and other critical events. When handling those interrupts, dedicated registers are saved in the stack frame in addition to the standard registers, leading to a shift of the pt_regs struct. Since commit db297c3b07af ("powerpc/32: Don't save