xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Losing PS/2 Interrupts
@ 2011-05-19 21:45 Thomas Goetz
  2011-05-20 15:53 ` Thomas Goetz
  0 siblings, 1 reply; 23+ messages in thread
From: Thomas Goetz @ 2011-05-19 21:45 UTC (permalink / raw)
  To: xen-devel

I'm running PVOPs 2.6.38 on Xen 4.0.2 RC3 and while booting a guest I lose interrupts for the PS/2 trackpad. The trackpad stops functioning because the device is waiting for service. I added a work around that calls i8042_interupt form a timer if it hasn't been called in 1s and it started working again. I added some code to Xen to count IRQ 12 and compared that to the IRQ 12 count in //proc/interrupts (I stopped PS/2 activity and waited for PS/2 interrupt activity to stop before taking the counts). I lose one interrupt in Dom0 every time the trackpad freezes.


(XEN) IRQ 12 count 21048
12:      21047          0  xen-pirq-ioapic-edge  i8042   <--- lost an interrupt in dom0
...

(XEN) IRQ 12 count 48540
12:      48537          0  xen-pirq-ioapic-edge  i8042   <--- lost 3 interrupts in dom0


I looked at the point at which the trackpad gets it's last interrupt in a trace and the other major activity at that time is the event channel that services the Qemu vcpu io_req code.

This 2.6.38 tree has a merge of Stafano's 2.6.39 fixes in drivers/xen/events.c.

Anyone have any ideas or suggestions?

-Tom Goetz

---
Tom Goetz
tcgoetz@gmail.com

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

end of thread, other threads:[~2011-05-24 16:35 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-19 21:45 Losing PS/2 Interrupts Thomas Goetz
2011-05-20 15:53 ` Thomas Goetz
2011-05-20 17:50   ` Konrad Rzeszutek Wilk
2011-05-20 18:06     ` Thomas Goetz
2011-05-23  8:26       ` Jan Beulich
2011-05-23 12:09         ` Thomas Goetz
2011-05-23 13:02           ` Jan Beulich
2011-05-23 13:45           ` Stefano Stabellini
2011-05-23 17:16             ` Thomas Goetz
2011-05-23 17:28               ` Thomas Goetz
2011-05-23 18:39                 ` Thomas Goetz
2011-05-24 13:53                   ` Stefano Stabellini
2011-05-24 15:37                     ` Thomas Goetz
2011-05-24 15:58                       ` Stefano Stabellini
2011-05-24  9:07                 ` Jan Beulich
2011-05-24 11:04                   ` Stefano Stabellini
2011-05-24 12:24                     ` Jan Beulich
2011-05-24 12:58                       ` Konrad Rzeszutek Wilk
2011-05-24 15:40                         ` Jan Beulich
2011-05-24 16:00                           ` Stefano Stabellini
2011-05-24 13:52                       ` Stefano Stabellini
2011-05-24 15:37                         ` Jan Beulich
2011-05-24 16:35                           ` Stefano Stabellini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).