All of lore.kernel.org
 help / color / mirror / Atom feed
* irq_guest_eoi_timer interaction with MSI
@ 2008-11-13  9:22 Jan Beulich
  2008-11-13  9:42 ` Keir Fraser
  0 siblings, 1 reply; 25+ messages in thread
From: Jan Beulich @ 2008-11-13  9:22 UTC (permalink / raw)
  To: xen-devel

While awaiting final confirmation, all aspects of an issue with certain bnx2
driven NICs known at this point suggest that the disabling of MSI when a
second interrupt gets delivered without the first having progressed far
enough in its handling to at least mask the corresponding event channel
would cause the NIC to stop operating. We're being told that it is a chip
limitation that it can't recover from MSI getting disabled and then
re-enabled - it would switch into INTA mode when MSI gets disabled, but
not switch back to MSI mode when MSI gets re-enabled.

While this arguably is a limitation that must be worked around in the driver,
the logic here raises questions: Since other devices apparently have
similar behavior in not disabling IRQ delivery upon IRQ assertion, wouldn't
it to be expected that disabling IRQs for a millisecond could have severe
impact on throughput of the device? Also, is it correct at all to disable MSI
on a device - i.e., with the affected device going into INTA mode, don't
we risk floods of spurious interrupts if the IO-APIC RTE the device is
connected to is shared and happens to be unmasked?

Apart from that - wouldn't the stop_timer() call be carried out more
correctly before calling desc->handler->disable(), so that we can be sure
the disable actually has an effect?

Jan

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

end of thread, other threads:[~2008-11-25 10:47 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-13  9:22 irq_guest_eoi_timer interaction with MSI Jan Beulich
2008-11-13  9:42 ` Keir Fraser
2008-11-13 11:07   ` Jan Beulich
2008-11-13 11:16     ` Keir Fraser
2008-11-13 11:22       ` Keir Fraser
2008-11-13 14:53       ` Jan Beulich
2008-11-13 15:06         ` Keir Fraser
2008-11-13 15:28           ` Jan Beulich
2008-11-13 16:21             ` Keir Fraser
2008-11-13 16:22               ` Keir Fraser
2008-11-13 16:43                 ` Jan Beulich
2008-11-13 16:50                   ` Keir Fraser
2008-11-14  9:28                     ` Jan Beulich
2008-11-14  9:42                       ` Keir Fraser
2008-11-14 13:00                         ` Jan Beulich
2008-11-24 16:34                         ` Jan Beulich
2008-11-24 17:02                           ` Keir Fraser
2008-11-25  8:15                             ` Jan Beulich
2008-11-25  8:30                               ` Keir Fraser
2008-11-25  8:40                                 ` Jan Beulich
2008-11-25  8:44                                   ` Keir Fraser
2008-11-25  8:52                                     ` Jan Beulich
2008-11-25  9:38                                       ` Keir Fraser
2008-11-25 10:12                             ` Jan Beulich
2008-11-25 10:47                               ` 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.