]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm/arm64: timer: Allow the timer to control the active state
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 23 Jun 2014 12:59:13 +0000 (13:59 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 12 Aug 2015 10:28:26 +0000 (11:28 +0100)
commitaa505c9f827f811db21b955ae9c74265313af954
tree1b1cd6e41c196c3aa3d5fdfde0d6e37b6c810d8e
parentbb984abfb9ac58ecd7d4da07d21cb267d1c410f7
KVM: arm/arm64: timer: Allow the timer to control the active state

In order to remove the crude hack where we sneak the masked bit
into the timer's control register, make use of the phys_irq_map
API control the active state of the interrupt.

This causes some limited changes to allow for potential error
propagation.

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