Re: [PATCH 0/2] KVM: PPC: BookE: Fix boot hang on preemptible kernels
From: Christian Zigotzky
Date: Thu Oct 22 2026 - 12:49:18 EST
On 29/09/26 17:51, Christian Zigotzky wrote:
On 28/09/26 13:04, Shrikanth Hegde wrote:Hi,
Christian Zigotzky had reported that preemptible kernels don't boot onHi,
his FSL Cyrus+ board. The board freezes on running either full/lazy
preemption and has been an issue for a while now.
https://lore.kernel.org/all/b897b0fd-90f2-4215-bcd4-3714e497d773@xxxxxxxxxxx/#t
After 7.0, there is only preempt=full/lazy which removed the
preempt=none/voluntary workaround used to mask the issue. There was
challenge is getting the console logs which made the fixes difficult since
one couldn't know where the issue is.
Thanks to Michal for helping in getting the logs. That pointed at few
places where the issue could be. This series is an attempt at fixing
those.
Christian, KVM team,
Please *test* the patches.
Shrikanth Hegde (2):
KVM: PPC: BookE: Disable preemption before loading guest FP and
Altivec
KVM: PPC: Replay pending interrupts before entering the guest
arch/powerpc/kvm/booke.c | 9 ++++++++-
arch/powerpc/kvm/powerpc.c | 13 +++++++++++++
2 files changed, 21 insertions(+), 1 deletion(-)
I was able to compile the RC5 of kernel 7.3 with your patches today. :-) [1]
After that I successfully tested it with KVM PR and KVM HV on my PowerPC machines.
Tested-by: Christian Zigotzky <chzigotzky@xxxxxxxxxxx>
Many thanks for your help,
Christian
[1] https://github.com/chzigotzky/kernels/releases/tag/v7.3.0-rc5-2
is it possible to add these patches to the kernel 7.4?
Thanks,
Christian
--
Sent with BrassMonkey 35.0.2 (https://github.com/chzigotzky/Web-Browsers-and-Suites-for-Linux-PPC/releases/tag/BrassMonkey_35.0.2)