Re: [RFC PATCH 1/4] powerpc/64: Save stack pointer when we hard disable interrupts

2018-05-04 Thread Nicholas Piggin
On Wed, 2 May 2018 23:07:26 +1000 Michael Ellerman wrote: > A CPU that gets stuck with interrupts hard disable can be difficult to > debug, as on some platforms we have no way to interrupt the CPU to > find out what it's doing. > > A stop-gap is to have the CPU save it's stack pointer (r1) in i

[RFC PATCH 1/4] powerpc/64: Save stack pointer when we hard disable interrupts

2018-05-02 Thread Michael Ellerman
A CPU that gets stuck with interrupts hard disable can be difficult to debug, as on some platforms we have no way to interrupt the CPU to find out what it's doing. A stop-gap is to have the CPU save it's stack pointer (r1) in its paca when it hard disables interrupts. That way if we can't interrup