diff options
author | Anup Patel <apatel@ventanamicro.com> | 2024-02-13 10:32:26 +0530 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2024-03-06 20:53:34 +0530 |
commit | f943ebe2ec26272d71f9c7643ec667c616419bb1 (patch) | |
tree | 24ef25c932297e02331a958a3d46d3d22d0382bc /arch/riscv/include/uapi/asm | |
parent | d808f0b1be4888a87524164bc7dad2242734de38 (diff) | |
download | linux-stable-f943ebe2ec26272d71f9c7643ec667c616419bb1.tar.gz linux-stable-f943ebe2ec26272d71f9c7643ec667c616419bb1.tar.bz2 linux-stable-f943ebe2ec26272d71f9c7643ec667c616419bb1.zip |
RISC-V: KVM: Allow Ztso extension for Guest/VM
Extend the KVM ISA extension ONE_REG interface to allow KVM user space
to detect and enable Ztso 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/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 7499e88a947c..f8aa9f2ace95 100644 --- a/arch/riscv/include/uapi/asm/kvm.h +++ b/arch/riscv/include/uapi/asm/kvm.h @@ -166,6 +166,7 @@ enum KVM_RISCV_ISA_EXT_ID { KVM_RISCV_ISA_EXT_ZVFH, KVM_RISCV_ISA_EXT_ZVFHMIN, KVM_RISCV_ISA_EXT_ZFA, + KVM_RISCV_ISA_EXT_ZTSO, KVM_RISCV_ISA_EXT_MAX, }; |