[Qemu-devel] [PATCH 0/8] spapr: Cleanups to startup and LPCR handling

David Gibson posted 8 patches 7 years, 5 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20180503062145.17899-1-david@gibson.dropbear.id.au
Test checkpatch passed
Test docker-build@min-glib passed
Test docker-mingw@fedora passed
Test s390x passed
hw/ppc/spapr.c                  |   4 +-
hw/ppc/spapr_cpu_core.c         |  47 +++++++++++---
hw/ppc/spapr_hcall.c            |  50 ++++++---------
hw/ppc/spapr_rtas.c             | 108 ++++++++++++++++----------------
include/hw/ppc/spapr_cpu_core.h |   3 +
target/ppc/cpu.h                |   2 +-
target/ppc/kvm.c                |   4 ++
target/ppc/mmu-hash64.c         |  15 +++--
target/ppc/mmu-hash64.h         |   3 +-
target/ppc/translate_init.c     |  62 +-----------------
10 files changed, 134 insertions(+), 164 deletions(-)
[Qemu-devel] [PATCH 0/8] spapr: Cleanups to startup and LPCR handling
Posted by David Gibson 7 years, 5 months ago
This is an assortment of patches cleaning up how we handle startup /
entry of CPUs for the pseries machine type.  In particular it makes a
number of cleanups to the way we manage the LPCR register.

I've posted versions of most of these patches before, however there
have been enough reworks and re-organizations that the series as a
whole isn't really a new version of an existing one.

David Gibson (8):
  target/ppc: Add ppc_store_lpcr() helper
  spapr: Clean up rtas_start_cpu() & rtas_stop_self()
  spapr: Remove unhelpful helpers from rtas_start_cpu()
  spapr: Make a helper to set up cpu entry point state
  spapr: Clean up LPCR updates from hypercalls
  target/ppc: Delay initialization of LPCR_UPRT for secondary cpus
  spapr: Move PAPR mode cpu setup fully to spapr code
  spapr: Clean up handling of LPCR power-saving exit bits

 hw/ppc/spapr.c                  |   4 +-
 hw/ppc/spapr_cpu_core.c         |  47 +++++++++++---
 hw/ppc/spapr_hcall.c            |  50 ++++++---------
 hw/ppc/spapr_rtas.c             | 108 ++++++++++++++++----------------
 include/hw/ppc/spapr_cpu_core.h |   3 +
 target/ppc/cpu.h                |   2 +-
 target/ppc/kvm.c                |   4 ++
 target/ppc/mmu-hash64.c         |  15 +++--
 target/ppc/mmu-hash64.h         |   3 +-
 target/ppc/translate_init.c     |  62 +-----------------
 10 files changed, 134 insertions(+), 164 deletions(-)

-- 
2.17.0