Srinivas Pandruvada
c31432fa7f
cpufreq: intel_pstate: Fix invalid EPB setting
...
The max value of EPB can only be 0x0F. Attempting to set more than that
triggers an "unchecked MSR access error" warning which happens in
intel_pstate_hwp_force_min_perf() called via cpufreq stop_cpu().
However, it is not even necessary to touch the EPB from intel_pstate,
because it is restored on every CPU online by the intel_epb.c code,
so let that code do the right thing and drop the redundant (and
incorrect) EPB update from intel_pstate.
Fixes: af3b7379e2d70 ("cpufreq: intel_pstate: Force HWP min perf before offline")
Reported-by: Qian Cai <cai@lca.pw>
Cc: 5.2+ <stable@vger.kernel.org> # 5.2+
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
[ rjw: Changelog ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2019-11-08 11:29:58 +01:00
..
2019-05-30 11:26:35 -07:00
2019-06-19 17:09:55 +02:00
2019-02-07 09:55:11 +05:30
2017-11-08 23:22:19 +01:00
2019-07-22 11:12:15 +05:30
2019-06-03 11:26:38 +05:30
2019-07-16 10:20:11 +02:00
2019-06-04 09:31:41 +05:30
2019-06-05 17:37:17 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-09-03 07:55:22 +05:30
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:39 -07:00
2019-10-22 18:07:30 +02:00
2019-07-18 09:49:30 +02:00
2019-05-30 11:26:39 -07:00
2019-05-30 11:26:32 -07:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-05-21 10:50:45 +02:00
2019-07-18 09:49:30 +02:00
2019-08-22 11:31:04 +05:30
2019-11-08 11:29:58 +01:00
2019-05-21 10:50:46 +02:00
2019-09-03 07:55:22 +05:30
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-07-16 10:20:11 +02:00
2019-05-30 11:26:39 -07:00
2019-05-30 11:26:39 -07:00
2019-05-30 11:26:39 -07:00
2019-07-16 10:20:11 +02:00
2019-07-16 10:20:11 +02:00
2019-09-03 07:55:22 +05:30
2019-07-18 09:49:30 +02:00
2019-08-22 11:31:04 +05:30
2018-09-19 14:56:44 -07:00
2019-07-18 09:49:30 +02:00
2019-05-30 11:26:32 -07:00
2019-07-23 09:49:10 +02:00
2019-06-17 12:25:30 +02:00
2019-07-18 09:49:30 +02:00
2019-07-18 09:49:30 +02:00
2019-05-30 11:26:39 -07:00
2019-05-30 11:26:39 -07:00
2019-05-30 11:26:39 -07:00
2019-05-30 11:26:39 -07:00
2019-06-05 17:37:08 +02:00
2019-05-24 17:39:02 +02:00
2019-05-30 11:26:32 -07:00
2019-10-21 02:05:21 +02:00
2019-08-26 10:02:01 +02:00
2019-08-26 10:02:01 +02:00
2019-05-30 11:26:35 -07:00
2019-05-30 11:26:32 -07:00
2019-08-22 11:31:04 +05:30
2019-09-03 07:55:00 +05:30
2019-06-19 17:09:55 +02:00
2019-06-13 08:58:22 +05:30
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-07-18 09:49:30 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-07-18 09:49:30 +02:00
2019-06-19 17:09:55 +02:00
2019-07-18 09:49:30 +02:00
2019-07-16 10:20:11 +02:00
2019-07-18 09:49:30 +02:00
2019-05-30 11:26:32 -07:00
2019-03-04 11:19:14 +01:00
2019-03-28 11:14:31 +01:00
2019-06-19 17:09:07 +02:00
2018-03-20 12:07:52 +01:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:45 +02:00
2019-07-16 10:20:11 +02:00
2019-05-21 10:50:45 +02:00
2019-05-30 11:26:39 -07:00
2019-05-30 11:26:39 -07:00
2019-05-30 11:26:39 -07:00
2019-05-30 11:26:39 -07:00
2019-06-05 17:37:04 +02:00
2019-07-22 11:10:51 +05:30
2017-07-22 02:20:59 +02:00
2019-07-16 10:20:11 +02:00
2019-06-05 17:36:37 +02:00
2019-06-05 17:36:37 +02:00
2019-07-30 08:10:45 +05:30
2019-06-19 17:09:55 +02:00
2017-11-08 23:22:20 +01:00