]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: Make ID_REG_LIMIT_FIELD_ENUM() more widely available
authorMarc Zyngier <maz@kernel.org>
Thu, 20 Feb 2025 13:49:00 +0000 (13:49 +0000)
committerOliver Upton <oliver.upton@linux.dev>
Mon, 24 Feb 2025 19:06:55 +0000 (11:06 -0800)
commit179fd7e30f0455249fd9d1fd0041da4d141a2b97
tree7ec59186d7f43bb5824501c7941a5554770f4aec
parent57e7de2650c86e6cfb4ce0c809c785f69ae5c536
KVM: arm64: Make ID_REG_LIMIT_FIELD_ENUM() more widely available

ID_REG_LIMIT_FIELD_ENUM() is a useful macro to limit the idreg
features exposed to guest and userspace, and the NV code can
make use of it.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Joey Gouly <joey.gouly@arm.com>
Link: https://lore.kernel.org/r/20250220134907.554085-8-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/kvm/sys_regs.c
arch/arm64/kvm/sys_regs.h