On Tue, 28 Oct 2025 16:25:12 +0530, Nysal Jan K.A. wrote:
> If SMT is disabled or a partial SMT state is enabled, when a new kernel
> image is loaded for kexec, on reboot the following warning is observed:
>
> kexec: Waking offline cpu 228.
> WARNING: CPU: 0 PID: 9062 at arch/powerpc/kexec/core_64.c:223
> kexec_prepare_cpus+0x1b0/0x1bc
> [snip]
> NIP kexec_prepare_cpus+0x1b0/0x1bc
> LR kexec_prepare_cpus+0x1a0/0x1bc
> Call Trace:
> kexec_prepare_cpus+0x1a0/0x1bc (unreliable)
> default_machine_kexec+0x160/0x19c
> machine_kexec+0x80/0x88
> kernel_kexec+0xd0/0x118
> __do_sys_reboot+0x210/0x2c4
> system_call_exception+0x124/0x320
> system_call_vectored_common+0x15c/0x2ec
>
> [...]
Applied to powerpc/fixes.
[1/1] powerpc/kexec: Enable SMT before waking offline CPUs
https://git.kernel.org/powerpc/c/c2296a1e42418556efbeb5636c4fa6aa6106713a
cheers