aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/cpufreq/intel_pstate.c
diff options
context:
space:
mode:
authorGiovanni Gherdovich <ggherdovich@suse.cz>2021-05-18 14:34:12 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-05-21 18:47:18 +0200
commitfbdc21e9b038d00d0d56fa4e0f7701d42ae08f00 (patch)
tree50f6db9795ddb2a2da6544799fb274139f4d697d /drivers/cpufreq/intel_pstate.c
parentcpufreq: intel_pstate: hybrid: CPU-specific scaling factor (diff)
downloadwireguard-linux-fbdc21e9b038d00d0d56fa4e0f7701d42ae08f00.tar.xz
wireguard-linux-fbdc21e9b038d00d0d56fa4e0f7701d42ae08f00.zip
cpufreq: intel_pstate: Add Icelake servers support in no-HWP mode
Users may disable HWP in firmware, in which case intel_pstate wouldn't load unless the CPU model is explicitly supported. Add ICELAKE_X to the list of CPUs that can register intel_pstate while not advertising the HWP capability. Without this change, an ICELAKE_X in no-HWP mode could only use the acpi_cpufreq frequency scaling driver. See also commit d8de7a44e11f ("cpufreq: intel_pstate: Add Skylake servers support"). Signed-off-by: Giovanni Gherdovich <ggherdovich@suse.cz> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/intel_pstate.c')
-rw-r--r--drivers/cpufreq/intel_pstate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c
index b0afb8629767..d36d3b72d86b 100644
--- a/drivers/cpufreq/intel_pstate.c
+++ b/drivers/cpufreq/intel_pstate.c
@@ -2272,6 +2272,7 @@ static const struct x86_cpu_id intel_pstate_cpu_ids[] = {
X86_MATCH(ATOM_GOLDMONT, core_funcs),
X86_MATCH(ATOM_GOLDMONT_PLUS, core_funcs),
X86_MATCH(SKYLAKE_X, core_funcs),
+ X86_MATCH(ICELAKE_X, core_funcs),
{}
};
MODULE_DEVICE_TABLE(x86cpu, intel_pstate_cpu_ids);