OSDN Git Service

x86/UV: Add kdump to UV NMI handler
authorMike Travis <travis@sgi.com>
Mon, 23 Sep 2013 21:25:03 +0000 (16:25 -0500)
committerIngo Molnar <mingo@kernel.org>
Tue, 24 Sep 2013 07:02:03 +0000 (09:02 +0200)
commit12ba6c990fab50fe568f3ad8715e81e356552428
tree7d35b961d4ef8fdf02eae86e9d0e795113950a42
parent3c121d9a21dc16ef030ad6ca3ebb159b5726fab9
x86/UV: Add kdump to UV NMI handler

If a system has hung and it no longer responds to external
events, this patch adds the capability of doing a standard kdump
and system reboot then triggered by the system NMI command.

It is enabled when the nmi action is changed to "kdump" and the
kernel is built with CONFIG_KEXEC enabled.

Signed-off-by: Mike Travis <travis@sgi.com>
Reviewed-by: Dimitri Sivanich <sivanich@sgi.com>
Reviewed-by: Hedi Berriche <hedi@sgi.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Cc: Jason Wessel <jason.wessel@windriver.com>
Link: http://lkml.kernel.org/r/20130923212500.660567460@asylum.americas.sgi.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/platform/uv/uv_nmi.c