]> git.baikalelectronics.ru Git - kernel.git/commit
[MIPS] SMTC: Interrupt mask backstop hack
authorKevin D. Kissell <kevink@mips.com>
Thu, 12 Jul 2007 15:21:08 +0000 (16:21 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 12 Jul 2007 16:41:17 +0000 (17:41 +0100)
commit01a6e783953ca5ca404324881c973fa00c86a724
tree261d8cd77fad2d661157ee5e5bde8e3fdc8c96b9
parenta6b4f34551f61fafaca21de5883243f5fea4cda7
[MIPS] SMTC: Interrupt mask backstop hack

To support multiple TC microthreads acting as "CPUs" within a VPE,
VPE-wide interrupt mask bits must be specially manipulated during
interrupt handling. To support legacy drivers and interrupt controller
management code, SMTC has a "backstop" to track and if necessary restore
the interrupt mask. This has some performance impact on interrupt service
overhead. Disable it only if you know what you are doing.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig
arch/mips/kernel/entry.S
arch/mips/kernel/genex.S
include/asm-mips/irq.h