From 5d88133076ef5ba2ea81bdc149e94120e0ded00d Mon Sep 17 00:00:00 2001 From: Deokgyu Yang Date: Tue, 22 Feb 2022 18:37:54 +0900 Subject: [PATCH] gts3l-common: rootdir/etc: Online CPU 0 explicitly Maybe sometimes the governor properties are not set properly so add this line to enable CPU 0 explicitly Signed-off-by: Deokgyu Yang --- rootdir/etc/init.qcom.power.rc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/rootdir/etc/init.qcom.power.rc b/rootdir/etc/init.qcom.power.rc index a3dffd0..5b7f24a 100644 --- a/rootdir/etc/init.qcom.power.rc +++ b/rootdir/etc/init.qcom.power.rc @@ -117,15 +117,16 @@ on enable-low-power # Set sync wakee policy tunable write /proc/sys/kernel/sched_prefer_sync_wakee_to_waker 1 + # Bring CPU 0, 2 online + write /sys/devices/system/cpu/cpu0/online 1 + write /sys/devices/system/cpu/cpu2/online 1 + # Configure governor settings for little cluster write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor "blu_schedutil" write /sys/devices/system/cpu/cpu0/cpufreq/blu_schedutil/up_rate_limit_us 250 write /sys/devices/system/cpu/cpu0/cpufreq/blu_schedutil/down_rate_limit_us 10000 write /sys/devices/system/cpu/cpu0/cpufreq/blu_schedutil/iowait_boost_enable 1 - # Bring CPU2 online - write /sys/devices/system/cpu/cpu2/online 1 - # Configure governor settings for big cluster write /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor "blu_schedutil" write /sys/devices/system/cpu/cpu2/cpufreq/blu_schedutil/up_rate_limit_us 250