]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
cpufreq: intel_pstate: Add Granite Rapids support in no-HWP mode
authorLi RongQing <lirongqing@baidu.com>
Mon, 23 Jun 2025 10:56:01 +0000 (18:56 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 14 Jul 2025 17:38:10 +0000 (19:38 +0200)
Users may disable HWP in firmware, in which case intel_pstate
wouldn't load unless the CPU model is explicitly supported.

Signed-off-by: Li RongQing <lirongqing@baidu.com>
Link: https://patch.msgid.link/20250623105601.3924-1-lirongqing@baidu.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/intel_pstate.c

index 60326ab5475f9dad59a224ac2737df3b3ca3dd92..06a1c7dd081ffb8ee61ed87ecbc0c20b2638fc43 100644 (file)
@@ -2775,6 +2775,8 @@ static const struct x86_cpu_id intel_pstate_cpu_ids[] = {
        X86_MATCH(INTEL_TIGERLAKE,              core_funcs),
        X86_MATCH(INTEL_SAPPHIRERAPIDS_X,       core_funcs),
        X86_MATCH(INTEL_EMERALDRAPIDS_X,        core_funcs),
+       X86_MATCH(INTEL_GRANITERAPIDS_D,        core_funcs),
+       X86_MATCH(INTEL_GRANITERAPIDS_X,        core_funcs),
        {}
 };
 MODULE_DEVICE_TABLE(x86cpu, intel_pstate_cpu_ids);