RISC-V: KVM: Allow Svvptc extension for Guest/VM
authorQuan Zhou <zhouquan@iscas.ac.cn>
Mon, 2 Dec 2024 03:21:38 +0000 (11:21 +0800)
committerAnup Patel <anup@brainfault.org>
Mon, 30 Dec 2024 08:31:01 +0000 (14:01 +0530)
commit0f891585971648a07e8b0c155e5b3eb697601d9d
tree053cc0fc97f1dbfe365d3313dac060788852ce81
parentcc57f6cbef65c796a5661decaeffe3f5de397d19
RISC-V: KVM: Allow Svvptc extension for Guest/VM

Extend the KVM ISA extension ONE_REG interface to allow KVM user space
to detect and enable Svvptc extension for Guest/VM.

Signed-off-by: Quan Zhou <zhouquan@iscas.ac.cn>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Link: https://lore.kernel.org/r/133509ffe5783b62cf95e8f675cc3e327bee402e.1732854096.git.zhouquan@iscas.ac.cn
Signed-off-by: Anup Patel <anup@brainfault.org>
arch/riscv/include/uapi/asm/kvm.h
arch/riscv/kvm/vcpu_onereg.c