[PATCH kvmtool 4/5] riscv: Add Sstc extension support

Anup Patel apatel at ventanamicro.com
Mon Aug 15 03:13:24 PDT 2022

From: Atish Patra <atishp at rivosinc.com>

Sstc extension allows the guest OS to program the timer directly without
relying on the SBI call. The kernel detects the presence of Sstc extnesion
from the riscv,isa DT property. Add the Sstc extension to the device tree
if it is supported by the host.

Signed-off-by: Atish Patra <atishp at rivosinc.com>
Signed-off-by: Anup Patel <apatel at ventanamicro.com>
 riscv/fdt.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/riscv/fdt.c b/riscv/fdt.c
index eb7851e..aeba042 100644
--- a/riscv/fdt.c
+++ b/riscv/fdt.c
@@ -18,6 +18,7 @@ struct isa_ext_info {
 struct isa_ext_info isa_info_arr[] = {
 static void dump_fdt(const char *dtb_file, void *fdt)

More information about the kvm-riscv mailing list