From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48740) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSxmB-0006wn-V1 for qemu-devel@nongnu.org; Mon, 08 Feb 2016 21:11:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSxm7-0000hL-Rd for qemu-devel@nongnu.org; Mon, 08 Feb 2016 21:11:35 -0500 From: David Gibson Date: Tue, 9 Feb 2016 12:12:19 +1000 Message-Id: <1454983946-32073-1-git-send-email-david@gibson.dropbear.id.au> Subject: [Qemu-devel] [PATCHv2 0/7] Cleanups to Hash Page Table handling List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: benh@kernel.crashing.org, aik@ozlabs.ru, agraf@suse.de Cc: qemu-ppc@nongnu.org, qemu-devel@nongnu.org, David Gibson This contains some assorted cleanups and small improvements to the management of the Hash Page Table for 64-bit ppc systems, and the "pseries" machine type in particular. These were devised in the context of getting hash page table resizing working, but can stand on their own. I think this is ready to go, if I get an R-b for 4 & 5 / 7 and no objections to the rest I'll merge into ppc-for-2.6 Changes in v2: * Split patch 4/6 into two (4,5/7) with helper for HPT size separate from moving the HPT initialization. David Gibson (7): target-ppc: Remove unused kvmppc_update_sdr1() stub target-ppc: Include missing MMU models for SDR1 in info registers pseries: Simplify handling of the hash page table fd pseries: Add helper to calculate recommended hash page table size pseries: Move hash page table allocation to reset time target-ppc: Remove hack for ppc_hash64_load_hpte*() with HV KVM target-ppc: Add helpers for updating a CPU's SDR1 and external HPT hw/ppc/spapr.c | 243 +++++++++++++++++++++--------------------------- include/hw/ppc/spapr.h | 1 - target-ppc/kvm.c | 15 +++ target-ppc/kvm_ppc.h | 11 ++- target-ppc/mmu-hash64.c | 36 +++++++ target-ppc/mmu-hash64.h | 8 +- target-ppc/mmu_helper.c | 13 ++- target-ppc/translate.c | 2 + 8 files changed, 175 insertions(+), 154 deletions(-) -- 2.5.0