This series contains a number of cleanups to the way we set up and start a guest in PAPR mode.
Applies on top of my ppc-for-2.13 branch. David Gibson (10): spapr: Avoid redundant calls to spapr_cpu_reset() spapr: Remove support for PowerPC 970 with pseries machine type target/ppc: Remove unnecessary initialization of LPCR_UPRT spapr: Set compatibility mode before the rest of spapr_cpu_reset() spapr: Move PAPR mode register initialization to spapr code target/ppc: Add ppc_store_lpcr() helper spapr: Make a helper to set up cpu entry point state spapr: Clean up handling of LPCR power-saving exit bits target/ppc: Don't bother with MSR_EP in cpu_ppc_set_papr() spapr: Move PAPR specific cpu logic to pseries machine type hw/ppc/spapr.c | 71 ++++++++++++++--------------------------- hw/ppc/spapr_cpu_core.c | 71 +++++++++++++++++++++++++++++++---------- hw/ppc/spapr_rtas.c | 10 ++---- include/hw/ppc/spapr_cpu_core.h | 5 +++ target/ppc/cpu.h | 2 +- target/ppc/kvm.c | 40 +++-------------------- target/ppc/kvm_ppc.h | 6 ---- target/ppc/mmu-hash64.c | 15 ++++++--- target/ppc/mmu-hash64.h | 3 +- target/ppc/translate_init.c | 71 +++-------------------------------------- 10 files changed, 109 insertions(+), 185 deletions(-) -- 2.14.3