Re: [PATCH] powerpc/pseries: Fix scv instruction crash with kexec
From: Michael Ellerman <hidden>
Date: 2024-07-06 22:51:38
From: Michael Ellerman <hidden>
Date: 2024-07-06 22:51:38
On Tue, 25 Jun 2024 23:40:47 +1000, Nicholas Piggin wrote:
kexec on pseries disables AIL (reloc_on_exc), required for scv instruction support, before other CPUs have been shut down. This means they can execute scv instructions after AIL is disabled, which causes an interrupt at an unexpected entry location that crashes the kernel. Change the kexec sequence to disable AIL after other CPUs have been brought down. [...]
Applied to powerpc/fixes.
[1/1] powerpc/pseries: Fix scv instruction crash with kexec
https://git.kernel.org/powerpc/c/21a741eb75f80397e5f7d3739e24d7d75e619011
cheers