Re: [PATCH v2 4/8] RISC-V: KVM: Forward SBI DBCN extension to user-space

2023-10-19 Thread Andrew Jones
On Thu, Oct 12, 2023 at 10:45:05AM +0530, Anup Patel wrote: > 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 emu

Re: [PATCH v2 4/8] RISC-V: KVM: Forward SBI DBCN extension to user-space

2023-10-19 Thread Andrew Jones
On Thu, Oct 12, 2023 at 10:45:05AM +0530, Anup Patel wrote: > 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 emu

[PATCH v2 4/8] RISC-V: KVM: Forward SBI DBCN extension to user-space

2023-10-11 Thread Anup Patel
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 S