KVM: arm64: Allow userspace to request KVM_ARM_VCPU_EL2*
authorMarc Zyngier <maz@kernel.org>
Wed, 14 May 2025 10:34:59 +0000 (11:34 +0100)
committerMarc Zyngier <maz@kernel.org>
Mon, 19 May 2025 07:01:19 +0000 (08:01 +0100)
commita7484c80e5ca1ae0c397bb8003bc588f0dcf43f4
treecd9a88fac578cbce8e519dc991b47c4856c83bff
parent6ec4c371d4223adae6f9c0f7f1bd014d381b2170
KVM: arm64: Allow userspace to request KVM_ARM_VCPU_EL2*

Since we're (almost) feature complete, let's allow userspace to
request KVM_ARM_VCPU_EL2* by bumping KVM_VCPU_MAX_FEATURES up.

We also now advertise the features to userspace with new capabilities.

It's going to be great...

Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Reviewed-by: Joey Gouly <joey.gouly@arm.com>
Reviewed-by: Ganapatrao Kulkarni <gankulkarni@os.amperecomputing.com>
Link: https://lore.kernel.org/r/20250514103501.2225951-17-maz@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/kvm_host.h
arch/arm64/kvm/arm.c
include/uapi/linux/kvm.h