]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc/kdump: Use setjmp/longjmp to handle kdump and system reset recursion
authorAnton Blanchard <anton@samba.org>
Wed, 30 Nov 2011 00:23:11 +0000 (00:23 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 8 Dec 2011 03:02:22 +0000 (14:02 +1100)
commit07fe0c6132578186773e01ffb0f63ded222effe7
tree306f3fe8cc1994994a0d581c5d5b3d6d612d0def
parent9b00ac06978c54788f13eefd34a07b77db48d567
powerpc/kdump: Use setjmp/longjmp to handle kdump and system reset recursion

We can handle recursion caused by system reset by reusing the crash
shutdown fault handler.

Since we don't have an OS triggerable NMI, if all CPUs don't make it
into kdump then we tell the user to issue a system reset. However if
we have a panic timeout set we cannot wait forever and must continue
the kdump.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/crash.c