qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC v1 0/2] Enforce gaps between DIMMs
@ 2015-10-09  6:49 Bharata B Rao
  2015-10-09  6:49 ` [Qemu-devel] [RFC v1 1/2] spapr: Accommadate alignment gaps in hotplug memory region Bharata B Rao
  2015-10-09  6:50 ` [Qemu-devel] [RFC v1 2/2] spapr: Force gaps between DIMM's GPA Bharata B Rao
  0 siblings, 2 replies; 5+ messages in thread
From: Bharata B Rao @ 2015-10-09  6:49 UTC (permalink / raw)
  To: qemu-devel; +Cc: imammedo, mst, Bharata B Rao, david

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.

Changes in v1
-------------
- Create DRC objects spanning the alignment-adjusted hotplug memory
  region instead of just for (maxmem - ramsize).
- Pass an alignment of 256M to pc_dimm_memory_plug() so that we always
  get 256M aligned DIMM addresses.

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-10-12 13:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-09  6:49 [Qemu-devel] [RFC v1 0/2] Enforce gaps between DIMMs Bharata B Rao
2015-10-09  6:49 ` [Qemu-devel] [RFC v1 1/2] spapr: Accommadate alignment gaps in hotplug memory region Bharata B Rao
2015-10-12 13:30   ` Igor Mammedov
2015-10-09  6:50 ` [Qemu-devel] [RFC v1 2/2] spapr: Force gaps between DIMM's GPA Bharata B Rao
2015-10-12 13:31   ` Igor Mammedov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).