Skip to content

RISC-V virt MHP support

Björn Töpel qemu-devel qemu-riscv 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 10 repliesIn review
  2. v11 patch 9 repliesSuperseded

Changes in v2 from the cover letter

* 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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3hw/riscv/virt: Add memory hotplugging and virtio-md-pci supporthw/riscv/Kconfig hw/riscv/virt.c hw/virtio/virtio-mem.c+87 -38 replies
2/3hw/riscv/virt-acpi-build: Expose device memory in ACPI SRAThw/riscv/virt-acpi-build.c+7 -00 replies
3/3hw/riscv/virt: Add ACPI GED and PC-DIMM MHP supporthw/riscv/Kconfig hw/riscv/virt-acpi-build.c hw/riscv/virt.c +1 more+126 -32 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] RISC-V virt MHP support

From: Björn Töpel <[email protected]>

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

Signature · 1 line
2.40.1