Revision c31432fa7f825de0e19838f1ac7746381c509ec4 authored by Srinivas Pandruvada on 31 October 2019, 19:26:20 UTC, committed by Rafael J. Wysocki on 08 November 2019, 10:29:58 UTC
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>
1 parent a99d808
File | Mode | Size |
---|---|---|
include | ||
.gitignore | -rw-r--r-- | 143 bytes |
Kconfig | -rw-r--r-- | 7.9 KB |
Makefile | -rw-r--r-- | 2.2 KB |
gen_init_cpio.c | -rw-r--r-- | 12.8 KB |
gen_initramfs_list.sh | -rwxr-xr-x | 8.0 KB |
initramfs_data.S | -rw-r--r-- | 1.3 KB |
Computing file changes ...