summaryrefslogtreecommitdiffstats
path: root/arch/riscv/include/uapi
diff options
context:
space:
mode:
authorQuan Zhou <zhouquan@iscas.ac.cn>2024-12-02 04:21:38 +0100
committerAnup Patel <anup@brainfault.org>2024-12-30 09:31:01 +0100
commit0f891585971648a07e8b0c155e5b3eb697601d9d (patch)
tree053cc0fc97f1dbfe365d3313dac060788852ce81 /arch/riscv/include/uapi
parentKVM: riscv: selftests: Add SBI SUSP to get-reg-list test (diff)
downloadlinux-0f891585971648a07e8b0c155e5b3eb697601d9d.tar.xz
linux-0f891585971648a07e8b0c155e5b3eb697601d9d.zip
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>
Diffstat (limited to 'arch/riscv/include/uapi')
-rw-r--r--arch/riscv/include/uapi/asm/kvm.h1
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 24e22f6e3a47..e789c20eadc9 100644
--- a/arch/riscv/include/uapi/asm/kvm.h
+++ b/arch/riscv/include/uapi/asm/kvm.h
@@ -179,6 +179,7 @@ enum KVM_RISCV_ISA_EXT_ID {
KVM_RISCV_ISA_EXT_SSNPM,
KVM_RISCV_ISA_EXT_SVADE,
KVM_RISCV_ISA_EXT_SVADU,
+ KVM_RISCV_ISA_EXT_SVVPTC,
KVM_RISCV_ISA_EXT_MAX,
};