diff options
author | Zhang Rui <rui.zhang@intel.com> | 2021-10-26 10:32:42 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-10-26 16:00:50 +0200 |
commit | c72bcf0ab87a92634e58af62e89af0f40dfd0b88 (patch) | |
tree | 33e79614df6be591885fe39c07d6fd3885bee668 /block/ioctl.c | |
parent | cpufreq: Fix typo in cpufreq.h (diff) | |
download | linux-c72bcf0ab87a92634e58af62e89af0f40dfd0b88.tar.xz linux-c72bcf0ab87a92634e58af62e89af0f40dfd0b88.zip |
cpufreq: intel_pstate: Fix cpu->pstate.turbo_freq initialization
Fix a problem in active mode that cpu->pstate.turbo_freq is initialized
only if HWP-to-frequency scaling factor is refined.
In passive mode, this problem is not exposed, because
cpu->pstate.turbo_freq is set again, later in
intel_cpufreq_cpu_init()->intel_pstate_get_hwp_cap().
Fixes: eb3693f0521e ("cpufreq: intel_pstate: hybrid: CPU-specific scaling factor")
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'block/ioctl.c')
0 files changed, 0 insertions, 0 deletions