diff options
author | Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> | 2022-05-02 13:50:52 -0700 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-05-11 19:17:43 +0200 |
commit | bbd67f1b5a9449b090560ca5288aef0cfe623275 (patch) | |
tree | 5f3a518d5afb51a97d36fc4d2ad6c0d7c5e336e7 /drivers/cpufreq/intel_pstate.c | |
parent | 85f0e42bd65d01b351d561efb38e584d4c596553 (diff) | |
download | lwn-bbd67f1b5a9449b090560ca5288aef0cfe623275.tar.gz lwn-bbd67f1b5a9449b090560ca5288aef0cfe623275.zip |
cpufreq: intel_pstate: Support Sapphire Rapids OOB mode
Prevent intel_pstate to load when OOB (Out Of Band) P-states mode is
enabled in Sapphire Rapids. The OOB identifying bits are same as the
prior generation CPUs like Ice Lake servers. So, also add Sapphire
Rapids to intel_pstate_cpu_oob_ids list.
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c index 2216b24b6f84..57cdb3679885 100644 --- a/drivers/cpufreq/intel_pstate.c +++ b/drivers/cpufreq/intel_pstate.c @@ -2425,6 +2425,7 @@ static const struct x86_cpu_id intel_pstate_cpu_oob_ids[] __initconst = { X86_MATCH(BROADWELL_X, core_funcs), X86_MATCH(SKYLAKE_X, core_funcs), X86_MATCH(ICELAKE_X, core_funcs), + X86_MATCH(SAPPHIRERAPIDS_X, core_funcs), {} }; |