diff options
author | Chen Yu <yu.c.chen@intel.com> | 2018-01-29 10:27:57 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-02-08 10:21:38 +0100 |
commit | 70f6bf2a3b7e40c3f802b0ea837762a8bc6c1430 (patch) | |
tree | 6ca51a0143f0a89d96e89dc9bc09a2a8e57bd732 /drivers/cpufreq/freq_table.c | |
parent | 0725390da9fb5add90a6ee5d5bbe58b5f47b25ac (diff) |
cpufreq: intel_pstate: Enable HWP during system resume on CPU0
When maxcpus=1 is in the kernel command line, the BP is responsible
for re-enabling the HWP - because currently only the APs invoke
intel_pstate_hwp_enable() during their online process - which might
put the system into unstable state after resume.
Fix this by enabling the HWP explicitly on BP during resume.
Reported-by: Doug Smythies <dsmythies@telus.net>
Suggested-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Yu Chen <yu.c.chen@intel.com>
[ rjw: Subject/changelog, minor modifications ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/freq_table.c')
0 files changed, 0 insertions, 0 deletions