Commit 4fb22310 authored by Eddie James's avatar Eddie James Committed by Greg Kroah-Hartman
Browse files

powerpc/crash: Fix non-smp kexec preparation



[ Upstream commit 882b25af ]

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: c7255058 ("powerpc/crash: save cpu register data in crash_smp_send_stop()")
Signed-off-by: default avatarEddie James <eajames@linux.ibm.com>
Reviewed-by: default avatarHari Bathini <hbathini@linux.ibm.com>
Signed-off-by: default avatarMadhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20250211162054.857762-1-eajames@linux.ibm.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent fdc39b3a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment