From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zqcia-0006MA-Gb for qemu-devel@nongnu.org; Mon, 26 Oct 2015 04:01:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZqciV-00029e-Ml for qemu-devel@nongnu.org; Mon, 26 Oct 2015 04:01:24 -0400 Received: from e28smtp07.in.ibm.com ([122.248.162.7]:47124) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqciU-000293-Sm for qemu-devel@nongnu.org; Mon, 26 Oct 2015 04:01:19 -0400 Received: from /spool/local by e28smtp07.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 26 Oct 2015 13:31:15 +0530 Received: from d28relay05.in.ibm.com (d28relay05.in.ibm.com [9.184.220.62]) by d28dlp03.in.ibm.com (Postfix) with ESMTP id 11933125805B for ; Mon, 26 Oct 2015 13:31:05 +0530 (IST) Received: from d28av02.in.ibm.com (d28av02.in.ibm.com [9.184.220.64]) by d28relay05.in.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t9Q80omt6750376 for ; Mon, 26 Oct 2015 13:30:50 +0530 Received: from d28av02.in.ibm.com (localhost [127.0.0.1]) by d28av02.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t9Q80mlQ010664 for ; Mon, 26 Oct 2015 13:30:49 +0530 From: Bharata B Rao Date: Mon, 26 Oct 2015 13:30:36 +0530 Message-Id: <1445846438-7324-1-git-send-email-bharata@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH v2 0/2] Enforce gaps between DIMMs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: imammedo@redhat.com, mst@redhat.com, Bharata B Rao , david@gibson.dropbear.id.au The suggested way to work around the virtio bug reported here http://lists.nongnu.org/archive/html/qemu-devel/2015-08/msg00522.html is to introduce gaps between DIMMs. Igor's patchset changes the pc-dimm auto-address assignment to introduce gaps and ues the same from pc memhp. This patchset does the same for sPAPR PowerPC. Before introducing the gap, ensure that memory hotplug region has enough room for alignment adjustment. We accommodate a max alignment of 256MB for each slot since sPAPR memory hotplug enforces an alignment requirement of 256MB on RAM size, maxmem and NUMA node mem sizes. This applies on David's spapr-next branch. Changes in v2 ------------- - Minor rewording of patch description and code comment in 1/2. v1: http://lists.nongnu.org/archive/html/qemu-devel/2015-10/msg02414.html v0: https://lists.gnu.org/archive/html/qemu-devel/2015-10/msg00749.html Bharata B Rao (2): spapr: Accommadate alignment gaps in hotplug memory region spapr: Force gaps between DIMM's GPA hw/ppc/spapr.c | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) -- 2.1.0