init.qcom.post_boot: Enable LPM after all cores are onlined

Only enable LPM after all cores are onlined. This avoids potential
race between code boot sequence and low power modes on A57 cluster.

Change-Id: I95202f4ffe62dd8889efcc42085c8792b9ec04ba
This commit is contained in:
Junjie Wu 2014-12-16 17:34:10 -08:00
parent a42f8b9388
commit 5536ae7136
1 changed files with 1 additions and 1 deletions

View File

@ -758,7 +758,6 @@ case "$target" in
bcl_hotplug_mask=`cat /sys/devices/soc.*/qcom,bcl.*/hotplug_mask`
echo 0 > /sys/devices/soc.*/qcom,bcl.*/hotplug_mask
echo -n enable > /sys/devices/soc.*/qcom,bcl.*/mode
echo 0 > /sys/module/lpm_levels/parameters/sleep_disabled
# configure governor settings for little cluster
echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/use_sched_load
@ -800,6 +799,7 @@ case "$target" in
echo 1 > /sys/devices/system/cpu/cpu5/online
echo 1 > /sys/devices/system/cpu/cpu6/online
echo 1 > /sys/devices/system/cpu/cpu7/online
echo 0 > /sys/module/lpm_levels/parameters/sleep_disabled
# Restore CPU 4 max freq from msm_performance
echo "4:4294967295 5:4294967295 6:4294967295 7:4294967295" > /sys/module/msm_performance/parameters/cpu_max_freq
# input boost configuration