Skip to content

ppc: LPCR synchronisation fixes

Nicholas Piggin qemu-devel 1 version Applied

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3spapr: Remove stale comment about power-saving LPCR bitshw/ppc/spapr_rtas.c+0 -13 replies
2/3spapr: Set LPCR to current AIL mode when starting a new CPUhw/ppc/spapr_rtas.c+9 -53 replies
3/3target/ppc: Synchronize with KVM's LPCR value when creating a vCPUhw/ppc/spapr_cpu_core.c target/ppc/kvm.c+26 -171 reply

Reviews trailers per patch

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

PatchCédric Le GoaterGreg Kurz
1/3R-b R-b
2/3R-b R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 0/3] ppc: LPCR synchronisation fixes

These incoherencies have been around for a while, but they've started to get noticed now because recent Linux guests crash when LPCR[AIL] is not set correctly (scv requires it). This series fixes at least AIL and DPFD incoherency between KVM and QEMU, and between different vCPUs.

Thanks,
Nick

Nicholas Piggin (3):
spapr: Remove stale comment about power-saving LPCR bits
spapr: Set LPCR to current AIL mode when starting a new CPU target/ppc: Synchronize with KVM's LPCR value when creating a vCPU

 hw/ppc/spapr_cpu_core.c |  9 ++++++---
 hw/ppc/spapr_rtas.c     | 15 +++++++++------
 target/ppc/kvm.c        | 34 ++++++++++++++++++++--------------
 3 files changed, 35 insertions(+), 23 deletions(-)
Signature · 1 line
2.23.0