diff options
author | Clément Léger <cleger@rivosinc.com> | 2024-06-19 13:35:14 +0200 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2024-06-26 07:54:48 -0700 |
commit | fb2a3d63efefe6bd3718201daba479f4339bb4bf (patch) | |
tree | 55f59e6656fbfff81c69c4b40a5180445d411dea /arch/riscv/include/uapi/asm | |
parent | 36f8960de887a5e2811c5d1c0517cfa6f419c1c4 (diff) | |
download | linux-stable-fb2a3d63efefe6bd3718201daba479f4339bb4bf.tar.gz linux-stable-fb2a3d63efefe6bd3718201daba479f4339bb4bf.tar.bz2 linux-stable-fb2a3d63efefe6bd3718201daba479f4339bb4bf.zip |
RISC-V: KVM: Allow Zimop extension for Guest/VM
Extend the KVM ISA extension ONE_REG interface to allow KVM user space
to detect and enable Zimop extension for Guest/VM.
Signed-off-by: Clément Léger <cleger@rivosinc.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Acked-by: Anup Patel <anup@brainfault.org>
Link: https://lore.kernel.org/r/20240619113529.676940-5-cleger@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'arch/riscv/include/uapi/asm')
-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 e878e7cc3978..db482ef0ae1e 100644 --- a/arch/riscv/include/uapi/asm/kvm.h +++ b/arch/riscv/include/uapi/asm/kvm.h @@ -168,6 +168,7 @@ enum KVM_RISCV_ISA_EXT_ID { KVM_RISCV_ISA_EXT_ZTSO, KVM_RISCV_ISA_EXT_ZACAS, KVM_RISCV_ISA_EXT_SSCOFPMF, + KVM_RISCV_ISA_EXT_ZIMOP, KVM_RISCV_ISA_EXT_MAX, }; |