[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAJZ5v0gkJdSdM+282AWTDKPdRsvJLiXi5p1bq+L+=_weCqOdzg@mail.gmail.com>
Date: Mon, 19 Aug 2024 15:40:29 +0200
From: "Rafael J. Wysocki" <rafael@...nel.org>
To: Srinivas Pandruvada <srinivas.pandruvada@...ux.intel.com>
Cc: viresh.kumar@...aro.org, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] cpufreq: intel_pstate: Support Granite Rapids and Sierra
Forest OOB mode
On Fri, Aug 2, 2024 at 8:49 PM Srinivas Pandruvada
<srinivas.pandruvada@...ux.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@...ux.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!
Powered by blists - more mailing lists