From 3419965c7e5e5679ef52823771b214bcb422a60e Mon Sep 17 00:00:00 2001 From: Shiju Mathew Date: Mon, 29 Dec 2014 13:14:22 -0500 Subject: [PATCH] init.qcom.post_boot.sh: Disable core control during governor config Disable core control from BCL SOC condition during governor configuration on MSM8994. Change-Id: Iec2db8526d4846d097886a6ebbe8d55223a3ca92 --- rootdir/etc/init.qcom.post_boot.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rootdir/etc/init.qcom.post_boot.sh b/rootdir/etc/init.qcom.post_boot.sh index 72853df5..0f4175bd 100755 --- a/rootdir/etc/init.qcom.post_boot.sh +++ b/rootdir/etc/init.qcom.post_boot.sh @@ -748,7 +748,9 @@ case "$target" in echo 0 > /sys/module/msm_thermal/core_control/enabled echo -n disable > /sys/devices/soc.*/qcom,bcl.*/mode bcl_hotplug_mask=`cat /sys/devices/soc.*/qcom,bcl.*/hotplug_mask` + bcl_soc_hotplug_mask=`cat /sys/devices/soc.*/qcom,bcl.*/hotplug_soc_mask` echo 0 > /sys/devices/soc.*/qcom,bcl.*/hotplug_mask + echo 0 > /sys/devices/soc.*/qcom,bcl.*/hotplug_soc_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 @@ -781,6 +783,7 @@ case "$target" in echo 1 > /sys/module/msm_thermal/core_control/enabled echo -n disable > /sys/devices/soc.*/qcom,bcl.*/mode echo $bcl_hotplug_mask > /sys/devices/soc.*/qcom,bcl.*/hotplug_mask + echo $bcl_soc_hotplug_mask > /sys/devices/soc.*/qcom,bcl.*/hotplug_soc_mask echo -n enable > /sys/devices/soc.*/qcom,bcl.*/mode # plugin remaining A57s echo 1 > /sys/devices/system/cpu/cpu5/online