[PATCH v2 0/1] Enable SPCR table for console output on RISC-V

From: Sia Jee Heng
Date: Thu May 02 2024 - 03:38:24 EST


The ACPI SPCR code has been used to enable console output for ARM64 and
X86. The same code can be reused for RISC-V. Furthermore, SPCR table is
mandated for headless system as outlined in the RISC-V BRS
Specification, chapter 6.

Changes in v2:
- Added code to handle early_init_dt_scan_chosen_stdout().

Sia Jee Heng (1):
RISC-V: ACPI: Enable SPCR table for console output on RISC-V

arch/riscv/Kconfig | 1 +
arch/riscv/kernel/acpi.c | 12 +++++++++++-
2 files changed, 12 insertions(+), 1 deletion(-)


base-commit: 0106679839f7c69632b3b9833c3268c316c0a9fc
--
2.34.1