[PATCH] powerpc/pseries: Fix scv instruction crash with kexec

Michael Ellerman patch-notifications at ellerman.id.au
Sun Jul 7 08:49:57 AEST 2024


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


More information about the Linuxppc-dev mailing list