All of lore.kernel.org
 help / color / mirror / Atom feed
* HVM windows - PCI IRQ firing on both CPU's
@ 2008-08-18 10:53 James Harper
  2008-08-18 12:06 ` Keir Fraser
  0 siblings, 1 reply; 6+ messages in thread
From: James Harper @ 2008-08-18 10:53 UTC (permalink / raw)
  To: xen-devel

I'm just doing some testing on the gplpv drivers with different ways of
handling interrupts, and I'm trying a scheme where each xen device (eg
vbd/vif) driver attaches to the same IRQ as the pci driver, and each
handles it in sequence.

In testing though, I noticed the following when logging what each ISR is
doing:

60.32381439 - evtchn event on port 5
60.32384109 - port 5 handler (does some work)
60.32386780 - port 6 handler
60.32389069 - port 7 handler
0.00616564 - evtchn nothing to do
0.00619481 - port 5 handler
0.00621962 - port 6 handler
0.00624393 - port 7 handler

The first number is the timestamp (why is the TSC so far out of whack
between CPU's??? Is that a hardware thing or a Xen thing? It causes huge
problems with 'ping' too!!!), the second is the isr that is running.

Why is the ISR getting run again immediately on the other CPU? Is this
an OS thing or am I not acking the interrupt correctly?

Thanks

James

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

end of thread, other threads:[~2008-08-18 12:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-18 10:53 HVM windows - PCI IRQ firing on both CPU's James Harper
2008-08-18 12:06 ` Keir Fraser
2008-08-18 12:19   ` James Harper
2008-08-18 12:26     ` Keir Fraser
2008-08-18 12:32       ` James Harper
2008-08-18 12:36         ` Keir Fraser

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.