qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/3] ppc/pnv: SMT support for powernv
@ 2023-06-29  2:16 Nicholas Piggin
  2023-06-29  2:16 ` [RFC PATCH 1/3] target/ppc: Add LPAR-per-core vs per-thread mode flag Nicholas Piggin
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Nicholas Piggin @ 2023-06-29  2:16 UTC (permalink / raw)
  To: qemu-devel
  Cc: Nicholas Piggin, qemu-ppc, Daniel Henrique Barboza,
	Cédric Le Goater, David Gibson, Greg Kurz,
	Harsh Prateek Bora

These patches implement enough to boot a SMT powernv machine to Linux
and boot a SMP KVM guest inside that.

There are a few more SPRs that need to be done, and per-LPAR SPRs are
mostly not annotated yet so it can't run in 1LPAR mode. But it is
enough to run skiboot/Linux with SMT so I'll just post the minimal
patches for RFC because the concept isn't really different to add
more SPRs and things.

Thanks,
Nick

Nicholas Piggin (3):
  target/ppc: Add LPAR-per-core vs per-thread mode flag
  target/ppc: SMT support for the HID SPR
  ppc/pnv: SMT support for powernv

 hw/ppc/pnv.c             | 12 ++++++++++++
 hw/ppc/pnv_core.c        | 13 +++++--------
 hw/ppc/spapr_cpu_core.c  |  2 ++
 target/ppc/cpu.h         |  3 +++
 target/ppc/cpu_init.c    | 14 +++++++++++++-
 target/ppc/helper.h      |  1 +
 target/ppc/misc_helper.c | 21 +++++++++++++++++++++
 target/ppc/spr_common.h  |  1 +
 target/ppc/translate.c   | 32 +++++++++++++++++++++++++++++---
 9 files changed, 87 insertions(+), 12 deletions(-)

-- 
2.40.1



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-06-30  8:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-29  2:16 [RFC PATCH 0/3] ppc/pnv: SMT support for powernv Nicholas Piggin
2023-06-29  2:16 ` [RFC PATCH 1/3] target/ppc: Add LPAR-per-core vs per-thread mode flag Nicholas Piggin
2023-06-30  8:17   ` Joel Stanley
2023-06-29  2:16 ` [RFC PATCH 2/3] target/ppc: SMT support for the HID SPR Nicholas Piggin
2023-06-29  2:16 ` [RFC PATCH 3/3] ppc/pnv: SMT support for powernv Nicholas Piggin
2023-06-29  5:35   ` Cédric Le Goater
2023-06-29  6:28 ` [RFC PATCH 0/3] " Cédric Le Goater
2023-06-29  7:59 ` Cédric Le Goater

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).