[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-arm] [RFC 0/5] ARM virt: Support PC-DIMM at 2TB
From: |
Eric Auger |
Subject: |
[Qemu-arm] [RFC 0/5] ARM virt: Support PC-DIMM at 2TB |
Date: |
Fri, 22 Jun 2018 12:19:04 +0200 |
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
- [Qemu-arm] [RFC 0/5] ARM virt: Support PC-DIMM at 2TB,
Eric Auger <=
- [Qemu-arm] [RFC 3/5] hw/arm/boot: introduce fdt_add_memory_node helper, Eric Auger, 2018/06/22
- [Qemu-arm] [RFC 5/5] hw/arm/virt-acpi-build: Add PC-DIMM in SRAT, Eric Auger, 2018/06/22
- [Qemu-arm] [RFC 4/5] hw/arm/boot: Expose the PC-DIMM nodes in the DT, Eric Auger, 2018/06/22
- [Qemu-arm] [RFC 1/5] hw/arm/virt: Allocate device_memory, Eric Auger, 2018/06/22
- [Qemu-arm] [RFC 2/5] hw/arm/virt: Add pc-dimm mem hotplug framework, Eric Auger, 2018/06/22
- Re: [Qemu-arm] [Qemu-devel] [RFC 0/5] ARM virt: Support PC-DIMM at 2TB, no-reply, 2018/06/22
- Re: [Qemu-arm] [Qemu-devel] [RFC 0/5] ARM virt: Support PC-DIMM at 2TB, no-reply, 2018/06/22