]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7ece37f74578bff44970156cee4097058c7e159e
treec4393d9305a159691d9af8ff6393fb8ed0753416
parenta6128af06b8779a9eca91dbdd7349830930fa33f
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