summaryrefslogtreecommitdiff
path: root/init.bullhead.power.sh
AgeCommit message (Collapse)Author
2016-09-18bullhead: reset timer_rate back to 20000Alex Naidis
The change which changed timer_rate from 20000 to 19000 is not functional since interactive rounds it up to 20000 anyways in order to match jiffy. Signed-off-by: Alex Naidis <alex.naidis@linux.com>
2015-08-26bullhead power: set GPU default pwrlevel to 5 (180MHz)Thierry Strudel
Change-Id: I59d1edf79035f1656ff31a5b33e7da6aaf11cd12
2015-08-20Disable aggressive small task packing.Tim Murray
This caused jank by leaving little cores idle too often. Remove it. bug 23331135 Change-Id: I326f8ad79626be553103a96e699c08e68b711d65
2015-08-11Relax timer_rate to 19000.Tim Murray
timer_rate of 10000 provides better perf and better perf/W for some workloads, but it causes regressions in very-low-power workloads because of the sheer number of frequency changes and oscillations. bug 23092353 Change-Id: I37baff568899b2864205675d725fe7539717e0c1
2015-08-11Lower hispeed_freq for bullhead.Tim Murray
bug 23108833 Change-Id: I7f0c9781b854a05e73937786abf5cc72e8dc2913
2015-08-11Enable small task packing for bullhead.Tim Murray
bug 23092210 Change-Id: I3e29e16c4e1236ae36c2115810be002e587d5837
2015-07-23bullhead: Use a stair-step target load for interactive governor.Riley Andrews
Change-Id: Ie0c5620f5bd48729cab68a1c45d185d17a11b722
2015-07-16selinux: restorecon interactive sysfs files before useJeff Vander Stoep
Interactive files in sysfs receive the default sysfs type. Allow init-power-sh domain to restorecon these to sysfs_devices_system_cpu. Label additional sysfs cpu control files sysfs_devices_system_cpu. Allow perfd to write to sysfs_devices_system_cpu avc: denied { relabelfrom } for pid=413 comm="restorecon" name="cpufreq" dev="sysfs" ino=26408 scontext=u:r:init-power-sh:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=1 avc: denied { relabelto } for pid=413 comm="restorecon" name="cpufreq" dev="sysfs" ino=26408 scontext=u:r:init-power-sh:s0 tcontext=u:object_r:sysfs_devices_system_cpu:s0 tclass=dir permissive=1 avc: denied { relabelfrom } for pid=413 comm="restorecon" name="time_in_state" dev="sysfs" ino=26425 scontext=u:r:init-power-sh:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 avc: denied { relabelto } for pid=413 comm="restorecon" name="time_in_state" dev="sysfs" ino=26425 scontext=u:r:init-power-sh:s0 tcontext=u:object_r:sysfs_devices_system_cpu:s0 tclass=file permissive=1 avc: denied { relabelfrom } for pid=413 comm="restorecon" name="topology" dev="sysfs" ino=26401 scontext=u:r:init-power-sh:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=1 avc: denied { relabelfrom } for pid=413 comm="restorecon" name="cpufreq" dev="sysfs" ino=26433 scontext=u:r:init-power-sh:s0 tcontext=u:object_r:sysfs:s0 tclass=lnk_file permissive=1 avc: denied { relabelto } for pid=413 comm="restorecon" name="cpufreq" dev="sysfs" ino=26433 scontext=u:r:init-power-sh:s0 tcontext=u:object_r:sysfs_devices_system_cpu:s0 tclass=lnk_file permissive=1 avc: denied { write } for pid=391 comm="init.bullhead.p" name="governor" dev="sysfs" ino=21024 scontext=u:r:init-power-sh:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 avc: denied { write } for pid=392 comm="init.bullhead.p" name="rps_cpus" dev="sysfs" ino=25428 scontext=u:r:init-power-sh:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 Bug: 22335773 Change-Id: Iddb9f54d792fc26a02be688156ad790aee5e101c
2015-07-15Merge "Modify interactive timer_rate to 10ms, upmigrate to 95, and ↵Tim Murray
downmigrate to 85." into mnc-dr-dev
2015-07-15Modify interactive timer_rate to 10ms, upmigrate to 95, andTim Murray
downmigrate to 85. Change-Id: I46379db4582eb9e13d3db6f5c472cdcd94b3a6a7
2015-07-13bullhead: enable low power mode only on boot completeThierry Strudel
Bug: 22158118 Change-Id: Icf7dc8d8a55206717784788159ff297cc3667d58 Signed-off-by: Thierry Strudel <tstrudel@google.com>
2015-07-01Merge "update minimum frequency for A57" into mnc-devTim Murray
2015-07-01update minimum frequency for A57Tim Murray
Change-Id: I9a1dc12b331da46ea2217c7541fd0cf74cc8da0e
2015-06-30cpufreq tunables: set go_hispeed_load to 99Riley Andrews
The interactive governor should only boost to hispeed when the current core has been completely maxed out at its current frequency. If there is some idle time, then the idle/active time should be used to appropriately set the frequency. Change-Id: I30999147ae5687812fddd7abfeb23a70656138cb
2015-06-17bullhead/power: offline A57s when no thermal hotplugThierry Strudel
Also do not restrict use of A57 cores during boot Change-Id: I11a66aaabfaa51e55bf46792ce649b8e70d6cabf
2015-06-11bullhead/perf: Force Android background tasks on A53sRiley Andrews
Set sched_upmigrate_min_nice to 9, instead of the default 15. The "background" priority level in android is nice 10, so this setting will prevent these processes from up-migrating. Change-Id: I5cf74a1ebba9cc05d033ae20a0f23899c2727222
2015-06-10bullhead/power: Disable CPU and L2 retention for 8992Sungmin Choi
Original commit: commit 87759f032c8f3bc6c9a3945343e93b3998dc80f2 Author: Murali Nalajala <mnalajal@codeaurora.org> Date: Thu Mar 19 11:19:54 2015 -0700 init.qcom.post_boot.sh: Disable CPU and L2 retention for 8992 Some of the data usecases shown APC0 voltage high with CPU and L2 retention enabled. Disable CPUs and L2s retention modes on 8992. CRs-fixed: 810583 Change-Id: Ia9c9fd1e104d8506f19795613d451780d3b0b7eb
2015-06-08bullhead/power: Make Big.Little freq gov tuning more aggressiveRiley Andrews
Make it more likely for a process to be placed on a big core. Bug: 21705272 Change-Id: Icfab8afba9c7f3a85e2d4a185b91de9cb5107a46
2015-06-08bullhead/power: fix typo for max_freq_hysteresis of big clusterSungmin Choi
Change-Id: I2f9f91b8b6f69a1148384138ca63cfbbb7b35983
2015-06-05init.bullhead.power.sh: fix copy helperThierry Strudel
Typo in copy function was preventing big cores scaling_max_freq to be restored to cpuinfo_max_freq. Change-Id: Ice81988787f1632b8e7a13685a043e864bfe0647
2015-06-03bullhead: move perf/power init to init-bullhead-power.shThierry Strudel
Add init-bullhead-power.sh to set init values related to power and be able to control thermal bcl hotplug before enabling big cpus. Change-Id: If7e5d9923b1b0bc506e091b9ae04f93edea52092 Signed-off-by: Hyejin <hyejin.kim@lge.com> Signed-off-by: Myeonggyu Son <myeonggyu.son@lge.com> Signed-off-by: Thierry Strudel <tstrudel@google.com>