diff options
author | Santosh Shilimkar <santosh.shilimkar@ti.com> | 2011-12-25 21:00:40 +0530 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2012-07-25 16:05:35 -0700 |
commit | dd3ad97c5621aa853843dd5e6783ca787466158c (patch) | |
tree | f19ec4e619bf5987cfdbc73246af01e4413866c7 /arch/arm/mach-omap2/Kconfig | |
parent | 11d6ec2e488f5613ab380bee9dc9a67c54813b60 (diff) | |
download | linux-dd3ad97c5621aa853843dd5e6783ca787466158c.tar.gz linux-dd3ad97c5621aa853843dd5e6783ca787466158c.tar.bz2 linux-dd3ad97c5621aa853843dd5e6783ca787466158c.zip |
ARM: OMAP4: CPUidle: Use coupled cpuidle states to implement SMP cpuidle.
OMAP4 CPUDILE driver is converted mainly based on notes from the
coupled cpuidle patch series.
The changes include :
- Register both CPUs and C-states to cpuidle driver.
- Set struct cpuidle_device.coupled_cpus
- Set struct cpuidle_device.safe_state to non coupled state.
- Set CPUIDLE_FLAG_COUPLED in struct cpuidle_state.flags for each
state that affects multiple cpus.
- Separate ->enter hooks for coupled & simple idle.
- CPU0 wait loop for CPU1 power transition.
- CPU1 wakeup mechanism for the idle exit.
- Enabling ARCH_NEEDS_CPU_IDLE_COUPLED for OMAP4.
Thanks to Kevin Hilman and Colin Cross on the suggestions/fixes
on the intermediate version of this patch.
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/Kconfig')
-rw-r--r-- | arch/arm/mach-omap2/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index 4cf5142f22cc..cc83f5e13d5c 100644 --- a/arch/arm/mach-omap2/Kconfig +++ b/arch/arm/mach-omap2/Kconfig @@ -55,6 +55,7 @@ config ARCH_OMAP4 select PM_OPP if PM select USB_ARCH_HAS_EHCI if USB_SUPPORT select ARM_CPU_SUSPEND if PM + select ARCH_NEEDS_CPU_IDLE_COUPLED comment "OMAP Core Type" depends on ARCH_OMAP2 |