qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [RFC v1 0/2] RISC-V: ACPI: Enable SPCR
@ 2023-12-28  8:06 Sia Jee Heng
  2023-12-28  8:06 ` [RFC v1 1/2] hw/arm/virt-acpi-build.c: Migrate SPCR creation to common location Sia Jee Heng
  2023-12-28  8:06 ` [RFC v1 2/2] hw/riscv/virt-acpi-build.c: Generate SPCR table Sia Jee Heng
  0 siblings, 2 replies; 3+ messages in thread
From: Sia Jee Heng @ 2023-12-28  8:06 UTC (permalink / raw)
  To: qemu-arm, qemu-devel, qemu-riscv
  Cc: mst, imammedo, anisinha, peter.maydell, jeeheng.sia,
	shannon.zhaosl, sunilvl, palmer, alistair.francis, bin.meng,
	liwei1518, dbarboza, zhiwei_liu

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/20231218150247.466427-1-sunilvl@ventanamicro.com/

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

-- 
2.34.1



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

end of thread, other threads:[~2023-12-28 14:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-28  8:06 [RFC v1 0/2] RISC-V: ACPI: Enable SPCR Sia Jee Heng
2023-12-28  8:06 ` [RFC v1 1/2] hw/arm/virt-acpi-build.c: Migrate SPCR creation to common location Sia Jee Heng
2023-12-28  8:06 ` [RFC v1 2/2] hw/riscv/virt-acpi-build.c: Generate SPCR table Sia Jee Heng

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