From: Eric Auger <eric.auger@redhat.com>
To: eric.auger.pro@gmail.com, eric.auger@redhat.com,
qemu-devel@nongnu.org, qemu-arm@nongnu.org,
peter.maydell@linaro.org, shameerali.kolothum.thodi@huawei.com,
kwangwoo.lee@sk.com, imammedo@redhat.com
Subject: [Qemu-devel] [RFC 0/5] ARM virt: Support PC-DIMM at 2TB
Date: Fri, 22 Jun 2018 12:19:04 +0200 [thread overview]
Message-ID: <1529662749-32069-1-git-send-email-eric.auger@redhat.com> (raw)
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
next reply other threads:[~2018-06-22 10:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-22 10:19 Eric Auger [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1529662749-32069-1-git-send-email-eric.auger@redhat.com \
--to=eric.auger@redhat.com \
--cc=eric.auger.pro@gmail.com \
--cc=imammedo@redhat.com \
--cc=kwangwoo.lee@sk.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=shameerali.kolothum.thodi@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).