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

Nicholas Piggin posted 3 patches 2 years, 10 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/next-importer-push tags/patchew/20210526091626.3388262-1-npiggin@gmail.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, Greg Kurz <groug@kaod.org>, David Gibson <david@gibson.dropbear.id.au>
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(-)
[PATCH v1 0/3] ppc: LPCR synchronisation fixes
Posted by Nicholas Piggin 2 years, 10 months ago
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(-)

-- 
2.23.0