[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH 0/8] spapr: Cleanups to startup and LPCR handling
From: |
David Gibson |
Subject: |
[Qemu-ppc] [PATCH 0/8] spapr: Cleanups to startup and LPCR handling |
Date: |
Thu, 3 May 2018 16:21:37 +1000 |
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