RISC-V: KVM: Allow Zfa extension for Guest/VM
authorAnup Patel <apatel@ventanamicro.com>
Mon, 27 Nov 2023 17:13:12 +0000 (22:43 +0530)
committerAnup Patel <anup@brainfault.org>
Fri, 19 Jan 2024 03:50:16 +0000 (09:20 +0530)
commit41182cc6f507011a2e6c82657779e451ed9942bb
treebe701b8ed1913b18d7dd345497f5ec4efd331342
parent1216fdd99be113fa75ccdd0497802bd0fe4369aa
RISC-V: KVM: Allow Zfa extension for Guest/VM

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