alpha: Primitive support for CPU power down.
authorRichard Henderson <rth@twiddle.net>
Fri, 12 Jul 2013 16:36:21 +0000 (09:36 -0700)
committerMatt Turner <mattst88@gmail.com>
Sun, 17 Nov 2013 00:33:15 +0000 (16:33 -0800)
commit7f3bbb82e0c371d6881129f776c90130ba66f051
treee2bb143c17545c720484602fbaa829eae2e66119
parentfddd87d6e135924b92499917bace103e46c22d00
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>
arch/alpha/Kconfig
arch/alpha/include/asm/pal.h
arch/alpha/include/uapi/asm/pal.h
arch/alpha/kernel/process.c
arch/alpha/kernel/traps.c