tty: Add SBI debug console support to HVC SBI driver
authorAtish Patra <atishp@rivosinc.com>
Fri, 24 Nov 2023 07:09:04 +0000 (12:39 +0530)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 10 Jan 2024 15:04:05 +0000 (07:04 -0800)
commit88ead68e764cd164abb965e258c4e18841433ecf
tree12ffa2e9522e3ffc070a1618ef67a586c078e6d0
parentc77bf3607a0f0180aa674b58cfa76633215bb42f
tty: Add SBI debug console support to HVC SBI driver

RISC-V SBI specification supports advanced debug console
support via SBI DBCN extension.

Extend the HVC SBI driver to support it.

Signed-off-by: Atish Patra <atishp@rivosinc.com>
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20231124070905.1043092-5-apatel@ventanamicro.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
drivers/tty/hvc/Kconfig
drivers/tty/hvc/hvc_riscv_sbi.c