diff options
author | Anup Patel <apatel@ventanamicro.com> | 2023-11-27 13:41:09 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2024-01-19 06:49:50 +0300 |
commit | 367188297254e7f81e3c3c94e6d6a623f757c4cb (patch) | |
tree | c6b165cfa950d0675797b0fa46e567cc9a8fa7bc /arch/riscv/include | |
parent | 9d1694dc91ce7b80bc96d6d8eaf1a1eca668d847 (diff) | |
download | linux-367188297254e7f81e3c3c94e6d6a623f757c4cb.tar.xz |
RISC-V: KVM: Allow Zbc extension for Guest/VM
We extend the KVM ISA extension ONE_REG interface to allow KVM
user space to detect and enable Zbc extension for Guest/VM.
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 d6b7a5b95874..bbff9c7e8f3f 100644 --- a/arch/riscv/include/uapi/asm/kvm.h +++ b/arch/riscv/include/uapi/asm/kvm.h @@ -139,6 +139,7 @@ enum KVM_RISCV_ISA_EXT_ID { KVM_RISCV_ISA_EXT_ZIHPM, KVM_RISCV_ISA_EXT_SMSTATEEN, KVM_RISCV_ISA_EXT_ZICOND, + KVM_RISCV_ISA_EXT_ZBC, KVM_RISCV_ISA_EXT_MAX, }; |