aboutsummaryrefslogtreecommitdiffstats
path: root/arch/riscv/include/uapi/asm
diff options
context:
space:
mode:
authorMayuresh Chitale <mchitale@ventanamicro.com>2022-10-02 10:18:48 +0530
committerAnup Patel <anup@brainfault.org>2022-10-02 10:18:48 +0530
commit0bba48978f6b63aee0fa4ee3a8097ec94e75f7f2 (patch)
tree54f18936f62aaff4d25e0a1710abea45b5fc1f41 /arch/riscv/include/uapi/asm
parentRISC-V: KVM: Allow Guest use Svinval extension (diff)
downloadlinux-dev-0bba48978f6b63aee0fa4ee3a8097ec94e75f7f2.tar.xz
linux-dev-0bba48978f6b63aee0fa4ee3a8097ec94e75f7f2.zip
RISC-V: KVM: Allow Guest use Zihintpause extension
We should advertise Zihintpause ISA extension to KVM user-space whenever host supports it. This will allow KVM user-space (i.e. QEMU or KVMTOOL) to pass on this information to Guest via ISA string. Signed-off-by: Mayuresh Chitale <mchitale@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.h1
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 b6770ee08872..9085b90cf324 100644
--- a/arch/riscv/include/uapi/asm/kvm.h
+++ b/arch/riscv/include/uapi/asm/kvm.h
@@ -99,6 +99,7 @@ enum KVM_RISCV_ISA_EXT_ID {
KVM_RISCV_ISA_EXT_SVPBMT,
KVM_RISCV_ISA_EXT_SSTC,
KVM_RISCV_ISA_EXT_SVINVAL,
+ KVM_RISCV_ISA_EXT_ZIHINTPAUSE,
KVM_RISCV_ISA_EXT_MAX,
};