]> git.baikalelectronics.ru Git - kernel.git/commit
sparc32,sun4d: Change IPI IRQ level to prevent collision between IPI and timer interrupt
authorKjetil Oftedal <oftedal@gmail.com>
Sun, 28 Aug 2011 22:16:28 +0000 (00:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Aug 2011 16:20:40 +0000 (09:20 -0700)
commitfd5b3ea1c78ecc9fe15b2d94a4b18a60160a3c8c
tree07ec2f9cae65bc299f12f3a1bf32bc28ae121ed7
parentc5f7dd0fdf79a1ba127ddf65e50ed26dcf6c72ad
sparc32,sun4d: Change IPI IRQ level to prevent collision between IPI and timer interrupt

On Sun4d systems running in SMP mode, IRQ 14 is used for timer interrupts
and has a specialized interrupt handler. IPI is currently set to use IRQ 14
as well, which causes it to trigger the timer interrupt handler, and not the
IPI interrupt handler.

The IPI interrupt is therefore changed to IRQ 13, which is the highest
normally handled interrupt. This IRQ is also used for SBUS interrupts,
however there is nothing in the IPI/SBUS interrupt handlers that indicate
that they will not handle sharing the interrupt.
(IRQ 13 is indicated as audio interrupt, which is unlikely to be found in a
sun4d system)

Signed-off-by: Kjetil Oftedal <oftedal@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/irq.h