sh: SuperH Mobile Software Standby support for cpuidle
authorMagnus Damm <damm@igel.co.jp>
Mon, 17 Aug 2009 09:41:40 +0000 (09:41 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 18 Aug 2009 01:17:32 +0000 (10:17 +0900)
commit63cd91dfd4976cb9687b07e9a9864912631d2e08
tree5748ee4a092e93c1cfcdaafb1044733954e1cd3a
parent309214af53f030e0664aea011a9f628c5eb9cc2d
sh: SuperH Mobile Software Standby support for cpuidle

This patch adds "SuperH Mobile Standby Mode [SF]" to the list
of cpuidle sleep modes. If the software latency requirements
from cpuidle are met together with fulfilled hardware
requirements then deep sleep modes can be entered.

Tested on sh7722 and sh7724 with "Sleep Mode", "Sleep Mode + SF"
and "Software Standby Mode + SF" together with a multimedia
work load and flood ping without packet drop.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/shmobile/cpuidle.c