linux-stable/arch/powerpc
Eddie James 4fb2231089 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-19 15:28:02 +02:00
..
boot powerpc/boot: Fix dash warning 2025-05-09 09:43:57 +02:00
configs arch/powerpc: drop GENERIC_PTDUMP from mpc885_ads_defconfig 2025-04-10 14:37:34 +02:00
crypto
include powerpc/pseries/iommu: memory notifier incorrectly adds TCEs for pmemory 2025-06-04 14:42:11 +02:00
kernel powerpc: do not build ppc_save_regs.o always 2025-06-19 15:28:02 +02:00
kexec powerpc/crash: Fix non-smp kexec preparation 2025-06-19 15:28:02 +02:00
kvm Revert "KVM: PPC: e500: Mark "struct page" dirty in kvmppc_e500_shadow_map()" 2025-03-13 12:58:39 +01:00
lib powerpc/code-patching: Fix KASAN hit by not flagging text patching area as VM_ALLOC 2025-02-27 04:10:48 -08:00
math-emu
mm book3s64/radix: Fix compile errors when CONFIG_ARCH_WANT_OPTIMIZE_DAX_VMEMMAP=n 2025-06-04 14:42:15 +02:00
net
perf arch/powerpc/perf: Check the instruction type before creating sample with perf_mem_data_src 2025-06-04 14:42:11 +02:00
platforms powerpc/pseries/iommu: memory notifier incorrectly adds TCEs for pmemory 2025-06-04 14:42:11 +02:00
purgatory
sysdev
tools
xmon
Kbuild
Kconfig
Kconfig.debug
Makefile
Makefile.postlink