diff options
author | Andrew Jones <drjones@redhat.com> | 2019-05-27 13:46:19 +0200 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2019-06-19 15:47:52 +0100 |
commit | e4e5a865e9a9e8e47ac1959b629e9f3ae3b062f2 (patch) | |
tree | faad5eee971b557bd98b020ae964a0a5735f81f1 /virt/kvm/arm/vgic/vgic-its.c | |
parent | 4729ec8c1e1145234aeeebad5d96d77f4ccbb00a (diff) |
KVM: arm/arm64: Fix emulated ptimer irq injection
The emulated ptimer needs to track the level changes, otherwise the
the interrupt will never get deasserted, resulting in the guest getting
stuck in an interrupt storm if it enables ptimer interrupts. This was
found with kvm-unit-tests; the ptimer tests hung as soon as interrupts
were enabled. Typical Linux guests don't have a problem as they prefer
using the virtual timer.
Fixes: bee038a674875 ("KVM: arm/arm64: Rework the timer code to use a timer_map")
Signed-off-by: Andrew Jones <drjones@redhat.com>
[Simplified the patch to res we only care about emulated timers here]
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'virt/kvm/arm/vgic/vgic-its.c')
0 files changed, 0 insertions, 0 deletions