]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
powercap: intel_rapl: Add PL4 support for Ice Lake
authorDaniel Tang <danielzgtg.opensource@gmail.com>
Thu, 15 Jan 2026 02:01:52 +0000 (21:01 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 15 Jan 2026 20:14:54 +0000 (21:14 +0100)
Microsoft Surface Pro 7 firmware throttles the processor upon
boot/resume. Userspace needs to be able to restore the correct value.

Link: https://github.com/linux-surface/linux-surface/issues/706
Signed-off-by: Daniel Tang <danielzgtg.opensource@gmail.com>
Link: https://patch.msgid.link/6088605.ChMirdbgyp@daniel-desktop3
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/powercap/intel_rapl_msr.c

index 9a7e150b3536b9e0d1e0caf1d0c32d8f79d2c290..a2bc0a9c1e103554134ef955cc82dbc0f5f310d0 100644 (file)
@@ -162,6 +162,7 @@ static int rapl_msr_write_raw(int cpu, struct reg_action *ra)
 
 /* List of verified CPUs. */
 static const struct x86_cpu_id pl4_support_ids[] = {
+       X86_MATCH_VFM(INTEL_ICELAKE_L, NULL),
        X86_MATCH_VFM(INTEL_TIGERLAKE_L, NULL),
        X86_MATCH_VFM(INTEL_ALDERLAKE, NULL),
        X86_MATCH_VFM(INTEL_ALDERLAKE_L, NULL),