KVM: arm/arm64: timer: Rework data structures for multiple timers
authorChristoffer Dall <christoffer.dall@arm.com>
Tue, 18 Sep 2018 17:08:18 +0000 (10:08 -0700)
committerMarc Zyngier <marc.zyngier@arm.com>
Tue, 19 Feb 2019 21:05:41 +0000 (21:05 +0000)
commite604dd5d45c75c2112424dec74853efb708f4fa6
tree0898f81bdaa7ab3e90338ffaf7e8bd34ec2dc914
parent84135d3d18da2ff17d3ad1a609b2818cc3049552
KVM: arm/arm64: timer: Rework data structures for multiple timers

Prepare for having 4 timer data structures (2 for now).

Move loaded to the cpu data structure and not the individual timer
structure, in preparation for assigning the EL1 phys timer as well.

Signed-off-by: Christoffer Dall <christoffer.dall@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
include/kvm/arm_arch_timer.h
virt/kvm/arm/arch_timer.c