[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/3] RISC-V virt MHP support
From: |
Björn Töpel |
Subject: |
[PATCH v2 0/3] RISC-V virt MHP support |
Date: |
Tue, 21 May 2024 12:56:32 +0200 |
From: Björn Töpel <bjorn@rivosinc.com>
The RISC-V "virt" machine is currently missing memory hotplugging
support (MHP). This series adds the missing virtio-md, and PC-DIMM
support.
I've include both the ACPI MHP/GED/PC-DIMM, and virtio-md in the same
series. The two patches (virtio-md) are probably less controversial,
and can be pulled separately from the last patch.
The first patch includes MHP that works with DT. The second patch is
basic device memory ACPI SRAT plumbing.
The third patch includes ACPI GED, and ACPI MHP/PC-DIMM support.
Changelog
v1->v2:
* Cap the maximum number of supported ram slots (Daniel)
* Split the ACPI parts out from virtio-md patch (Daniel)
* Allow for max 1G PC-DIMM alignment per ram slot (Daniel)
* Add missing defined(__riscv__) for virtio-mem code
* Include PC-DIMM MHP supportin the series
* Misc code structure changes
Cheers,
Björn
Björn Töpel (3):
hw/riscv/virt: Add memory hotplugging and virtio-md-pci support
hw/riscv/virt-acpi-build: Expose device memory in ACPI SRAT
hw/riscv/virt: Add ACPI GED and PC-DIMM MHP support
hw/riscv/Kconfig | 5 +
hw/riscv/virt-acpi-build.c | 23 +++++
hw/riscv/virt.c | 183 ++++++++++++++++++++++++++++++++++++-
hw/virtio/virtio-mem.c | 5 +-
include/hw/riscv/virt.h | 6 +-
5 files changed, 218 insertions(+), 4 deletions(-)
base-commit: 01782d6b294f95bcde334386f0aaac593cd28c0d
--
2.40.1
- [PATCH v2 0/3] RISC-V virt MHP support,
Björn Töpel <=
[PATCH v2 2/3] hw/riscv/virt-acpi-build: Expose device memory in ACPI SRAT, Björn Töpel, 2024/05/21