Rafael J. Wysocki a8fc3159ee cpufreq: schedutil: Fix per-CPU structure initialization in sugov_start()
commit 4296f23ed49a15d36949458adcc66ff993dee2a8 upstream.

sugov_start() only initializes struct sugov_cpu per-CPU structures
for shared policies, but it should do that for single-CPU policies too.

That in particular makes the IO-wait boost mechanism work in the
cases when cpufreq policies correspond to individual CPUs.

Fixes: 21ca6d2c52f8 (cpufreq: schedutil: Add iowait boosting)
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-06-14 15:06:05 +02:00
..
2016-04-04 09:46:47 -04:00
2017-06-14 15:06:00 +02:00
2017-05-20 14:28:40 +02:00
2016-05-27 15:26:11 -07:00
2016-10-07 18:46:30 -07:00
2016-09-22 20:00:36 -05:00