Re: [PATCH] cpufreq: intel_pstate: Support Emerald Rapids OOB mode
From: Rafael J. Wysocki
Date: Fri Jun 07 2024 - 15:20:30 EST
On Thu, May 30, 2024 at 7:53 AM Srinivas Pandruvada
<srinivas.pandruvada@xxxxxxxxxxxxxxx> wrote:
>
> Prevent intel_pstate to load when OOB (Out Of Band) P-states mode is
> enabled in Emerald Rapids. The OOB identifying bits are same as the
> prior generation CPUs like Sapphire Rapids servers. So, also add Emerald
> Rapids to intel_pstate_cpu_oob_ids list.
>
> Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@xxxxxxxxxxxxxxx>
> ---
> 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 4b986c044741..6b6d47d3ec02 100644
> --- a/drivers/cpufreq/intel_pstate.c
> +++ b/drivers/cpufreq/intel_pstate.c
> @@ -2404,6 +2404,7 @@ static const struct x86_cpu_id intel_pstate_cpu_oob_ids[] __initconst = {
> X86_MATCH(SKYLAKE_X, core_funcs),
> X86_MATCH(ICELAKE_X, core_funcs),
> X86_MATCH(SAPPHIRERAPIDS_X, core_funcs),
> + X86_MATCH(EMERALDRAPIDS_X, core_funcs),
> {}
> };
> #endif
> --
Rebased on top of the Tony's series:
https://lore.kernel.org/linux-acpi/20240528184720.56259-1-tony.luck@xxxxxxxxx/
and applied as 6.11 material.
Thanks!