Skip to contentSkip to conversation

cpufreq: intel_pstate: Add Emerald Rapids support in no-HWP mode

PATCH Applied Zhenguo Yao 3 participants 4 messages Dec 13, 2023 – Dec 19, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cpufreq: intel_pstate: Add Emerald Rapids support in no-HWP mode

Users may disable HWP in firmware, in which case intel_pstate wouldn't load unless the CPU model is explicitly supported.

See also the following past commits:

commit df51f287b5de ("cpufreq: intel_pstate: Add Sapphire Rapids support in no-HWP mode")
commit d8de7a44e11f ("cpufreq: intel_pstate: Add Skylake servers support") commit 706c5328851d ("cpufreq: intel_pstate: Add Cometlake support in no-HWP mode")
commit fbdc21e9b038 ("cpufreq: intel_pstate: Add Icelake servers support in no-HWP mode")
commit 71bb5c82aaae ("cpufreq: intel_pstate: Add Tigerlake support in no-HWP mode")

---
 drivers/cpufreq/intel_pstate.c | 1 +
 1 file changed, 1 insertion(+)
drivers/cpufreq/intel_pstate.c +1 -0
index a534a1f7f1ee..39e0a2cf7236 100644
@@ -2406,6 +2406,7 @@ static const struct x86_cpu_id intel_pstate_cpu_ids[] = {
 	X86_MATCH(ICELAKE_X,		core_funcs),
 	X86_MATCH(TIGERLAKE,		core_funcs),
 	X86_MATCH(SAPPHIRERAPIDS_X,	core_funcs),
+	X86_MATCH(EMERALDRAPIDS_X,      core_funcs),
 	{}
 };
 MODULE_DEVICE_TABLE(x86cpu, intel_pstate_cpu_ids);
Signature · 1 line
2.39.3
#1 lore raw
Quoted 16 lines · Zhenguo Yao

Users may disable HWP in firmware, in which case intel_pstate wouldn't load unless the CPU model is explicitly supported.

See also the following past commits:

commit df51f287b5de ("cpufreq: intel_pstate: Add Sapphire Rapids support in no-HWP mode")
commit d8de7a44e11f ("cpufreq: intel_pstate: Add Skylake servers support") commit 706c5328851d ("cpufreq: intel_pstate: Add Cometlake support in no-HWP mode")
commit fbdc21e9b038 ("cpufreq: intel_pstate: Add Icelake servers support in no-HWP mode")
commit 71bb5c82aaae ("cpufreq: intel_pstate: Add Tigerlake support in no-HWP mode")

Quoted 1 line

Srinivas, any objections?

Quoted 19 lines
---
 drivers/cpufreq/intel_pstate.c | 1 +
 1 file changed, 1 insertion(+)
drivers/cpufreq/intel_pstate.c +1 -1
index a534a1f7f1ee..39e0a2cf7236 100644
@@ -2406,6 +2406,7 @@ static const struct x86_cpu_id intel_pstate_cpu_ids[] = {
        X86_MATCH(ICELAKE_X,            core_funcs),
        X86_MATCH(TIGERLAKE,            core_funcs),
        X86_MATCH(SAPPHIRERAPIDS_X,     core_funcs),
+       X86_MATCH(EMERALDRAPIDS_X,      core_funcs),
        {}
 };
 MODULE_DEVICE_TABLE(x86cpu, intel_pstate_cpu_ids);
--

2.39.3

maintainer Acked-by
#2 lore raw
Quoted 24 lines · Rafael J. Wysocki
Quoted 22 lines · Zhenguo Yao

Users may disable HWP in firmware, in which case intel_pstate wouldn't load
unless the CPU model is explicitly supported.

See also the following past commits:

commit df51f287b5de ("cpufreq: intel_pstate: Add Sapphire Rapids support
in no-HWP mode")
commit d8de7a44e11f ("cpufreq: intel_pstate: Add Skylake servers support")
commit 706c5328851d ("cpufreq: intel_pstate: Add Cometlake support in
no-HWP mode")
commit fbdc21e9b038 ("cpufreq: intel_pstate: Add Icelake servers support in
no-HWP mode")
commit 71bb5c82aaae ("cpufreq: intel_pstate: Add Tigerlake support in
no-HWP mode")

Quoted 3 lines
Quoted 1 line

Srinivas, any objections?

No.

Quoted 22 lines
Quoted 22 lines

---
 drivers/cpufreq/intel_pstate.c | 1 +

 1 file changed, 1 insertion(+)
drivers/cpufreq/intel_pstate.c +1 -0
index a534a1f7f1ee..39e0a2cf7236 100644
@@ -2406,6 +2406,7 @@ static const struct x86_cpu_id
 intel_pstate_cpu_ids[] = {
         X86_MATCH(ICELAKE_X,            core_funcs),
         X86_MATCH(TIGERLAKE,            core_funcs),
         X86_MATCH(SAPPHIRERAPIDS_X,     core_funcs),
+       X86_MATCH(EMERALDRAPIDS_X,      core_funcs),
         {}
  };

 MODULE_DEVICE_TABLE(x86cpu, intel_pstate_cpu_ids); --
2.39.3

maintainer Applied
#3 lore raw
Quoted 26 lines · srinivas pandruvada
Quoted 24 lines · Rafael J. Wysocki
Quoted 22 lines · Zhenguo Yao

Users may disable HWP in firmware, in which case intel_pstate wouldn't load
unless the CPU model is explicitly supported.

See also the following past commits:

commit df51f287b5de ("cpufreq: intel_pstate: Add Sapphire Rapids support
in no-HWP mode")
commit d8de7a44e11f ("cpufreq: intel_pstate: Add Skylake servers support")
commit 706c5328851d ("cpufreq: intel_pstate: Add Cometlake support in
no-HWP mode")
commit fbdc21e9b038 ("cpufreq: intel_pstate: Add Icelake servers support in
no-HWP mode")
commit 71bb5c82aaae ("cpufreq: intel_pstate: Add Tigerlake support in
no-HWP mode")

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

Srinivas, any objections?

No.

Applied as 6.8 material (with some minor edits in the changelog), thanks!