aboutsummaryrefslogtreecommitdiffstats
path: root/arch/alpha/Kconfig
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2013-07-12 12:36:21 -0400
committerMatt Turner <mattst88@gmail.com>2013-11-16 19:33:15 -0500
commit7f3bbb82e0c371d6881129f776c90130ba66f051 (patch)
treee2bb143c17545c720484602fbaa829eae2e66119 /arch/alpha/Kconfig
parentfddd87d6e135924b92499917bace103e46c22d00 (diff)
alpha: Primitive support for CPU power down.
Use WTINT to wait for the next interrupt. Squash the WTINT call if the PALcode doesn't support it (e.g. MILO). No attempt is yet made to skip clock ticks during normal scheduling in order to stay in power down mode longer. Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'arch/alpha/Kconfig')
-rw-r--r--arch/alpha/Kconfig24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/alpha/Kconfig b/arch/alpha/Kconfig
index a67b971c830a..f9e84da49716 100644
--- a/arch/alpha/Kconfig
+++ b/arch/alpha/Kconfig
@@ -586,6 +586,30 @@ config NUMA
586 Access). This option is for configuring high-end multiprocessor 586 Access). This option is for configuring high-end multiprocessor
587 server machines. If in doubt, say N. 587 server machines. If in doubt, say N.
588 588
589config ALPHA_WTINT
590 bool "Use WTINT" if ALPHA_SRM || ALPHA_GENERIC
591 default y if ALPHA_QEMU
592 default n if ALPHA_EV5 || ALPHA_EV56 || (ALPHA_EV4 && !ALPHA_LCA)
593 default n if !ALPHA_SRM && !ALPHA_GENERIC
594 default y if SMP
595 ---help---
596 The Wait for Interrupt (WTINT) PALcall attempts to place the CPU
597 to sleep until the next interrupt. This may reduce the power
598 consumed, and the heat produced by the computer. However, it has
599 the side effect of making the cycle counter unreliable as a timing
600 device across the sleep.
601
602 For emulation under QEMU, definitely say Y here, as we have other
603 mechanisms for measuring time than the cycle counter.
604
605 For EV4 (but not LCA), EV5 and EV56 systems, or for systems running
606 MILO, sleep mode is not supported so you might as well say N here.
607
608 For SMP systems we cannot use the cycle counter for timing anyway,
609 so you might as well say Y here.
610
611 If unsure, say N.
612
589config NODES_SHIFT 613config NODES_SHIFT
590 int 614 int
591 default "7" 615 default "7"