diff options
author | Anup Patel <apatel@ventanamicro.com> | 2022-10-18 19:38:50 +0530 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2022-11-08 15:34:21 +0000 |
commit | ac16e9430627c8f502b949c569de03ddabac5821 (patch) | |
tree | fa0a95531ba29eb194a49dbcfe45c4cd43ed89b5 | |
parent | 76dfc0cf2d6bce6fedf53746cec3787c3b15847b (diff) | |
download | kvmtool-ac16e9430627c8f502b949c569de03ddabac5821.tar.gz |
riscv: Add Svinval extension support
Svinval extension allows the guest OS to perform range based TLB
maintenance efficiently. Add the Svinval extensiont to the device
tree if it is supported by the host.
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Link: https://lore.kernel.org/r/20221018140854.69846-3-apatel@ventanamicro.com
Signed-off-by: Will Deacon <will@kernel.org>
-rw-r--r-- | riscv/fdt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/riscv/fdt.c b/riscv/fdt.c index e3d77175..42bc0629 100644 --- a/riscv/fdt.c +++ b/riscv/fdt.c @@ -19,6 +19,7 @@ struct isa_ext_info { struct isa_ext_info isa_info_arr[] = { {"svpbmt", KVM_RISCV_ISA_EXT_SVPBMT}, {"sstc", KVM_RISCV_ISA_EXT_SSTC}, + {"svinval", KVM_RISCV_ISA_EXT_SVINVAL}, }; static void dump_fdt(const char *dtb_file, void *fdt) |