]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
cpufreq: intel_pstate: Add Diamond Rapids OOB mode support
authorKuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Wed, 22 Oct 2025 21:54:25 +0000 (14:54 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 30 Oct 2025 19:13:14 +0000 (20:13 +0100)
Prevent intel_pstate from loading when Out-of-Band (OOB) P-states mode
is enabled.

The OOB identification mechanism for Diamond Rapids servers is the same
as for prior generation CPUs such as Granite Rapids. Add the Diamond
Rapids CPU model to intel_pstate_cpu_oob_ids[] to ensure correct OOB
handling.

Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Link: https://patch.msgid.link/20251022215425.3566218-1-sathyanarayanan.kuppuswamy@linux.intel.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/intel_pstate.c

index 7d2a1aec3a613c10a1633566a6762941be8329ab..56c28411e13079155822a466c1c24bf36ef50904 100644 (file)
@@ -2762,6 +2762,7 @@ static const struct x86_cpu_id intel_pstate_cpu_oob_ids[] __initconst = {
        X86_MATCH(INTEL_ATOM_CRESTMONT,         core_funcs),
        X86_MATCH(INTEL_ATOM_CRESTMONT_X,       core_funcs),
        X86_MATCH(INTEL_ATOM_DARKMONT_X,        core_funcs),
+       X86_MATCH(INTEL_DIAMONDRAPIDS_X,        core_funcs),
        {}
 };
 #endif