]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: Enforce NV limits on a per-idregs basis
authorMarc Zyngier <maz@kernel.org>
Thu, 20 Feb 2025 13:49:01 +0000 (13:49 +0000)
committerOliver Upton <oliver.upton@linux.dev>
Mon, 24 Feb 2025 19:28:37 +0000 (11:28 -0800)
commite7ef6ed4583ea3b49911015a6591d7a1cbe7436a
treeaba036715fc06100ef59f9f6563650934e6f28c2
parent179fd7e30f0455249fd9d1fd0041da4d141a2b97
KVM: arm64: Enforce NV limits on a per-idregs basis

As we are about to change the way the idreg reset values are computed,
move all the NV limits into a function that initialises one register
at a time.

This will be most useful in the upcoming patches. We take this opportunity
to remove the NV_FTR() macro and rely on the generated names instead.

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