From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38548) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zj1G5-00005b-Td for qemu-devel@nongnu.org; Mon, 05 Oct 2015 04:36:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zj1G1-0000U5-Rq for qemu-devel@nongnu.org; Mon, 05 Oct 2015 04:36:33 -0400 Received: from e28smtp01.in.ibm.com ([122.248.162.1]:59192) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zj1G1-0000TS-4f for qemu-devel@nongnu.org; Mon, 05 Oct 2015 04:36:29 -0400 Received: from /spool/local by e28smtp01.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 5 Oct 2015 14:06:26 +0530 Received: from d28relay04.in.ibm.com (d28relay04.in.ibm.com [9.184.220.61]) by d28dlp02.in.ibm.com (Postfix) with ESMTP id 0FD723940049 for ; Mon, 5 Oct 2015 14:06:25 +0530 (IST) Received: from d28av03.in.ibm.com (d28av03.in.ibm.com [9.184.220.65]) by d28relay04.in.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t958ZR578388700 for ; Mon, 5 Oct 2015 14:05:27 +0530 Received: from d28av03.in.ibm.com (localhost [127.0.0.1]) by d28av03.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t958ZQJS027594 for ; Mon, 5 Oct 2015 14:05:26 +0530 From: Bharata B Rao Date: Mon, 5 Oct 2015 14:05:22 +0530 Message-Id: <1444034124-28747-1-git-send-email-bharata@linux.vnet.ibm.com> Subject: [Qemu-devel] [RFC v0 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, 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 + Igor's patchset applied. This has been very lightly tested and intention is to get feedback on the correctness aspect of this. Bharata B Rao (2): spapr: Accommadate alignment gaps in hotplug memory region spapr: Force gaps between DIMM's GPA hw/ppc/spapr.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) -- 2.1.0