diff options
author | Anup Patel <apatel@ventanamicro.com> | 2023-04-01 12:51:34 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2023-04-21 15:08:46 +0300 |
commit | 90deec51d726b4d829ca7a684595154bebdf8353 (patch) | |
tree | 4e233416d36f6c5aca68bfc1886b158b8c839b21 /arch/riscv/include | |
parent | 96b3d4bd93f913440b4cb06233a1ecbc4dd41dad (diff) | |
download | linux-90deec51d726b4d829ca7a684595154bebdf8353.tar.xz |
RISC-V: KVM: Allow Zbb extension for Guest/VM
We extend the KVM ISA extension ONE_REG interface to allow KVM
user space to detect and enable Zbb extension for Guest/VM.
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Atish Patra <atishp@rivosinc.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 d8ead5952ed9..47a7c3958229 100644 --- a/arch/riscv/include/uapi/asm/kvm.h +++ b/arch/riscv/include/uapi/asm/kvm.h @@ -106,6 +106,7 @@ enum KVM_RISCV_ISA_EXT_ID { KVM_RISCV_ISA_EXT_SVINVAL, KVM_RISCV_ISA_EXT_ZIHINTPAUSE, KVM_RISCV_ISA_EXT_ZICBOM, + KVM_RISCV_ISA_EXT_ZBB, KVM_RISCV_ISA_EXT_MAX, }; |