Message ID | 20220502205052.1257462-1-srinivas.pandruvada@linux.intel.com (mailing list archive) |
---|---|
State | Mainlined, archived |
Headers | show |
Series | cpufreq: intel_pstate: Support Sapphire Rapids OOB mode | expand |
On Mon, May 2, 2022 at 10:50 PM Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> wrote: > > 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> > --- > drivers/cpufreq/intel_pstate.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c > index 846bb3a78788..76d59b3f35e4 100644 > --- a/drivers/cpufreq/intel_pstate.c > +++ b/drivers/cpufreq/intel_pstate.c > @@ -2424,6 +2424,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), > {} > }; > > -- Applied as 5.19 material, thanks!
diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c index 846bb3a78788..76d59b3f35e4 100644 --- a/drivers/cpufreq/intel_pstate.c +++ b/drivers/cpufreq/intel_pstate.c @@ -2424,6 +2424,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), {} };
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> --- drivers/cpufreq/intel_pstate.c | 1 + 1 file changed, 1 insertion(+)