Re: [PATCH 2/3] powerpc: kdump: CPUs assume the context of the oopsing CPU

2010-05-10 Thread Michael Ellerman
On Tue, 2010-05-11 at 12:25 +1000, Anton Blanchard wrote: > We wrap the crash_shutdown_handles[] calls with longjmp/setjmp, so if any > of them fault we can recover. The problem is we add a hook to the debugger > fault handler hook which calls longjmp unconditionally. > > This first part of kdump

[PATCH 2/3] powerpc: kdump: CPUs assume the context of the oopsing CPU

2010-05-10 Thread Anton Blanchard
We wrap the crash_shutdown_handles[] calls with longjmp/setjmp, so if any of them fault we can recover. The problem is we add a hook to the debugger fault handler hook which calls longjmp unconditionally. This first part of kdump is run before we marshall the other CPUs, so there is a very good c