KVM: arm/arm64: Let the timer expire in hardirq context on RT
authorThomas Gleixner <tglx@linutronix.de>
Thu, 7 Nov 2019 09:54:24 +0000 (10:54 +0100)
committerMarc Zyngier <maz@kernel.org>
Thu, 7 Nov 2019 16:13:33 +0000 (16:13 +0000)
commit9090825fa99740f0c794f94b9cbd57ad79101228
tree65704ba18fa24573fae5a12ca2b3013e61f56131
parentca185b260951d3b55108c0b95e188682d8a507b7
KVM: arm/arm64: Let the timer expire in hardirq context on RT

The timers are canceled from an preempt-notifier which is invoked with
disabled preemption which is not allowed on PREEMPT_RT.
The timer callback is short so in could be invoked in hard-IRQ context
on -RT.

Let the timer expire on hard-IRQ context even on -RT.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Tested-by: Julien Grall <julien.grall@arm.com>
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20191107095424.16647-1-bigeasy@linutronix.de
virt/kvm/arm/arch_timer.c