This patch series add an evaluation environment of NVDIMM on AArch64 virt platform. Three parts need to be implemented to make this feature working properly.
1. memory hotplug on arm virt platform 2. configurable ACPI IO base and size both for i386 and arm platform 3. enable NVDIMM on arm virt platform The memory hotplug is required to recognize DIMM type memory and this is also used for NVDIMM device recognition. The ACPI IO base and size need to be changed on creating ACPI NFIT because arm platform uses memory-mapped IO which is different from i386 platform. Thus, this patch set includes the changes of setting ACPI IO base and size during NVDIMM initialization. The last part enables NVDIMM on arm virt platform. The feature is disabled by default. So explicit option - nvdimm=on - is required to enable the feature. Kwangwoo Lee (3): hw/arm/virt: add hotplug memory support nvdimm: use configurable ACPI IO base and size hw/arm/virt: add nvdimm emulation support default-configs/aarch64-softmmu.mak | 3 + hw/acpi/nvdimm.c | 23 ++++-- hw/arm/virt-acpi-build.c | 5 ++ hw/arm/virt.c | 144 ++++++++++++++++++++++++++++++++++++ hw/i386/acpi-build.c | 2 +- hw/i386/pc_piix.c | 8 +- hw/i386/pc_q35.c | 8 +- include/hw/arm/virt-acpi-build.h | 1 + include/hw/arm/virt.h | 7 ++ include/hw/mem/nvdimm.h | 17 ++++- 10 files changed, 206 insertions(+), 12 deletions(-) -- 2.5.0