qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] RISC-V virt MHP support
@ 2024-05-21 10:56 Björn Töpel
  2024-05-21 10:56 ` [PATCH v2 1/3] hw/riscv/virt: Add memory hotplugging and virtio-md-pci support Björn Töpel
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Björn Töpel @ 2024-05-21 10:56 UTC (permalink / raw)
  To: Palmer Dabbelt, Alistair Francis, Bin Meng, Weiwei Li,
	Daniel Henrique Barboza, Liu Zhiwei, qemu-riscv, qemu-devel,
	David Hildenbrand, Atish Patra, Atish Patra
  Cc: Björn Töpel, Sunil V L, Santosh Mamila,
	Chethan Seshadri, Sivakumar Munnangi

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



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2024-05-27 13:19 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-21 10:56 [PATCH v2 0/3] RISC-V virt MHP support Björn Töpel
2024-05-21 10:56 ` [PATCH v2 1/3] hw/riscv/virt: Add memory hotplugging and virtio-md-pci support Björn Töpel
2024-05-24  8:53   ` Daniel Henrique Barboza
2024-05-27 11:49     ` Björn Töpel
2024-05-24 13:14   ` Daniel Henrique Barboza
2024-05-24 15:02     ` David Hildenbrand
2024-05-24 15:29       ` Daniel Henrique Barboza
2024-05-27  7:19         ` David Hildenbrand
2024-05-27 12:03       ` Björn Töpel
2024-05-27 13:19         ` Daniel Henrique Barboza
2024-05-21 10:56 ` [PATCH v2 2/3] hw/riscv/virt-acpi-build: Expose device memory in ACPI SRAT Björn Töpel
2024-05-21 10:56 ` [PATCH v2 3/3] hw/riscv/virt: Add ACPI GED and PC-DIMM MHP support Björn Töpel
2024-05-24  9:10   ` Daniel Henrique Barboza
2024-05-27 12:08     ` Björn Töpel

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).