Files
linux/kernel
Steve Muckle ca7b7d3c99 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>
[fixed cherry-pick issue]
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-06-02 08:01:50 -07:00
..
2016-06-24 10:18:17 -07:00
2017-04-30 07:30:52 +02:00
2015-06-30 19:44:57 -07:00
2017-05-25 17:31:28 +02:00
2015-04-11 22:27:55 -04:00
2015-11-04 08:23:51 -05:00
2017-01-17 12:44:14 -08:00
2015-04-12 21:03:31 +02:00
2017-05-25 17:31:28 +02:00
2015-11-23 09:44:58 +01:00
2017-05-20 14:27:02 +02:00
2015-11-05 19:34:48 -08:00
2016-08-01 15:57:55 -07:00
2017-04-30 07:30:52 +02:00