From 5ab94096fec9d1b9a7edc3b84a3d7e1324d2520c Mon Sep 17 00:00:00 2001 From: "Kevin F. Haggerty" Date: Fri, 8 Dec 2017 08:34:35 -0700 Subject: [PATCH] Revert "klte-common: init: Remove writes to non-existant cpufreq nodes" This reverts commit b7f109ed9ffdc0a38d356937fff45e2e066cd997. * So, that was 100% my derp. The cpufreq directories come and go as cores go on- and off-line. * Now, I wish I had notes as to whether I made this change in the first place because of an error in a log or just based on manual inspection. Change-Id: I2782fefa80560bf9e20001e72ad378553d787ac0 --- rootdir/etc/init.qcom.rc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 5547901..b1e8cef 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -976,6 +976,9 @@ on property:sys.boot_completed=1 # Configure the CPU governor write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor interactive + write /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor interactive + write /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor interactive + write /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor interactive write /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay "19000 1400000:39000 1700000:19000" write /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load 99 write /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq 1497600 @@ -985,6 +988,9 @@ on property:sys.boot_completed=1 write /sys/devices/system/cpu/cpufreq/interactive/timer_rate 30000 write /sys/devices/system/cpu/cpufreq/interactive/sampling_down_factor 100000 write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 300000 + write /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq 300000 + write /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq 300000 + write /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq 300000 chown root system /sys/devices/system/cpu/cpu1/online chown root system /sys/devices/system/cpu/cpu2/online