]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: 8122/1: smp_scu: enable SCU standby support
authorShawn Guo <shawn.guo@linaro.org>
Thu, 31 Jul 2014 01:07:37 +0000 (02:07 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 2 Aug 2014 07:51:53 +0000 (08:51 +0100)
commitc716483c3db10b31bf9bf43c5f45f2c3117ca13a
treeb537588af253af556822cd69f8210725595ac6c6
parentf8f3d4ed0d64c59296d79e9d219d8f388562de35
ARM: 8122/1: smp_scu: enable SCU standby support

With SCU standby enabled, SCU CLK will be turned off when all processors
are in WFI mode.  And the clock will be turned on when any processor
leaves WFI mode.

This behavior should be preferable in terms of power efficiency of
system idle.  So let's set the SCU standby bit to enable the support in
function scu_enable().

Cortex-A9 earlier than r2p0 has no standby bit in SCU, so we need to
skip setting the bit for those.

Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Acked-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/smp_scu.c