[SRU][N][PATCH 1/1] cpufreq: intel_pstate: Support Emerald Rapids OOB mode

Thibault Ferrante thibault.ferrante at canonical.com
Thu Oct 17 20:37:57 UTC 2024


From: Srinivas Pandruvada <srinivas.pandruvada at linux.intel.com>

BugLink: https://bugs.launchpad.net/bugs/2084834

Prevent intel_pstate from loading when OOB (Out Of Band) P-states mode is
enabled in Emerald Rapids.

The OOB identifying bits are same as for the prior generation CPUs
like Sapphire Rapids servers, so also add Emerald Rapids to the
intel_pstate_cpu_oob_ids[] list.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada at linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki at intel.com>
(cherry picked from commit 7e1c3f584ee78b0d0210fc424420d9529f3ca952)
Signed-off-by: Thibault Ferrante <thibault.ferrante at canonical.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 b8226f2cc10e..bd75aa0cd1ac 100644
--- a/drivers/cpufreq/intel_pstate.c
+++ b/drivers/cpufreq/intel_pstate.c
@@ -2444,6 +2444,7 @@ static const struct x86_cpu_id intel_pstate_cpu_oob_ids[] __initconst = {
 	X86_MATCH(INTEL_SKYLAKE_X,		core_funcs),
 	X86_MATCH(INTEL_ICELAKE_X,		core_funcs),
 	X86_MATCH(INTEL_SAPPHIRERAPIDS_X,	core_funcs),
+	X86_MATCH(INTEL_EMERALDRAPIDS_X,	core_funcs),
 	{}
 };
 
-- 
2.43.0




More information about the kernel-team mailing list