diff options
author | Hari Bathini <hbathini@linux.ibm.com> | 2020-07-29 17:13:14 +0530 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-07-29 23:47:54 +1000 |
commit | cb350c1f1f867db16725f1bb06be033ece19e998 (patch) | |
tree | 8997d598bfb8be118dbb31ee156189afe8c55aa0 /arch/c6x/Kconfig | |
parent | 1a1cf93c200581c72a3cd521e1e0a1a3b5d0077d (diff) | |
download | linux-cb350c1f1f867db16725f1bb06be033ece19e998.tar.gz linux-cb350c1f1f867db16725f1bb06be033ece19e998.tar.bz2 linux-cb350c1f1f867db16725f1bb06be033ece19e998.zip |
powerpc/kexec_file: Prepare elfcore header for crashing kernel
Prepare elf headers for the crashing kernel's core file using
crash_prepare_elf64_headers() and pass on this info to kdump kernel by
updating its command line with elfcorehdr parameter. Also, add
elfcorehdr location to reserve map to avoid it from being stomped on
while booting.
Signed-off-by: Hari Bathini <hbathini@linux.ibm.com>
Tested-by: Pingfan Liu <piliu@redhat.com>
Reviewed-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>
[mpe: Ensure cmdline is nul terminated]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/159602298855.575379.15819225623219909517.stgit@hbathini
Diffstat (limited to 'arch/c6x/Kconfig')
0 files changed, 0 insertions, 0 deletions