]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm/arm64: timer: Workaround misconfigured timer interrupt
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 16 Aug 2016 14:03:02 +0000 (15:03 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Wed, 17 Aug 2016 10:23:47 +0000 (12:23 +0200)
commit8a634e39dc086e5cc1ec3e321ce98f264d448043
tree42a9e42c4682c9c98131ad7ef61dfc9081db0664
parent3644226a0b63472bf1487c3bedbc208da4aa6dc4
KVM: arm/arm64: timer: Workaround misconfigured timer interrupt

Similarily to f729563672ab ("clocksource/arm_arch_timer: Force
per-CPU interrupt to be level-triggered"), make sure we can
survive an interrupt that has been misconfigured as edge-triggered
by forcing it to be level-triggered (active low is assumed, but
the GIC doesn't really care whether this is high or low).

Hopefully, the amount of shouting in the kernel log will convince
the user to do something about their firmware.

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