cpufreq: intel_pstate: Add Emerald Rapids support in no-HWP mode
Subsystems (2)
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
@@ -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
Rafael J. Wysocki
maintainerQuoted 16 lines · Zhenguo Yao
Users may disable HWP in firmware, in which case
intel_pstatewouldn'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")
commitd8de7a44e11f("cpufreq:intel_pstate: Add Skylake servers support") commit706c5328851d("cpufreq:intel_pstate: Add Cometlake support in no-HWP mode")
commitfbdc21e9b038("cpufreq:intel_pstate: Add Icelake servers support in no-HWP mode")
commit71bb5c82aaae("cpufreq:intel_pstate: Add Tigerlake support in no-HWP mode")
Quoted 1 line
Signed-off-by Zhenguo Yao <[email protected]>
Srinivas, any objections?
Quoted 19 lines
--- drivers/cpufreq/intel_pstate.c | 1 + 1 file changed, 1 insertion(+)drivers/cpufreq/intel_pstate.c +1
-1@@ -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
Quoted 24 lines · Rafael J. Wysocki
Quoted 22 lines · Zhenguo Yao
Users may disable HWP in firmware, in which case
intel_pstatewouldn'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")
commitd8de7a44e11f("cpufreq:intel_pstate: Add Skylake servers support")
commit706c5328851d("cpufreq:intel_pstate: Add Cometlake support in
no-HWP mode")
commitfbdc21e9b038("cpufreq:intel_pstate: Add Icelake servers support in
no-HWP mode")
commit71bb5c82aaae("cpufreq:intel_pstate: Add Tigerlake support in
no-HWP mode")
Quoted 3 lines
Quoted 1 line
Signed-off-by Zhenguo Yao <[email protected]>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@@ -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
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_pstatewouldn'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")
commitd8de7a44e11f("cpufreq:intel_pstate: Add Skylake servers support")
commit706c5328851d("cpufreq:intel_pstate: Add Cometlake support in
no-HWP mode")
commitfbdc21e9b038("cpufreq:intel_pstate: Add Icelake servers support in
no-HWP mode")
commit71bb5c82aaae("cpufreq:intel_pstate: Add Tigerlake support in
no-HWP mode")
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by Zhenguo Yao <[email protected]>Srinivas, any objections?
No.
Applied as 6.8 material (with some minor edits in the changelog), thanks!