KVM: arm/arm64: Abstract virtual timer context into separate structure
authorJintack Lim <jintack@cs.columbia.edu>
Fri, 3 Feb 2017 15:19:59 +0000 (10:19 -0500)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 8 Feb 2017 15:13:32 +0000 (15:13 +0000)
commitfbb4aeec5fc2ab47615b2a0cbabc503e1eef4c60
treec4393d9305a159691d9af8ff6393fb8ed0753416
parent0bdbf3b071986ba80731203683cf623d5c0cacb1
KVM: arm/arm64: Abstract virtual timer context into separate structure

Abstract virtual timer context into a separate structure and change all
callers referring to timer registers, irq state and so on. No change in
functionality.

This is about to become very handy when adding the EL1 physical timer.

Signed-off-by: Jintack Lim <jintack@cs.columbia.edu>
Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
include/kvm/arm_arch_timer.h
virt/kvm/arm/arch_timer.c
virt/kvm/arm/hyp/timer-sr.c