diff options
author | Sungmin Choi <sungmin.choi@lge.com> | 2015-06-08 15:13:15 -0700 |
---|---|---|
committer | Thierry Strudel <tstrudel@google.com> | 2015-06-10 18:01:42 -0700 |
commit | c65e51289257eff25c1fbf706b15174613a93966 (patch) | |
tree | 1deec410584909c3323784714fc555f3cbc3b67b /init.bullhead.power.sh | |
parent | bf41d2d0a7c250d29d1da6113761ea70bf004a01 (diff) | |
download | bullhead-c65e51289257eff25c1fbf706b15174613a93966.tar.gz |
bullhead/power: Disable CPU and L2 retention for 8992
Original commit:
commit 87759f032c8f3bc6c9a3945343e93b3998dc80f2
Author: Murali Nalajala <mnalajal@codeaurora.org>
Date: Thu Mar 19 11:19:54 2015 -0700
init.qcom.post_boot.sh: Disable CPU and L2 retention for 8992
Some of the data usecases shown APC0 voltage high with
CPU and L2 retention enabled. Disable CPUs and L2s
retention modes on 8992.
CRs-fixed: 810583
Change-Id: Ia9c9fd1e104d8506f19795613d451780d3b0b7eb
Diffstat (limited to 'init.bullhead.power.sh')
-rwxr-xr-x | init.bullhead.power.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/init.bullhead.power.sh b/init.bullhead.power.sh index 4da8b25..0c69310 100755 --- a/init.bullhead.power.sh +++ b/init.bullhead.power.sh @@ -36,6 +36,18 @@ write /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq 960000 # Limit A57 max freq from msm_perf module in case CPU 4 is offline write /sys/module/msm_performance/parameters/cpu_max_freq "4:960000 5:960000" +# Disable CPU retention +write /sys/module/lpm_levels/system/a53/cpu0/retention/idle_enabled 0 +write /sys/module/lpm_levels/system/a53/cpu1/retention/idle_enabled 0 +write /sys/module/lpm_levels/system/a53/cpu2/retention/idle_enabled 0 +write /sys/module/lpm_levels/system/a53/cpu3/retention/idle_enabled 0 +write /sys/module/lpm_levels/system/a57/cpu4/retention/idle_enabled 0 +write /sys/module/lpm_levels/system/a57/cpu5/retention/idle_enabled 0 + +# Disable L2 retention +write /sys/module/lpm_levels/system/a53/a53-l2-retention/idle_enabled 0 +write /sys/module/lpm_levels/system/a57/a57-l2-retention/idle_enabled 0 + # configure governor settings for little cluster write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor interactive write /sys/devices/system/cpu/cpu0/cpufreq/interactive/use_sched_load 1 |