qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC 0/5] ARM virt: Support PC-DIMM at 2TB
@ 2018-06-22 10:19 Eric Auger
  2018-06-22 10:19 ` [Qemu-devel] [RFC 1/5] hw/arm/virt: Allocate device_memory Eric Auger
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Eric Auger @ 2018-06-22 10:19 UTC (permalink / raw)
  To: eric.auger.pro, eric.auger, qemu-devel, qemu-arm, peter.maydell,
	shameerali.kolothum.thodi, kwangwoo.lee, imammedo

This series aims at supporting PC-DIMM in machvirt. The device_memory
is set at 2TB. While its max capacity is currently limited to 2TB,
the actual size depends on the initial guest RAM size and maxmem
parameter. Using memory beyond 2TB is possible if KVM, the FW and the
guest supports up to 42 bit IPA/GPA.

Actual hot-plug and hot-unplug of PC-DIMM is not suported due to lack
of support of those features in baremetal.

This series reuses/rebases patches initially submitted by Shameer in [1]
and Kwangwoo in [2].

[1] [RFC v2 0/6] hw/arm: Add support for non-contiguous iova regions
http://patchwork.ozlabs.org/cover/914694/

[2] [RFC PATCH 0/3] add nvdimm support on AArch64 virt platform
https://lists.gnu.org/archive/html/qemu-devel/2016-07/msg04599.html

It has the following dependencies:

[3] [RFC 0/6] KVM/ARM: Dynamic and larger GPA size
https://lists.gnu.org/archive/html/qemu-devel/2018-06/msg05759.htm
which itself depends on the kernel series [4]

[4] [PATCH v2 00/17] kvm: arm64: Dynamic & 52bit IPA support
https://lkml.org/lkml/2018/3/27/437
For testing, use my kernel branch:
https://github.com/eauger/linux/tree/4.16.0-rc3-Suzuki-52b-IPA-v2

Best Regards

Eric

This QEMU series can be found at:
https://github.com/eauger/qemu/tree/v2.12.0-pcdimm-2tb-rfc

Tests:
- On Cavium Gigabyte, a 48b VM was created and PC-DIMM slots were successfully
  added and recognized by the guest. EDK2 has a fixed limit at 40b PA so this
  was tested without FW. NUMA config has not been tested yet.

Eric Auger (1):
  hw/arm/virt: Allocate device_memory

Shameer Kolothum (4):
  hw/arm/virt: Add pc-dimm mem hotplug framework
  hw/arm/boot: introduce fdt_add_memory_node helper
  hw/arm/boot: Expose the PC-DIMM nodes in the DT
  hw/arm/virt-acpi-build: Add PC-DIMM in SRAT

 default-configs/arm-softmmu.mak |   2 +
 hw/arm/boot.c                   | 110 ++++++++++++++++++++--------
 hw/arm/virt-acpi-build.c        |  34 +++++++++
 hw/arm/virt.c                   | 158 ++++++++++++++++++++++++++++++++--------
 include/hw/arm/arm.h            |   2 +
 include/hw/arm/virt.h           |   1 +
 6 files changed, 247 insertions(+), 60 deletions(-)

-- 
2.5.5

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

end of thread, other threads:[~2018-06-22 15:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-22 10:19 [Qemu-devel] [RFC 0/5] ARM virt: Support PC-DIMM at 2TB Eric Auger
2018-06-22 10:19 ` [Qemu-devel] [RFC 1/5] hw/arm/virt: Allocate device_memory Eric Auger
2018-06-22 10:19 ` [Qemu-devel] [RFC 2/5] hw/arm/virt: Add pc-dimm mem hotplug framework Eric Auger
2018-06-22 10:19 ` [Qemu-devel] [RFC 3/5] hw/arm/boot: introduce fdt_add_memory_node helper Eric Auger
2018-06-22 10:19 ` [Qemu-devel] [RFC 4/5] hw/arm/boot: Expose the PC-DIMM nodes in the DT Eric Auger
2018-06-22 10:19 ` [Qemu-devel] [RFC 5/5] hw/arm/virt-acpi-build: Add PC-DIMM in SRAT Eric Auger
2018-06-22 13:19 ` [Qemu-devel] [RFC 0/5] ARM virt: Support PC-DIMM at 2TB no-reply
2018-06-22 13:22   ` Auger Eric
2018-06-22 13:26 ` no-reply

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).