Rafael J. Wysocki
56026645e2
cpufreq: governor: Ensure sufficiently large sampling intervals
...
After commit aa7519af450d (cpufreq: Use transition_delay_us for legacy
governors as well) the sampling_rate field of struct dbs_data may be
less than the tick period which causes dbs_update() to produce
incorrect results, so make the code ensure that the value of that
field will always be sufficiently large.
Fixes: aa7519af450d (cpufreq: Use transition_delay_us for legacy governors as well)
Reported-by: Andy Tang <andy.tang@nxp.com>
Reported-by: Doug Smythies <dsmythies@telus.net>
Tested-by: Andy Tang <andy.tang@nxp.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
2017-12-18 12:09:39 +01:00
..
2016-12-21 02:52:52 +01:00
2016-07-07 00:14:27 +02:00
2017-11-08 23:22:20 +01:00
2017-11-08 23:22:19 +01:00
2017-11-08 23:22:19 +01:00
2014-04-07 14:31:33 +02:00
2015-12-28 01:51:36 +01:00
2017-02-09 01:22:44 +01:00
2017-02-09 01:22:46 +01:00
2017-08-18 01:41:37 +02:00
2017-07-22 02:25:20 +02:00
2016-04-02 01:09:01 +02:00
2017-12-18 12:09:39 +01:00
2017-07-26 00:15:45 +02:00
2017-07-22 02:25:20 +02:00
2016-06-09 00:58:06 +02:00
2016-06-02 23:24:15 +02:00
2016-06-02 23:24:15 +02:00
2017-11-08 23:41:25 +01:00
2016-06-02 23:24:15 +02:00
2017-10-11 01:58:00 +02:00
2017-10-03 02:37:53 +02:00
2016-09-13 02:39:12 +02:00
2017-07-26 00:15:46 +02:00
2017-10-03 02:37:53 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-01-02 15:02:51 +05:30
2016-04-27 22:42:34 +02:00
2017-07-26 00:15:46 +02:00
2017-06-24 01:38:00 +02:00
2016-07-07 00:13:20 +02:00
2017-07-26 00:15:46 +02:00
2014-10-21 11:21:19 -07:00
2017-04-15 12:20:55 +02:00
2017-12-18 12:06:37 +01:00
2017-09-05 12:45:03 -07:00
2017-11-21 23:58:54 +01:00
2017-08-22 15:50:02 +02:00
2015-03-18 22:35:16 +01:00
2016-11-30 08:27:08 +01:00
2017-05-30 00:09:41 +02:00
2016-05-16 19:17:22 -07:00
2013-07-14 19:36:57 -04:00
2017-07-26 00:15:43 +02:00
2016-05-13 14:02:08 +02:00
2017-08-18 01:44:21 +02:00
2017-11-02 11:10:55 +01:00
2016-04-09 01:35:18 +02:00
2017-11-22 00:00:14 +01:00
2016-06-13 23:49:43 +02:00
2017-01-30 09:22:21 +01:00
2016-04-09 01:35:18 +02:00
2017-05-23 10:01:36 +02:00
2016-07-22 23:51:06 +02:00
2017-07-26 00:15:46 +02:00
2017-08-25 01:20:46 +02:00
2016-04-09 01:35:18 +02:00
2017-09-14 11:59:30 +02:00
2011-05-19 18:51:07 -04:00
2017-10-03 02:51:08 +02:00
2014-05-17 01:27:01 +02:00
2017-10-05 15:01:16 +02:00
2013-04-10 13:19:26 +02:00
2017-02-04 00:05:30 +01:00
2014-04-30 00:06:21 +02:00
2017-11-02 11:10:55 +01:00
2017-10-21 13:20:49 +02:00
2014-03-12 01:06:00 +01:00
2017-05-27 17:32:24 -07:00
2016-04-09 01:35:18 +02:00
2016-06-09 00:58:06 +02:00
2016-12-21 02:54:18 +01:00
2014-07-19 04:24:59 +09:00
2016-04-09 01:35:18 +02:00
2017-02-09 01:22:45 +01:00
2016-04-09 01:35:18 +02:00
2017-07-26 22:54:01 +02:00
2017-07-26 00:15:46 +02:00
2017-07-26 00:15:46 +02:00
2016-04-09 01:35:18 +02:00
2017-11-08 23:22:20 +01:00
2017-06-24 01:43:21 +02:00
2017-07-26 00:15:46 +02:00
2017-04-15 12:20:56 +02:00
2017-04-15 12:20:55 +02:00
2017-10-03 02:52:17 +02:00
2016-04-09 01:35:18 +02:00
2017-07-16 02:12:35 +02:00
2017-10-14 00:58:25 +02:00
2011-05-19 18:51:07 -04:00
2017-07-26 00:15:46 +02:00
2017-08-25 01:20:46 +02:00
2017-07-22 02:20:59 +02:00
2015-09-26 03:00:57 +02:00
2016-04-09 01:12:09 +02:00
2017-04-19 23:23:08 +02:00
2017-10-14 00:56:15 +02:00
2017-07-26 00:15:46 +02:00
2017-11-08 23:22:20 +01:00