All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Björn Töpel" <bjorn@kernel.org>
To: Palmer Dabbelt <palmer@dabbelt.com>,
	Alistair Francis <alistair.francis@wdc.com>,
	Bin Meng <bmeng.cn@gmail.com>, Weiwei Li <liwei1518@gmail.com>,
	Daniel Henrique Barboza <dbarboza@ventanamicro.com>,
	Liu Zhiwei <zhiwei_liu@linux.alibaba.com>,
	qemu-riscv@nongnu.org, qemu-devel@nongnu.org,
	David Hildenbrand <david@redhat.com>,
	Atish Patra <atishp@atishpatra.org>,
	Atish Patra <atishp@rivosinc.com>
Cc: "Björn Töpel" <bjorn@rivosinc.com>,
	"Sunil V L" <sunilvl@ventanamicro.com>,
	"Santosh Mamila" <santosh.mamila@catalinasystems.io>,
	"Chethan Seshadri" <Chethan.Seshadri@catalinasystems.io>,
	"Sivakumar Munnangi" <siva.munnangi@catalinasystems.io>
Subject: [PATCH v2 0/3] RISC-V virt MHP support
Date: Tue, 21 May 2024 12:56:32 +0200	[thread overview]
Message-ID: <20240521105635.795211-1-bjorn@kernel.org> (raw)

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



             reply	other threads:[~2024-05-21 10:57 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-21 10:56 Björn Töpel [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240521105635.795211-1-bjorn@kernel.org \
    --to=bjorn@kernel.org \
    --cc=Chethan.Seshadri@catalinasystems.io \
    --cc=alistair.francis@wdc.com \
    --cc=atishp@atishpatra.org \
    --cc=atishp@rivosinc.com \
    --cc=bjorn@rivosinc.com \
    --cc=bmeng.cn@gmail.com \
    --cc=david@redhat.com \
    --cc=dbarboza@ventanamicro.com \
    --cc=liwei1518@gmail.com \
    --cc=palmer@dabbelt.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-riscv@nongnu.org \
    --cc=santosh.mamila@catalinasystems.io \
    --cc=siva.munnangi@catalinasystems.io \
    --cc=sunilvl@ventanamicro.com \
    --cc=zhiwei_liu@linux.alibaba.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.