linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* common_interrupt: No irq handler for vector
@ 2020-12-11 20:41 Shuah Khan
  2020-12-12 19:33 ` Thomas Gleixner
  0 siblings, 1 reply; 8+ messages in thread
From: Shuah Khan @ 2020-12-11 20:41 UTC (permalink / raw)
  To: Thomas Gleixner, Ingo Molnar, Borislav Petkov, H. Peter Anvin
  Cc: x86, Linux Kernel Mailing List, Shuah Khan

I am debugging __common_interrupt: 1.55 No irq handler for vector
messages and noticed comments and code don't agree:

arch/x86/kernel/apic/msi.c: msi_set_affinity() says:


  * If the vector is in use then the installed device handler will
  * denote it as spurious which is no harm as this is a rare event
  * and interrupt handlers have to cope with spurious interrupts
  * anyway. If the vector is unused, then it is marked so it won't
  * trigger the 'No irq handler for vector' warning in
  * common_interrupt().

common_interrupt() prints message if vector is unused: VECTOR_UNUSED

ack_APIC_irq();

if (desc == VECTOR_UNUSED) {
     pr_emerg_ratelimited("%s: %d.%u No irq handler for vector\n",
                           __func__, smp_processor_id(), vector);
}

Something wrong here?

thanks,
-- Shuah



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

end of thread, other threads:[~2020-12-14 22:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-11 20:41 common_interrupt: No irq handler for vector Shuah Khan
2020-12-12 19:33 ` Thomas Gleixner
2020-12-14 16:11   ` Shuah Khan
2020-12-14 20:41     ` Thomas Gleixner
2020-12-14 20:50       ` Thomas Gleixner
2020-12-14 20:57       ` Shuah Khan
2020-12-14 22:28         ` Thomas Gleixner
2020-12-14 22:41           ` Shuah Khan

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).