]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: Add helper for last ditch idreg adjustments
authorMarc Zyngier <maz@kernel.org>
Tue, 27 Aug 2024 15:25:10 +0000 (16:25 +0100)
committerMarc Zyngier <maz@kernel.org>
Tue, 27 Aug 2024 17:32:55 +0000 (18:32 +0100)
commit795a0bbaeee2aa993338166bc063fe3c89373d2a
tree8d67f7d095eb175a3aee58807f6e55739f629bdb
parent8d917e0a8651377321c06513f42e2ab9a86161f4
KVM: arm64: Add helper for last ditch idreg adjustments

We already have to perform a set of last-chance adjustments for
NV purposes. We will soon have to do the same for the GIC, so
introduce a helper for that exact purpose.

Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Link: https://lore.kernel.org/r/20240827152517.3909653-5-maz@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/arm.c
arch/arm64/kvm/nested.c
arch/arm64/kvm/sys_regs.c
arch/arm64/kvm/sys_regs.h