linux-yocto/arch/powerpc/kexec
Eddie James 68b9912452 powerpc/crash: Fix non-smp kexec preparation
[ Upstream commit 882b25af26 ]

In non-smp configurations, crash_kexec_prepare is never called in
the crash shutdown path. One result of this is that the crashing_cpu
variable is never set, preventing crash_save_cpu from storing the
NT_PRSTATUS elf note in the core dump.

Fixes: c7255058b5 ("powerpc/crash: save cpu register data in crash_smp_send_stop()")
Signed-off-by: Eddie James <eajames@linux.ibm.com>
Reviewed-by: Hari Bathini <hbathini@linux.ibm.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20250211162054.857762-1-eajames@linux.ibm.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-06-27 11:07:06 +01:00
..
core_32.c
core_64.c powerpc/kexec_file: fix cpus node update to FDT 2024-08-03 08:49:19 +02:00
core.c
crash.c powerpc/crash: Fix non-smp kexec preparation 2025-06-27 11:07:06 +01:00
elf_64.c
file_load_64.c powerpc/kexec: Fix return of uninitialized variable 2024-12-14 19:53:42 +01:00
file_load.c
Makefile
ranges.c
relocate_32.S