Skip to content

RFC RISC-V: ACPI: Enable SPCR

Sia Jee Heng qemu-arm qemu-devel qemu-riscv 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2hw/arm/virt-acpi-build.c: Migrate SPCR creation to common locationhw/acpi/aml-build.c hw/arm/virt-acpi-build.c include/hw/acpi/acpi-defs.h +1 more+115 -410 replies
2/2hw/riscv/virt-acpi-build.c: Generate SPCR tablehw/riscv/virt-acpi-build.c+39 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC v1 0/2] RISC-V: ACPI: Enable SPCR

This series focuses on enabling the Serial Port Console Redirection (SPCR) table for the RISC-V virt platform. Considering that ARM utilizes the same function, the initial patch involves migrating the build_spcr function to common code. This consolidation ensures that RISC-V avoids duplicating the function.

The patch set is built upon Alistair's riscv-to-apply.next branch and relies on Sunil's patches at [1].

[1] https://lore.kernel.org/qemu-devel/[email protected]/

Sia Jee Heng (2):
hw/arm/virt-acpi-build.c: Migrate SPCR creation to common location hw/riscv/virt-acpi-build.c: Generate SPCR table

 hw/acpi/aml-build.c         | 51 ++++++++++++++++++++++++++++
 hw/arm/virt-acpi-build.c    | 68 +++++++++++++++----------------------
 hw/riscv/virt-acpi-build.c  | 39 +++++++++++++++++++++
 include/hw/acpi/acpi-defs.h | 33 ++++++++++++++++++
 include/hw/acpi/aml-build.h |  4 +++
 5 files changed, 154 insertions(+), 41 deletions(-)
Signature · 1 line
2.34.1