diff options
author | Anup Patel <apatel@ventanamicro.com> | 2022-10-02 07:48:42 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2022-10-02 07:48:42 +0300 |
commit | bad6ea07c876a67c4d8f46b0c565ab500150720f (patch) | |
tree | aac7956d7c598c90f86f07a9ca826ddbcc7a51ab /arch/riscv/include | |
parent | 5ff112484f2e63c5cac9f865181ca7ce467d0f89 (diff) | |
download | linux-bad6ea07c876a67c4d8f46b0c565ab500150720f.tar.xz |
RISC-V: KVM: Allow Guest use Svinval extension
We should advertise Svinval ISA extension to KVM user-space whenever
host supports it. This will allow KVM user-space (i.e. QEMU or KVMTOOL)
to pass on this information to Guest via ISA string.
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'arch/riscv/include')
-rw-r--r-- | arch/riscv/include/uapi/asm/kvm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/include/uapi/asm/kvm.h b/arch/riscv/include/uapi/asm/kvm.h index 7351417afd62..b6770ee08872 100644 --- a/arch/riscv/include/uapi/asm/kvm.h +++ b/arch/riscv/include/uapi/asm/kvm.h @@ -98,6 +98,7 @@ enum KVM_RISCV_ISA_EXT_ID { KVM_RISCV_ISA_EXT_M, KVM_RISCV_ISA_EXT_SVPBMT, KVM_RISCV_ISA_EXT_SSTC, + KVM_RISCV_ISA_EXT_SVINVAL, KVM_RISCV_ISA_EXT_MAX, }; |