post_boot: Enable LPMs for titanium

Enable low power modes for titanium. Keep L2-retention
mode disabled for both clusters.

Change-Id: Iec36e6b2a9c7e954214058e20806eac6ec039301
This commit is contained in:
Maulik Shah 2016-01-12 10:45:06 +05:30 committed by Gerrit - the friendly Code Review server
parent 08b08e0e13
commit a3465fb864
1 changed files with 4 additions and 2 deletions

View File

@ -1193,8 +1193,10 @@ case "$target" in
echo 1 > /sys/devices/system/cpu/cpu6/online
echo 1 > /sys/devices/system/cpu/cpu7/online
# KEEP low power modes Disabled
echo 1 > /sys/module/lpm_levels/parameters/sleep_disabled
# Enable low power modes & keep L2 retention disabled
echo N > /sys/module/lpm_levels/system/pwr/pwr-l2-retention/idle_enabled
echo N > /sys/module/lpm_levels/system/perf/perf-l2-retention/idle_enabled
echo 0 > /sys/module/lpm_levels/parameters/sleep_disabled
# SMP scheduler
echo 100 > /proc/sys/kernel/sched_upmigrate