Received: from eggs.gnu.org ([2001:4830:134:3::10]:57177) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjNIN-0006Fg-Hr for qemu-devel@nongnu.org; Tue, 06 Oct 2015 04:08:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZjNIK-0001AT-CI for qemu-devel@nongnu.org; Tue, 06 Oct 2015 04:08:23 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56635) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjNIK-00019W-0y for qemu-devel@nongnu.org; Tue, 06 Oct 2015 04:08:20 -0400 Date: Tue, 6 Oct 2015 10:08:16 +0200 From: Igor Mammedov Message-ID: <20151006100816.7850ed52@nial.brq.redhat.com> In-Reply-To: <20151005232244-mutt-send-email-mst@redhat.com> References: <1444034124-28747-1-git-send-email-bharata@linux.vnet.ibm.com> <20151005232244-mutt-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC v0 0/2] Enforce gaps between DIMMs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: david@gibson.dropbear.id.au, qemu-devel@nongnu.org, Bharata B Rao On Mon, 5 Oct 2015 23:24:33 +0300 "Michael S. Tsirkin" wrote: > On Mon, Oct 05, 2015 at 02:05:22PM +0530, Bharata B Rao wrote: > > 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 > > PC needs this, PPC needs this ... I don't see why would this not > apply everywhere. Isn't it time we just converted everyone? > Drop the gap flag, set it unconditionally for new machine types. I guess that flag is needed exactly for compatibility with old machine types which are per board thingy. BTW: does PPC have machine types? I don't see any compatibility code in this series? > > Thoughts? > > > > hw/ppc/spapr.c | 5 ++++- > > 1 file changed, 4 insertions(+), 1 deletion(-) > > > > -- > > 2.1.0 > >