Skip to content

Commit 6a52d1e

Browse files
committed
cpufreq: intel_pstate: Support Emerald Rapids OOB mode
jira LE-2289 Rebuild_History Non-Buildable kernel-4.18.0-553.36.1.el8_10 commit-author Srinivas Pandruvada <[email protected]> commit 7e1c3f5 Empty-Commit: Cherry-Pick Conflicts during history rebuild. Will be included in final tarball splat. Ref for failed cherry-pick at: ciq/ciq_backports/kernel-4.18.0-553.36.1.el8_10/7e1c3f58.failed 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 <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]> (cherry picked from commit 7e1c3f5) Signed-off-by: Jonathan Maple <[email protected]> # Conflicts: # drivers/cpufreq/intel_pstate.c
1 parent 91d0570 commit 6a52d1e

File tree

1 file changed

+59
-0
lines changed

1 file changed

+59
-0
lines changed
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
cpufreq: intel_pstate: Support Emerald Rapids OOB mode
2+
3+
jira LE-2289
4+
Rebuild_History Non-Buildable kernel-4.18.0-553.36.1.el8_10
5+
commit-author Srinivas Pandruvada <[email protected]>
6+
commit 7e1c3f584ee78b0d0210fc424420d9529f3ca952
7+
Empty-Commit: Cherry-Pick Conflicts during history rebuild.
8+
Will be included in final tarball splat. Ref for failed cherry-pick at:
9+
ciq/ciq_backports/kernel-4.18.0-553.36.1.el8_10/7e1c3f58.failed
10+
11+
Prevent intel_pstate from loading when OOB (Out Of Band) P-states mode is
12+
enabled in Emerald Rapids.
13+
14+
The OOB identifying bits are same as for the prior generation CPUs
15+
like Sapphire Rapids servers, so also add Emerald Rapids to the
16+
intel_pstate_cpu_oob_ids[] list.
17+
18+
Signed-off-by: Srinivas Pandruvada <[email protected]>
19+
Signed-off-by: Rafael J. Wysocki <[email protected]>
20+
(cherry picked from commit 7e1c3f584ee78b0d0210fc424420d9529f3ca952)
21+
Signed-off-by: Jonathan Maple <[email protected]>
22+
23+
# Conflicts:
24+
# drivers/cpufreq/intel_pstate.c
25+
diff --cc drivers/cpufreq/intel_pstate.c
26+
index 405d00dd8746,efb29a473be2..000000000000
27+
--- a/drivers/cpufreq/intel_pstate.c
28+
+++ b/drivers/cpufreq/intel_pstate.c
29+
@@@ -2414,17 -2397,20 +2414,26 @@@ static const struct x86_cpu_id intel_ps
30+
};
31+
MODULE_DEVICE_TABLE(x86cpu, intel_pstate_cpu_ids);
32+
33+
-#ifdef CONFIG_ACPI
34+
static const struct x86_cpu_id intel_pstate_cpu_oob_ids[] __initconst = {
35+
++<<<<<<< HEAD
36+
+ X86_MATCH(BROADWELL_D, core_funcs),
37+
+ X86_MATCH(BROADWELL_X, core_funcs),
38+
+ X86_MATCH(SKYLAKE_X, core_funcs),
39+
+ X86_MATCH(ICELAKE_X, core_funcs),
40+
+ X86_MATCH(SAPPHIRERAPIDS_X, core_funcs),
41+
++=======
42+
+ X86_MATCH(INTEL_BROADWELL_D, core_funcs),
43+
+ X86_MATCH(INTEL_BROADWELL_X, core_funcs),
44+
+ X86_MATCH(INTEL_SKYLAKE_X, core_funcs),
45+
+ X86_MATCH(INTEL_ICELAKE_X, core_funcs),
46+
+ X86_MATCH(INTEL_SAPPHIRERAPIDS_X, core_funcs),
47+
+ X86_MATCH(INTEL_EMERALDRAPIDS_X, core_funcs),
48+
++>>>>>>> 7e1c3f584ee7 (cpufreq: intel_pstate: Support Emerald Rapids OOB mode)
49+
{}
50+
};
51+
-#endif
52+
53+
static const struct x86_cpu_id intel_pstate_cpu_ee_disable_ids[] = {
54+
- X86_MATCH(INTEL_KABYLAKE, core_funcs),
55+
+ X86_MATCH(KABYLAKE, core_funcs),
56+
{}
57+
};
58+
59+
* Unmerged path drivers/cpufreq/intel_pstate.c

0 commit comments

Comments
 (0)