[PATCH 2/2] ARM: EXYNOS: add cpuidle-exynos.max_states kernel parameter

Daniel Lezcano daniel.lezcano at linaro.org
Mon Sep 2 04:54:17 EDT 2013


On 08/30/2013 12:21 PM, Bartlomiej Zolnierkiewicz wrote:
> Add "cpuidle-exynos.max_states=" parameter to allow user to specify
> the maximum of allowed CPU idle states for ARM EXYNOS cpuidle driver.
> 
> This change is needed because C1 state (AFTR mode) is often not able
> to work properly due to incompatibility with some bootloader versions.
> 
> Usage examples:
> 
> "cpuidle-exynos.max_states=1" disables C1 state (AFTR mode).
> 
> "cpuidle-exynos.max_states=0" disables the driver completely.
> 
> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie at samsung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
> Cc: Tomasz Figa <t.figa at samsung.com>
> Cc: Amit Daniel Kachhap <amit.daniel at samsung.com>

There is a max_cstate option for acpi and intel idle. There is also the
cpuidle.off=1 option. As the semantic is the same, I think adding a
common cpuidle option usable for all the drivers is better.

Thanks
  -- Daniel

-- 
 <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog




More information about the linux-arm-kernel mailing list