RISC-V: KVM: Allow Zihintntl extension for Guest/VM
authorAnup Patel <apatel@ventanamicro.com>
Mon, 27 Nov 2023 16:45:10 +0000 (22:15 +0530)
committerAnup Patel <anup@brainfault.org>
Fri, 19 Jan 2024 03:50:07 +0000 (09:20 +0530)
commitab6da9cdc3f3d1d091d657219fb6e98f710ee098
treef438e9882f3366b8143d41685f212ba9d6effc83
parent496ee21a17ce45e92483fdf1827ba91f4867f160
RISC-V: KVM: Allow Zihintntl extension for Guest/VM

We extend the KVM ISA extension ONE_REG interface to allow KVM
user space to detect and enable Zihintntl 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