]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
x86/irq: Suppress unlikely interrupt stats by default
authorThomas Gleixner <tglx@kernel.org>
Sun, 17 May 2026 20:01:54 +0000 (22:01 +0200)
committerThomas Gleixner <tglx@kernel.org>
Tue, 26 May 2026 14:21:12 +0000 (16:21 +0200)
commit8713f2e596a134ed5c41e96bb9714251a5e6d56a
tree26699199c00c5c4ced4298a4636cbc5e3581940b
parent2b57c69917eeba3ee657f252257e37f31916ba2a
x86/irq: Suppress unlikely interrupt stats by default

Unlikely interrupt counters like the spurious vector and the synthetic APIC
ICR read retry show up in /proc/interrupts with all counts 0 most of the
time.

As these are events which should never happen, suppress them by default and
enable them for output when they actually happen.

This requires a seperate bitmap as the description array is marked
__ro_after_init. With that bitmap in place it becomes RO data.

Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Tested-by: Michael Kelley <mhklinux@outlook.com>
Reviewed-by: Radu Rendec <radu@rendec.net>
Link: https://patch.msgid.link/20260517194931.276486277@kernel.org
arch/x86/include/asm/hardirq.h
arch/x86/kernel/apic/apic.c
arch/x86/kernel/apic/ipi.c
arch/x86/kernel/irq.c