From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47668) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abiPD-0003I0-5P for qemu-devel@nongnu.org; Fri, 04 Mar 2016 00:36:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1abiP9-00076y-TL for qemu-devel@nongnu.org; Fri, 04 Mar 2016 00:36:03 -0500 From: David Gibson Date: Fri, 4 Mar 2016 16:35:51 +1100 Message-Id: <1457069753-13123-1-git-send-email-david@gibson.dropbear.id.au> Subject: [Qemu-devel] [PATCH 0/2] target-ppc: Clean up handling of SDR1 and external HPTs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: gkurz@linux.vnet.ibm.com, aik@ozlabs.ru Cc: lvivier@redhat.com, thuth@redhat.com, mdroth@linux.vnet.ibm.com, qemu-devel@nongnu.org, agraf@suse.de, qemu-ppc@nongnu.org, David Gibson 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