aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cdx/controller/cdx_controller.c
diff options
context:
space:
mode:
authorAnup Patel <[email protected]>2022-07-22 14:16:24 +0000
committerAnup Patel <[email protected]>2023-10-20 11:20:36 +0000
commitc667ad229d13c41590882a35a8c159387b4e149b (patch)
treed2e8edb3b74e0f70dbfddc43946e357ce50a7400 /drivers/cdx/controller/cdx_controller.c
parentRISC-V: KVM: Allow some SBI extensions to be disabled by default (diff)
downloadkernel-c667ad229d13c41590882a35a8c159387b4e149b.tar.gz
kernel-c667ad229d13c41590882a35a8c159387b4e149b.zip
RISC-V: KVM: Forward SBI DBCN extension to user-space
The frozen SBI v2.0 specification defines the SBI debug console (DBCN) extension which replaces the legacy SBI v0.1 console functions namely sbi_console_getchar() and sbi_console_putchar(). The SBI DBCN extension needs to be emulated in the KVM user-space (i.e. QEMU-KVM or KVMTOOL) so we forward SBI DBCN calls from KVM guest to the KVM user-space which can then redirect the console input/output to wherever it wants (e.g. telnet, file, stdio, etc). The SBI debug console is simply a early console available to KVM guest for early prints and it does not intend to replace the proper console devices such as 8250, VirtIO console, etc. Signed-off-by: Anup Patel <[email protected]> Reviewed-by: Andrew Jones <[email protected]> Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions