[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-arm] [PATCH-for-4.2 v7 00/10] ARM virt: ACPI memory hotplug suppor
[Qemu-arm] [PATCH-for-4.2 v7 00/10] ARM virt: ACPI memory hotplug support
Tue, 16 Jul 2019 16:38:06 +0100
This series is an attempt to provide device memory hotplug support
on ARM virt platform. This is based on Eric's recent works here
and carries some of the pc-dimm related patches dropped from his
The kernel support for arm64 memory hot add was added recently by
Robin and hence the guest kernel should be => 5.0-rc1.
NVDIM support is not included currently as we still have an unresolved
issue while hot adding NVDIMM. However NVDIMM cold plug patches
can be included, but not done for now, for keeping it simple.
This makes use of GED device to sent hotplug ACPI events to the
Guest. GED code is based on Nemu. Thanks to the efforts of Samuel and
Sebastien to add the hardware-reduced support to Nemu using GED
device. (Please shout if I got the author/signed-off wrong for
those patches or missed any names).
This is sanity tested on a HiSilicon ARM64 platform and appreciate
any further testing.
v6 --> v7
- Added 4.2 machine support and restricted GED creation for < 4.2
This is to address the migration test fail reported by Eric.
- Included "tests: Update DSDT ACPI table.." patch(#10) from Eric
to fix the "make check" bios-tables-test failure.
v5 --> v6
-Addressed comments from Eric.
-Added R-by from Eric and Igor.
v4 --> v5
-Removed gsi/ged-irq routing in virt.
-Added Migration support.
-Dropped support for DT coldplug case based on the discussions
-Added system_powerdown support through GED.
v3 --> v4
Addressed comments from Igor and Eric,
-Renamed "virt-acpi" to "acpi-ged".
-Changed ged device parent to TYPE_DEVICE.
-Introduced DT memory node property "hotpluggable" to resolve device
memory being treated as early boot memory issue(patch #7).
-Combined patches #3 and #9 from v3 into #3.
v2 --> v3
Addressed comments from Igor and Eric,
-Made virt acpi device platform independent and moved
-Moved ged specific code into hw/acpi/generic_event_device.c
-Introduced an opt-in feature "fdt" to resolve device-memory being
treated as early boot memory.
-Dropped patch #1 from v2.
RFC --> v2
-Use GED device instead of GPIO for ACPI hotplug events.
-Removed NVDIMM support for now.
-Includes dropped patches from Eric's v9 series.
Eric Auger (2):
hw/arm/virt: Add memory hotplug framework
tests: Update DSDT ACPI table for arm/virt board with PCDIMM related
Samuel Ortiz (2):
hw/acpi: Do not create memory hotplug method when handler is not
hw/acpi: Add ACPI Generic Event Device Support
Shameer Kolothum (6):
hw/acpi: Make ACPI IO address space configurable
hw/arm/virt: Add 4.2 machine type
hw/arm/virt: Enable device memory cold/hot plug with ACPI boot
hw/arm/virt-acpi-build: Add PC-DIMM in SRAT
hw/acpi: Add system power down support to GED
hw/arm: Use GED for system_powerdown event
hw/acpi/Kconfig | 4 +
hw/acpi/Makefile.objs | 1 +
hw/acpi/generic_event_device.c | 352 +++++++++++++++++++++++++
hw/acpi/memory_hotplug.c | 35 +--
hw/arm/Kconfig | 4 +
hw/arm/virt-acpi-build.c | 58 ++--
hw/arm/virt.c | 99 ++++++-
hw/core/machine.c | 3 +
hw/i386/acpi-build.c | 3 +-
include/hw/acpi/generic_event_device.h | 106 ++++++++
include/hw/acpi/memory_hotplug.h | 9 +-
include/hw/arm/virt.h | 4 +
include/hw/boards.h | 3 +
tests/data/acpi/virt/DSDT | Bin 18476 -> 18493 bytes
14 files changed, 625 insertions(+), 56 deletions(-)
create mode 100644 hw/acpi/generic_event_device.c
create mode 100644 include/hw/acpi/generic_event_device.h
- [Qemu-arm] [PATCH-for-4.2 v7 00/10] ARM virt: ACPI memory hotplug support,
Shameer Kolothum <=
- [Qemu-arm] [PATCH-for-4.2 v7 02/10] hw/acpi: Do not create memory hotplug method when handler is not defined, Shameer Kolothum, 2019/07/16
- [Qemu-arm] [PATCH-for-4.2 v7 05/10] hw/arm/virt: Add 4.2 machine type, Shameer Kolothum, 2019/07/16
- [Qemu-arm] [PATCH-for-4.2 v7 04/10] hw/arm/virt: Add memory hotplug framework, Shameer Kolothum, 2019/07/16
- [Qemu-arm] [PATCH-for-4.2 v7 01/10] hw/acpi: Make ACPI IO address space configurable, Shameer Kolothum, 2019/07/16
- [Qemu-arm] [PATCH-for-4.2 v7 06/10] hw/arm/virt: Enable device memory cold/hot plug with ACPI boot, Shameer Kolothum, 2019/07/16
- [Qemu-arm] [PATCH-for-4.2 v7 03/10] hw/acpi: Add ACPI Generic Event Device Support, Shameer Kolothum, 2019/07/16