All of lore.kernel.org
 help / color / mirror / Atom feed
* BE KVM breakage in kernel 5.14 and forward
@ 2023-05-13 12:39 Marcus Comstedt
  0 siblings, 0 replies; only message in thread
From: Marcus Comstedt @ 2023-05-13 12:39 UTC (permalink / raw)
  To: kvm-ppc


Greetings!

I'm using a Talos II with dual POWER9 DD2.2 processors in a BE, radix,
64k page config.

When trying to upgrade from 5.4.206 to 6.1.26, I noticed that all my
KVM virtual machines stopped working.  I tried the other stables, and
found that 5.15.111 was also broken, but 5.10.179 was fine.

So I did a bisect between 5.10 and 5.15 and ended up with the
following commit:


  commit 89d35b23910158a9add33a206e973f4227906d3c (HEAD)
  Author: Nicholas Piggin <npiggin@gmail.com>
  Date:   Fri May 28 19:07:34 2021 +1000

      KVM: PPC: Book3S HV P9: Implement the rest of the P9 path in C


In the commit before (9dc2babc185e) everything is working, but from
89d35b2391015 and forward what happens is that any KVM guest will
freeze really early (after the "FW Version = git-6b6c16b4b4076350"
printout from SLOF) running at 100% CPU on a single thread without
progress.  There is no relevant message in dmesg.

I notice that the commit in question seems to make some assumptions
related to the stack frame layout.  BE kernels are always
compiled with -mabi=elfv1 (hardcoded in arch/powerpc/Makefile for
5.14/5.15, then moved to arch/powerpc/platforms/Kconfig.cputype in
6.1); could it be that this code needs to be adjusted depending on the
ELF ABI version?



  // Marcus


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-05-13 12:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-13 12:39 BE KVM breakage in kernel 5.14 and forward Marcus Comstedt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.