Received: from eggs.gnu.org ([2001:4830:134:3::10]:58990) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aP2kV-0006cO-CH for qemu-devel@nongnu.org; Fri, 29 Jan 2016 01:41:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aP2kQ-0000Rv-Br for qemu-devel@nongnu.org; Fri, 29 Jan 2016 01:41:39 -0500 From: David Gibson Date: Fri, 29 Jan 2016 17:42:18 +1100 Message-Id: <1454049744-19131-1-git-send-email-david@gibson.dropbear.id.au> Subject: [Qemu-devel] [RFCv2 0/6] PAPR hash page table resizing List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: benh@kernel.crashing.org, paulus@samba.org, 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 series implements the host / qemu side to allow hash page table (HPT) resizing for PAPR (pseries machine type) guests. This is a proposed extension to the PAPR spec. It also requires awareness on the guest side, which I've posted a series for today. This applies on top of my ppc-for-2.6 branch. Changes from RFCv1: * Limit the guest's HPT to one order larger than we'd usually give them * Size initial HPT for initial rather than maximum memory for guests that are HPT resize aware David Gibson (6): pseries: Simplify handling of the hash page table fd pseries: Move hash page table allocation to reset time pseries: Stubs for HPT resizing pseries: Implement HPT resizing pseries: Enable HPT resizing for 2.6 pseries: Use smaller default hash page tables when guest can resize hw/ppc/spapr.c | 278 +++++++++++++++++++---------------- hw/ppc/spapr_hcall.c | 375 +++++++++++++++++++++++++++++++++++++++++++++++- include/hw/ppc/spapr.h | 20 ++- target-ppc/mmu-hash64.h | 4 + trace-events | 2 + 5 files changed, 553 insertions(+), 126 deletions(-) -- 2.5.0