]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: Move NV-specific capping to idreg sanitisation
authorMarc Zyngier <maz@kernel.org>
Thu, 20 Feb 2025 13:49:02 +0000 (13:49 +0000)
committerOliver Upton <oliver.upton@linux.dev>
Mon, 24 Feb 2025 19:28:43 +0000 (11:28 -0800)
commit94f296dcd6d937371dd83df048b9a2d723d357c9
tree6e28a663f61dae6d77e2f8906e38fb46d6b44423
parente7ef6ed4583ea3b49911015a6591d7a1cbe7436a
KVM: arm64: Move NV-specific capping to idreg sanitisation

Instead of applying the NV idreg limits at run time, switch to
doing it at the same time as the reset of the VM initialisation.

This will make things much simpler once we introduce vcpu-driven
variants of NV.

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