Files
linux/kernel
Steve Muckle 4e685a28e7 ANDROID: sched/cpufreq: fix tunables for schedfreq governor
The schedfreq governor does not currently handle cpufreq drivers which
use a global set of tunables (!have_governor_per_policy).

For example on x86 and using the acpi cpufreq driver, doing this

  cat /sys/devices/system/cpu/cpufreq/sched/up_throttle_nsec

will result in a bad pointer access.

Update the tunable code using the upstream schedutil tunable code by
Rafael Wysocki as a guide.

Includes a partial backport of the reorganized cpufreq tunable
infrastructure.

Change-Id: I7e6f8de1dac297077ad43f37dd2f6ddbfe921c98
Signed-off-by: Steve Muckle <smuckle@linaro.org>
[fixed cherry-pick issue]
Signed-off-by: Juri Lelli <juri.lelli@arm.com>
Signed-off-by: Quentin Perret <quentin.perret@arm.com>
2017-08-03 12:53:07 -07:00
..
2017-07-21 08:55:50 +02:00
2017-01-31 13:55:27 -08:00
2017-07-27 15:24:43 -07:00
2017-07-27 15:24:43 -07:00
2017-07-27 15:24:43 -07:00
2015-04-11 22:27:55 -04:00
2015-11-19 17:51:48 +01:00
2016-01-22 18:04:28 -05:00
2016-04-04 09:46:47 -04:00
2014-08-08 15:57:18 -07:00
2017-06-14 16:42:56 +02:00
2017-06-14 16:42:56 +02:00
2017-06-14 16:42:56 +02:00
2015-04-12 21:03:31 +02:00
2015-11-23 09:44:58 +01:00
2016-02-16 13:04:58 -05:00
2017-05-20 14:28:40 +02:00
2017-07-05 14:40:24 +02:00
2016-05-27 15:26:11 -07:00
2015-01-17 10:02:23 +13:00
2016-03-01 20:36:56 +01:00
2017-07-12 17:07:29 +02:00
2016-10-07 18:46:30 -07:00
2016-09-22 20:00:36 -05:00