powerpc: Convert global "BAD" interrupt to per cpu spurious
authorAnton Blanchard <anton@samba.org>
Sun, 31 Jan 2010 20:34:36 +0000 (20:34 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 17 Feb 2010 03:02:49 +0000 (14:02 +1100)
commit17081102a6e0fe32cf47cdbdf8f2e9ab55273b08
tree6bbe3f22d4414598cdfdb69510f0679b90c68175
parent89713ed10815401a1bfe12e3a076b64048381b56
powerpc: Convert global "BAD" interrupt to per cpu spurious

I often get asked if BAD interrupts are really bad. On some boxes (eg
IBM machines running a hypervisor) there are valid cases where are
presented with an interrupt that is not for us. These cases are common
enough to show up as thousands of BAD interrupts a day.

Tone them down by calling them spurious. Since they can be a significant cause
of OS jitter, we may as well log them per cpu so we know where they are
occurring.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/hardirq.h
arch/powerpc/kernel/irq.c