KVM: arm64: timers: Abstract per-timer IRQ access
authorMarc Zyngier <maz@kernel.org>
Thu, 30 Mar 2023 17:47:50 +0000 (18:47 +0100)
committerMarc Zyngier <maz@kernel.org>
Thu, 30 Mar 2023 18:01:10 +0000 (19:01 +0100)
commit33c549460ef9119eb115484e81f54521122341db
treec809be08865001a1b1e007b436aff9f2f388c0b1
parent5591805d2c21b70838b723b71b8ff613de51cfff
KVM: arm64: timers: Abstract per-timer IRQ access

As we are about to move the location of the per-timer IRQ into
the VM structure, abstract the location of the IRQ behind an
accessor. This will make the repainting sligntly less painful.

Reviewed-by: Colton Lewis <coltonlewis@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230330174800.2677007-11-maz@kernel.org
arch/arm64/kvm/arch_timer.c
include/kvm/arm_arch_timer.h