diff options
author | Kevin D. Kissell <kevink@mips.com> | 2007-07-12 11:21:08 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-07-12 12:41:17 -0400 |
commit | 0db34215c7e0ef618e7b29fbf271194ca5434f8e (patch) | |
tree | 261d8cd77fad2d661157ee5e5bde8e3fdc8c96b9 /arch/mips/Kconfig | |
parent | bd0765098bf22eb8b1319f649a4c3301b40ec04c (diff) |
[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>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r-- | arch/mips/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index a00fabe2e4e0..49f02e351244 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -1404,6 +1404,19 @@ config MIPS_MT_SMTC_INSTANT_REPLAY | |||
1404 | it off), but ensures that IPIs are handled promptly even under | 1404 | it off), but ensures that IPIs are handled promptly even under |
1405 | heavy I/O interrupt load. | 1405 | heavy I/O interrupt load. |
1406 | 1406 | ||
1407 | config MIPS_MT_SMTC_IM_BACKSTOP | ||
1408 | bool "Use per-TC register bits as backstop for inhibited IM bits" | ||
1409 | depends on MIPS_MT_SMTC | ||
1410 | default y | ||
1411 | help | ||
1412 | To support multiple TC microthreads acting as "CPUs" within | ||
1413 | a VPE, VPE-wide interrupt mask bits must be specially manipulated | ||
1414 | during interrupt handling. To support legacy drivers and interrupt | ||
1415 | controller management code, SMTC has a "backstop" to track and | ||
1416 | if necessary restore the interrupt mask. This has some performance | ||
1417 | impact on interrupt service overhead. Disable it only if you know | ||
1418 | what you are doing. | ||
1419 | |||
1407 | config MIPS_VPE_LOADER_TOM | 1420 | config MIPS_VPE_LOADER_TOM |
1408 | bool "Load VPE program into memory hidden from linux" | 1421 | bool "Load VPE program into memory hidden from linux" |
1409 | depends on MIPS_VPE_LOADER | 1422 | depends on MIPS_VPE_LOADER |