This pair of patches cleans up handling of SDR1 (master page table pointer register for Power) and related cases with an external (i.e. managed by qemu or KVM, rather than the guest) hash page table (HPT).
I wouldn't push 1/2 on its own after the soft freeze, except that it simplifies 2/2 which fixes a real regression. David Gibson (2): target-ppc: Add helpers for updating a CPU's SDR1 and external HPT target-ppc: Eliminate kvmppc_kern_htab global hw/ppc/spapr.c | 16 ++-------- hw/ppc/spapr_hcall.c | 10 +++---- target-ppc/kvm.c | 15 ++++++++++ target-ppc/kvm_ppc.h | 6 ++++ target-ppc/mmu-hash64.c | 80 ++++++++++++++++++++++++++++++++++++------------- target-ppc/mmu-hash64.h | 11 ++++--- target-ppc/mmu_helper.c | 13 ++++---- 7 files changed, 101 insertions(+), 50 deletions(-) -- 2.5.0