RISC-V: KVM: Allow Zicond extension for Guest/VM
authorAnup Patel <apatel@ventanamicro.com>
Fri, 15 Sep 2023 12:21:10 +0000 (17:51 +0530)
committerAnup Patel <anup@brainfault.org>
Thu, 12 Oct 2023 13:14:23 +0000 (18:44 +0530)
commitdf68f4d8cb496ea31fa42cf2620366571c05376b
tree01a906d60f0518835fc246ce8d1aa88275df4d3b
parent6a53a5fbc8f494e69922e13491f7077ce010ec28
RISC-V: KVM: Allow Zicond extension for Guest/VM

We extend the KVM ISA extension ONE_REG interface to allow KVM
user space to detect and enable Zicond 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>
arch/riscv/include/uapi/asm/kvm.h
arch/riscv/kvm/vcpu_onereg.c