summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdamos Ttofari <attofari@amazon.de>2021-11-12 10:16:57 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-11-23 14:02:10 +0100
commitcd23f02f166892603eb9f2d488152b975872b682 (patch)
tree4c12aeaff72796eaf6fbf3137facc7e2b464c688
parentLinux 5.16-rc2 (diff)
downloadlinux-cd23f02f166892603eb9f2d488152b975872b682.tar.xz
linux-cd23f02f166892603eb9f2d488152b975872b682.zip
cpufreq: intel_pstate: Add Ice Lake server to out-of-band IDs
Commit fbdc21e9b038 ("cpufreq: intel_pstate: Add Icelake servers support in no-HWP mode") enabled the use of Intel P-State driver for Ice Lake servers. But it doesn't cover the case when OS can't control P-States. Therefore, for Ice Lake server, if MSR_MISC_PWR_MGMT bits 8 or 18 are enabled, then the Intel P-State driver should exit as OS can't control P-States. Fixes: fbdc21e9b038 ("cpufreq: intel_pstate: Add Icelake servers support in no-HWP mode") Signed-off-by: Adamos Ttofari <attofari@amazon.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-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 815df3daae9d..1088ff350159 100644
--- a/drivers/cpufreq/intel_pstate.c
+++ b/drivers/cpufreq/intel_pstate.c
@@ -2353,6 +2353,7 @@ static const struct x86_cpu_id intel_pstate_cpu_oob_ids[] __initconst = {
X86_MATCH(BROADWELL_D, core_funcs),
X86_MATCH(BROADWELL_X, core_funcs),
X86_MATCH(SKYLAKE_X, core_funcs),
+ X86_MATCH(ICELAKE_X, core_funcs),
{}
};