powerpc/85xx: add DOZE/NAP support for e500 core
authorKumar Gala <galak@kernel.crashing.org>
Wed, 18 Jun 2008 21:26:52 +0000 (16:26 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 26 Jun 2008 06:48:56 +0000 (01:48 -0500)
commitfc4033b2f8b1482022bff3d05505a1b1631bb6de
treec84b275968011911d8c96acebe89aa2dd92323bf
parent3dfa8773674e16f95f70a0e631e80c69390d04d7
powerpc/85xx: add DOZE/NAP support for e500 core

The e500 core enter DOZE/NAP power-saving modes when the core go to
cpu_idle routine.

The power management default running mode is DOZE, If the user

echo 1 > /proc/sys/kernel/powersave-nap

the system will change to NAP running mode.

Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/kernel/Makefile
arch/powerpc/kernel/cputable.c
arch/powerpc/kernel/entry_32.S
arch/powerpc/kernel/head_fsl_booke.S
arch/powerpc/kernel/idle_6xx.S
arch/powerpc/kernel/idle_e500.S [new file with mode: 0644]
arch/powerpc/kernel/setup_32.c
include/asm-powerpc/cputable.h
include/asm-powerpc/machdep.h
include/asm-powerpc/reg.h
include/asm-powerpc/reg_booke.h