Skip to content
Commit 010c108d authored by David VomLehn's avatar David VomLehn Committed by Ralf Baechle
Browse files

MIPS: PowerTV: Fix support for timer interrupts with > 64 external IRQs



The MIPS processor is limited to 64 external interrupt sources. Using a
greater number without IRQ sharing requires reading platform-specific
registers. On such platforms, reading the IntCtl register to determine
which interrupt corresponds to a timer interrupt will not work.

On MIPSR2 systems there is a solution - the TI bit in the Cause register,
specifically indicates that a timer interrupt has occured. This patch uses
that bit to detect interrupts for MIPSR2 processors, which may be expected
to work regardless of how the timer interrupt may be routed in the hardware.

Signed-off-by: default avatarDavid VomLehn <(dvomlehn@cisco.com)>
To: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/804/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 59dfa2fc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment