]> git.baikalelectronics.ru Git - kernel.git/commit
RISC-V: KVM: Allow Guest use Svinval extension
authorAnup Patel <apatel@ventanamicro.com>
Sun, 2 Oct 2022 04:48:42 +0000 (10:18 +0530)
committerAnup Patel <anup@brainfault.org>
Sun, 2 Oct 2022 04:48:42 +0000 (10:18 +0530)
commit38c7dabe8d025d5ef3e778b5f337b6a38e1843e4
treeaac7956d7c598c90f86f07a9ca826ddbcc7a51ab
parenta763140c5f99c70a9595da3666f8270df6ffb673
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>
arch/riscv/include/uapi/asm/kvm.h
arch/riscv/kvm/vcpu.c