Message ID | 20240802184839.1909091-1-srinivas.pandruvada@linux.intel.com |
---|---|
State | Accepted |
Commit | 3ca2a3d1e7271549985dc57c8106bb07b3134ecb |
Headers | show |
Series | cpufreq: intel_pstate: Support Granite Rapids and Sierra Forest OOB mode | expand |
On Fri, Aug 2, 2024 at 8:49 PM Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> wrote: > > Prevent intel_pstate from loading when OOB (Out Of Band) P-states mode is > enabled. > > The OOB identifying bits are same as for the prior generation CPUs like > Emerald Rapids servers. Add Granite Rapids and Sierra Forest CPU models to > intel_pstate_cpu_oob_ids[]. > > Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> > --- > drivers/cpufreq/intel_pstate.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c > index 392a8000b238..79b9c3c27dff 100644 > --- a/drivers/cpufreq/intel_pstate.c > +++ b/drivers/cpufreq/intel_pstate.c > @@ -2425,6 +2425,10 @@ static const struct x86_cpu_id intel_pstate_cpu_oob_ids[] __initconst = { > X86_MATCH(INTEL_ICELAKE_X, core_funcs), > X86_MATCH(INTEL_SAPPHIRERAPIDS_X, core_funcs), > X86_MATCH(INTEL_EMERALDRAPIDS_X, core_funcs), > + X86_MATCH(INTEL_GRANITERAPIDS_D, core_funcs), > + X86_MATCH(INTEL_GRANITERAPIDS_X, core_funcs), > + X86_MATCH(INTEL_ATOM_CRESTMONT, core_funcs), > + X86_MATCH(INTEL_ATOM_CRESTMONT_X, core_funcs), > {} > }; > #endif > -- Applied as 6.12 material, thanks!
diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c index 392a8000b238..79b9c3c27dff 100644 --- a/drivers/cpufreq/intel_pstate.c +++ b/drivers/cpufreq/intel_pstate.c @@ -2425,6 +2425,10 @@ static const struct x86_cpu_id intel_pstate_cpu_oob_ids[] __initconst = { X86_MATCH(INTEL_ICELAKE_X, core_funcs), X86_MATCH(INTEL_SAPPHIRERAPIDS_X, core_funcs), X86_MATCH(INTEL_EMERALDRAPIDS_X, core_funcs), + X86_MATCH(INTEL_GRANITERAPIDS_D, core_funcs), + X86_MATCH(INTEL_GRANITERAPIDS_X, core_funcs), + X86_MATCH(INTEL_ATOM_CRESTMONT, core_funcs), + X86_MATCH(INTEL_ATOM_CRESTMONT_X, core_funcs), {} }; #endif
Prevent intel_pstate from loading when OOB (Out Of Band) P-states mode is enabled. The OOB identifying bits are same as for the prior generation CPUs like Emerald Rapids servers. Add Granite Rapids and Sierra Forest CPU models to intel_pstate_cpu_oob_ids[]. Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> --- drivers/cpufreq/intel_pstate.c | 4 ++++ 1 file changed, 4 insertions(+)