[kvm-unit-tests PATCH v2] riscv: Allow SBI_CONSOLE with no uart in device tree

Andrew Jones andrew.jones at linux.dev
Wed Jul 2 07:46:07 PDT 2025


On Fri, Jun 13, 2025 at 08:03:13AM -0700, Jesse Taube wrote:
> When CONFIG_SBI_CONSOLE is enabled and there is no uart defined in the
> device tree kvm-unit-tests fails to start.
> 
> Only abort when uart is not found in device tree if SBI_CONSOLE is false
> 
> Signed-off-by: Jesse Taube <jesse at rivosinc.com>
> ---
>  lib/riscv/io.c | 25 +++++++++++++++++++------
>  1 file changed, 19 insertions(+), 6 deletions(-)
>

Merged. Thanks



More information about the kvm-riscv mailing list