summaryrefslogtreecommitdiffstats
path: root/kernel/time/tick-sched.c
diff options
context:
space:
mode:
authorSantosh Shilimkar <santosh.shilimkar@ti.com>2011-01-16 00:42:31 +0530
committerKevin Hilman <khilman@ti.com>2011-12-08 11:29:02 -0800
commit98be0dde1957a1e47d42cf2c220bf52bacf81d6e (patch)
treec1c362a15338079199d3bd68f49c09abf8f818dc /kernel/time/tick-sched.c
parent98272660970a71e21ad1992f695f75b780de833c (diff)
downloadop-kernel-dev-98be0dde1957a1e47d42cf2c220bf52bacf81d6e.zip
op-kernel-dev-98be0dde1957a1e47d42cf2c220bf52bacf81d6e.tar.gz
ARM: OMAP4: cpuidle: Switch to gptimer from twd in deeper C-states.
CPU local timer(TWD) stops when the CPU is transitioning into deeper C-States. Since these timers are not wakeup capable, we need the wakeup capable global timer to program the wakeup time depending on the next timer expiry. It can be handled by registering a global wakeup capable timer along with local timers marked with (mis)feature flag CLOCK_EVT_FEAT_C3STOP. Then notify the clock events layer from idle code using CLOCK_EVT_NOTIFY_BROADCAST_ENTER/EXIT). ARM local timers are already marked with C3STOP feature. Add the notifiers to OMAP4 CPU idle code for the broadcast entry and exit. Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Acked-by: Jean Pihet <j-pihet@ti.com> Acked-by: Kevin Hilman <khilman@ti.com> Tested-by: Vishwanath BS <vishwanath.bs@ti.com> Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'kernel/time/tick-sched.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud