All of lore.kernel.org
 help / color / mirror / Atom feed
* randomly firing kvm_arch_timer_handler
@ 2020-06-04 11:21 Janne Karhunen
  2020-06-04 12:37 ` Marc Zyngier
  0 siblings, 1 reply; 4+ messages in thread
From: Janne Karhunen @ 2020-06-04 11:21 UTC (permalink / raw)
  To: kvmarm

Hi,

I have an issue on one particular hardware with gicv3 and the old
stable (4.9.22x) kernel where the timer interrupt randomly leaks to
the host after the guest exit and the kvm_arch_timer_handler gets
triggered. The guest does run, but the whine (unexpected interrupt) is
annoying and it seems to be hindering the performance drastically - of
both the host and the guest. This behavior can even lead to the host
watchdog biting as the firing timer prevents the progress, especially
during the very early boot when the guest is doing heavy paging
anyway.

Based on the comment in the latest code the fundamental issue is that
the interrupt controller does not recognize the timer disable fast
enough on guest exit. Has anyone worked on a proper fix for the issue
for the old stable series? 5+ kernels seem to have quite a drastic
rework on this front. Plain 'isb' did not seem to do the trick after
the timer disable...


--
Janne
_______________________________________________
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-06-09  5:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-04 11:21 randomly firing kvm_arch_timer_handler Janne Karhunen
2020-06-04 12:37 ` Marc Zyngier
2020-06-04 13:14   ` Janne Karhunen
2020-06-09  5:49   ` Janne Karhunen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.