[PATCH] i386 reduce spurious interrupt noise

From: Chris Wedgwood
Date: Thu Sep 02 2004 - 14:30:14 EST


i386 hardware can (and does) see spurious interrupts from time to
tome. Ideally I would like the printk removed completely but this is
probably good enough for now.

Singed-of-By: Chris Wedgwood <cw@xxxxxxxx>

===== arch/i386/kernel/apic.c 1.58 vs edited =====
--- 1.58/arch/i386/kernel/apic.c 2004-08-26 23:30:31 -07:00
+++ edited/arch/i386/kernel/apic.c 2004-09-02 12:19:19 -07:00
@@ -1190,7 +1190,7 @@
6: Received illegal vector
7: Illegal register address
*/
- printk (KERN_INFO "APIC error on CPU%d: %02lx(%02lx)\n",
+ printk (KERN_DEBUG "APIC error on CPU%d: %02lx(%02lx)\n",
smp_processor_id(), v , v1);
irq_exit();
}
===== arch/i386/kernel/i8259.c 1.36 vs edited =====
--- 1.36/arch/i386/kernel/i8259.c 2004-08-23 12:48:32 -07:00
+++ edited/arch/i386/kernel/i8259.c 2004-09-02 12:20:49 -07:00
@@ -226,7 +226,7 @@
* lets ACK and report it. [once per IRQ]
*/
if (!(spurious_irq_mask & irqmask)) {
- printk("spurious 8259A interrupt: IRQ%d.\n", irq);
+ printk(KERN_DEBUG "spurious 8259A interrupt: IRQ%d.\n", irq);
spurious_irq_mask |= irqmask;
}
atomic_inc(&irq_err_count);


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/