linux_dsm_epyc7002/arch/x86/purgatory
Vivek Goyal dd5f726076 kexec: support for kexec on panic using new system call
This patch adds support for loading a kexec on panic (kdump) kernel usning
new system call.

It prepares ELF headers for memory areas to be dumped and for saved cpu
registers.  Also prepares the memory map for second kernel and limits its
boot to reserved areas only.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: Michael Kerrisk <mtk.manpages@gmail.com>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: Eric Biederman <ebiederm@xmission.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: Greg Kroah-Hartman <greg@kroah.com>
Cc: Dave Young <dyoung@redhat.com>
Cc: WANG Chao <chaowang@redhat.com>
Cc: Baoquan He <bhe@redhat.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-08-08 15:57:33 -07:00
..
entry64.S kexec: support for kexec on panic using new system call 2014-08-08 15:57:33 -07:00
Makefile purgatory: core purgatory functionality 2014-08-08 15:57:32 -07:00
purgatory.c purgatory: core purgatory functionality 2014-08-08 15:57:32 -07:00
setup-x86_64.S purgatory: core purgatory functionality 2014-08-08 15:57:32 -07:00
sha256.c purgatory/sha256: provide implementation of sha256 in purgaotory context 2014-08-08 15:57:32 -07:00
sha256.h purgatory/sha256: provide implementation of sha256 in purgaotory context 2014-08-08 15:57:32 -07:00
stack.S purgatory: core purgatory functionality 2014-08-08 15:57:32 -07:00
string.c purgatory: core purgatory functionality 2014-08-08 15:57:32 -07:00