lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <9741d93c-3cd1-c4ef-74bb-7f635231c778@linuxfoundation.org>
Date:   Fri, 11 Dec 2020 13:41:13 -0700
From:   Shuah Khan <skhan@...uxfoundation.org>
To:     Thomas Gleixner <tglx@...utronix.de>,
        Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
        "H. Peter Anvin" <hpa@...or.com>
Cc:     "x86@...nel.org" <x86@...nel.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Shuah Khan <skhan@...uxfoundation.org>
Subject: common_interrupt: No irq handler for vector

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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ