mbox series

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

Message ID 20240502073751.102093-1-jeeheng.sia@starfivetech.com (mailing list archive)
Headers show
Series Enable SPCR table for console output on RISC-V | expand

Message

JeeHeng Sia May 2, 2024, 7:37 a.m. UTC
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