KVM: arm64: timers: Move timer registers to the sys_regs file
authorMarc Zyngier <maz@kernel.org>
Fri, 28 Jun 2019 14:23:43 +0000 (15:23 +0100)
committerMarc Zyngier <maz@kernel.org>
Tue, 7 Jul 2020 08:28:38 +0000 (09:28 +0100)
commit41ce82f63c0624556b94b90551e4f70a0c913879
tree3ae626e6158a6da3417b80f3d59a8679257f70e9
parent3c5ff0c60f2febb170bc4096d4b8a8390ebb0bad
KVM: arm64: timers: Move timer registers to the sys_regs file

Move the timer gsisters to the sysreg file. This will further help when
they are directly changed by a nesting hypervisor in the VNCR page.

This requires moving the initialisation of the timer struct so that some
of the helpers (such as arch_timer_ctx_index) can work correctly at an
early stage.

Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/kvm_host.h
arch/arm64/kvm/arch_timer.c
arch/arm64/kvm/trace_arm.h
include/kvm/arm_arch_timer.h