Hi Fei, Daniel,

On 11/11/25 19:29, Daniel Henrique Barboza wrote:
From: Fei Wu <[email protected]>

The RISC-V Server Platform specification [1] defines a standardized set
of hardware and software capabilities, that portable system software,
such as OS and hypervisors can rely on being present in a RISC-V server
platform.

We do not have all the required extensions in QEMU: we're missing
'sdext'. In theory we shouldn't go ahead with this work, but the
emulation as is now is proving to be useful for development and testing
of other parts of the SW stack (firmware, kernel) and we would like to
make it broadly available to everyone. We're contributing it as
'experimental', hopefully making it clear that the board does NOT
complies 100% with [1].

The main features included in this emulation are:

  - Based on riscv virt machine type
  - A new memory map as close as virt machine as possible
  - A new virt CPU type rvsp-ref-cpu for server platform compliance
  - AIA
  - PCIe AHCI
  - PCIe NIC
  - No virtio device
  - No fw_cfg device
  - No ACPI table provided
  - Only minimal device tree nodes

[1] https://github.com/riscv-non-isa/riscv-server-platform

Signed-off-by: Fei Wu <[email protected]>
Signed-off-by: Daniel Henrique Barboza <[email protected]>
---
  configs/devices/riscv64-softmmu/default.mak |    1 +
  hw/riscv/Kconfig                            |   14 +
  hw/riscv/meson.build                        |    1 +
  hw/riscv/server_platform_ref.c              | 1276 +++++++++++++++++++

Too big to my taste to review and/or look back in future.

(Don't bother splitting if someone is willing to review the patch).

  4 files changed, 1292 insertions(+)
  create mode 100644 hw/riscv/server_platform_ref.c

Reply via email to