Skip to content

RFC ppc/pnv: SMT support for powernv

Nicholas Piggin qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3target/ppc: Add LPAR-per-core vs per-thread mode flaghw/ppc/spapr_cpu_core.c target/ppc/cpu.h target/ppc/cpu_init.c +1 more+30 -31 reply
2/3target/ppc: SMT support for the HID SPRtarget/ppc/cpu_init.c target/ppc/helper.h target/ppc/misc_helper.c +2 more+40 -10 replies
3/3ppc/pnv: SMT support for powernvhw/ppc/pnv.c hw/ppc/pnv_core.c+17 -81 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchNicholas PigginCédric Le GoaterJoel Stanley
1/3R-b
2/3
3/3Not-yet-Signed-off-by R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [RFC PATCH 0/3] ppc/pnv: SMT support for powernv

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(-)
Signature · 1 line
2.40.1