diff options
author | Anup Patel <apatel@ventanamicro.com> | 2024-02-13 11:05:45 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2024-03-06 18:23:40 +0300 |
commit | 77fc0bfa43f83c1080b35a4915c767cf2c4979ff (patch) | |
tree | 4a13e2195a415541b954a0a0d1a666ae96c9e7ab /arch/riscv/include | |
parent | d9bb4eca32f99c5fcde705d1bb4cb6b445dbd6e8 (diff) | |
download | linux-77fc0bfa43f83c1080b35a4915c767cf2c4979ff.tar.xz |
RISC-V: KVM: Allow Zacas extension for Guest/VM
Extend the KVM ISA extension ONE_REG interface to allow KVM user space
to detect and enable Zacas 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 f8aa9f2ace95..37fb0f70b3e5 100644 --- a/arch/riscv/include/uapi/asm/kvm.h +++ b/arch/riscv/include/uapi/asm/kvm.h @@ -167,6 +167,7 @@ enum KVM_RISCV_ISA_EXT_ID { KVM_RISCV_ISA_EXT_ZVFHMIN, KVM_RISCV_ISA_EXT_ZFA, KVM_RISCV_ISA_EXT_ZTSO, + KVM_RISCV_ISA_EXT_ZACAS, KVM_RISCV_ISA_EXT_MAX, }; |