Skip to content

pseries: avoid unplug the last online CPU core + assorted fixes

Daniel Henrique Barboza qemu-devel 1 version Applied

Status from this message: Applied to ppc-for-6.0, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 15 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/7spapr.h: fix trailing whitespace in phb_placementinclude/hw/ppc/spapr.h+1 -11 reply
2/7spapr_hcall.c: make do_client_architecture_support statichw/ppc/spapr_hcall.c include/hw/ppc/spapr.h+1 -51 reply
3/7spapr_rtas.c: fix identation in rtas_ibm_nmi_interlock() stringhw/ppc/spapr_rtas.c+2 -11 reply
4/7spapr_rtas.c: fix identation of rtas_ibm_suspend_me() argshw/ppc/spapr_rtas.c+3 -31 reply
5/7spapr_cpu_core.c: use g_auto* in spapr_create_vcpu()hw/ppc/spapr_cpu_core.c+3 -91 reply
6/7spapr.c: introduce spapr_core_unplug_possible()hw/ppc/spapr.c+20 -71 reply
7/7spapr.c: consider CPU core online state before allowing unplughw/ppc/spapr.c+38 -19 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/7] pseries: avoid unplug the last online CPU core + assorted fixes

Hello,

The last 2 patches of this series contains a fix for a hotunplug situation that we have in the pseries machine, where hotunpluging the last online CPU of the guest causes the machine to behave not that great (https://bugzilla.redhat.com/show_bug.cgi?id=1911414).

First 5 patches are somewhat trivial changes that I ended up doing while investigating.

Daniel Henrique Barboza (7):
spapr.h: fix trailing whitespace in phb_placement spapr_hcall.c: make do_client_architecture_support static spapr_rtas.c: fix identation in rtas_ibm_nmi_interlock() string spapr_rtas.c: fix identation of rtas_ibm_suspend_me() args spapr_cpu_core.c: use g_auto* in spapr_create_vcpu() spapr.c: introduce spapr_core_unplug_possible() spapr.c: consider CPU core online state before allowing unplug

 hw/ppc/spapr.c          | 66 ++++++++++++++++++++++++++++++++++++-----
 hw/ppc/spapr_cpu_core.c | 12 ++------
 hw/ppc/spapr_hcall.c    |  1 +
 hw/ppc/spapr_rtas.c     |  9 +++---
 include/hw/ppc/spapr.h  |  7 +----
 5 files changed, 68 insertions(+), 27 deletions(-)
Signature · 1 line
2.26.2