From 908d4500b76de979d4a1c80929373c54ca11e918 Mon Sep 17 00:00:00 2001 From: Demon Singur Date: Mon, 18 Jun 2018 05:09:44 +0000 Subject: [PATCH] sdm660-common: Remove energy awareness daemon All this does is to disable msm_core and set the polling_interval to 0, which makes the driver useless. We can achieve the same result by disabling the driver. Change-Id: Ic19c505ed74811a3d1b76703255af3aa5cb37bf9 Signed-off-by: Davide Garberi Signed-off-by: Subhajeet Muhuri --- proprietary-files.txt | 1 - rootdir/bin/init.qcom.post_boot.sh | 7 ------- rootdir/etc/init.target.rc | 7 ------- 3 files changed, 15 deletions(-) diff --git a/proprietary-files.txt b/proprietary-files.txt index 72aa21a3..1e1f7b99 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -357,7 +357,6 @@ lib/libqti-perfd-client_system.so|74f4d9657cf492cf1de2e9b93983f4e7b5431c45 lib64/libqti_performance.so|9c88af412e0276c578f06e1069b6c3aeae7e3f8d lib64/vendor.qti.hardware.perf@1.0.so|935d13179f58bdc09d31e6be87bdd9fac8afcdbe lib64/libqti-perfd-client_system.so|de5b61f07d7981bb208167b357f46a9ad083c9e7 -vendor/bin/energy-awareness|c1ad0ec1e4171b59f166e580ef8ce7395ccb41a5 vendor/bin/msm_irqbalance|117d7c8a8f6f12b3615ec8ab676231df93d277f1 vendor/bin/hw/vendor.qti.hardware.perf@1.0-service|ecd8296c848b6470a75a6ae7b235d079cacee3a5 vendor/etc/init/vendor.qti.hardware.perf@1.0-service.rc|b50182aadab2e31409df61c523d0fb914a394e43 diff --git a/rootdir/bin/init.qcom.post_boot.sh b/rootdir/bin/init.qcom.post_boot.sh index 9a070ac0..146b1702 100755 --- a/rootdir/bin/init.qcom.post_boot.sh +++ b/rootdir/bin/init.qcom.post_boot.sh @@ -1720,13 +1720,6 @@ case "$target" in # Enable timer migration to little cluster echo 1 > /proc/sys/kernel/power_aware_timer_migration - case "$soc_id" in - "277" | "278") - # Start energy-awareness for 8976 - start energy-awareness - ;; - esac - #enable sched colocation and colocation inheritance echo 130 > /proc/sys/kernel/sched_grp_upmigrate echo 110 > /proc/sys/kernel/sched_grp_downmigrate diff --git a/rootdir/etc/init.target.rc b/rootdir/etc/init.target.rc index 16e74ea7..3ed157b6 100755 --- a/rootdir/etc/init.target.rc +++ b/rootdir/etc/init.target.rc @@ -221,13 +221,6 @@ service vendor.imsdatadaemon /system/vendor/bin/imsdatadaemon disabled writepid /dev/cpuset/system-background/tasks -service vendor.energy-awareness /system/vendor/bin/energy-awareness - class main - user system - group system - oneshot - writepid /dev/cpuset/system-background/tasks - service vendor.pd_mapper /system/vendor/bin/pd-mapper class core