KVM: arm64: nv: Sync nested timer state with FEAT_NV2
authorMarc Zyngier <maz@kernel.org>
Tue, 17 Dec 2024 14:23:10 +0000 (14:23 +0000)
committerMarc Zyngier <maz@kernel.org>
Thu, 2 Jan 2025 19:19:09 +0000 (19:19 +0000)
commit4bad3068cfa9fc38dd767441871e0edab821105b
treee345687e17accab795c9a122af068e32e2ae89c7
parentb59dbb91f7636a89b54ab8fff756afe320ba6549
KVM: arm64: nv: Sync nested timer state with FEAT_NV2

Emulating the timers with FEAT_NV2 is a bit odd, as the timers
can be reconfigured behind our back without the hypervisor even
noticing. In the VHE case, that's an actual regression in the
architecture...

Co-developed-by: Christoffer Dall <christoffer.dall@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@arm.com>
Acked-by: Oliver Upton <oliver.upton@linux.dev>
Link: https://lore.kernel.org/r/20241217142321.763801-3-maz@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/arch_timer.c
arch/arm64/kvm/arm.c
include/kvm/arm_arch_timer.h