Linux Power Management development
 help / color / mirror / Atom feed
From: Dennis Chen <dechen@redhat.com>
To: "Rafael J . Wysocki" <rafael@kernel.org>,
	Daniel Lezcano <daniel.lezcano@kernel.org>
Cc: Zhang Rui <rui.zhang@intel.com>,
	Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>,
	Lukasz Luba <lukasz.luba@arm.com>,
	Sumeet Pawnikar <sumeet4linux@gmail.com>,
	Mateusz Gwara <mateusz.gwara@secunet.com>,
	linux-pm@vger.kernel.org, Dennis Chen <dechen@redhat.com>
Subject: [PATCH] thermal: intel: intel_tcc_cooling: Add Meteor Lake and Lunar Lake CPU models
Date: Mon, 30 Nov 2026 17:12:08 -0500	[thread overview]
Message-ID: <20261130221208.104391-1-dechen@redhat.com> (raw)

Meteor Lake and Lunar Lake support programmable TCC offset via
MSR_IA32_TEMPERATURE_TARGET, like other recent client platforms, but
they were never added to tcc_ids[]. As a result, intel_tcc_cooling
fails to probe on these platforms with -ENODEV, even though the MSR
supports it when not locked by firmware.

This was reported upstream in "TCC cooling on Meteorlake" and
confirmed by Zhang Rui, who posted a patch adding these IDs, but it
was never merged. Arrow Lake, Panther Lake, Wildcat Lake and Nova Lake
were subsequently added in separate patches, leaving Meteor Lake and
Lunar Lake as the only recent client platforms missing from the list.

Add the missing INTEL_METEORLAKE, INTEL_METEORLAKE_L and
INTEL_LUNARLAKE_M entries.

Reported-by: Mateusz Gwara <mateusz.gwara@secunet.com>
Link: https://lore.kernel.org/linux-pm/163ff391dc6d4f828ecff95e87f5003d@secunet.com/
Signed-off-by: Dennis Chen <dechen@redhat.com>
---
 drivers/thermal/intel/intel_tcc_cooling.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/thermal/intel/intel_tcc_cooling.c b/drivers/thermal/intel/intel_tcc_cooling.c
index 75f6fbec2530..158bc047a6f5 100644
--- a/drivers/thermal/intel/intel_tcc_cooling.c
+++ b/drivers/thermal/intel/intel_tcc_cooling.c
@@ -65,9 +65,12 @@ static const struct x86_cpu_id tcc_ids[] __initconst = {
 	X86_MATCH_VFM(INTEL_RAPTORLAKE, NULL),
 	X86_MATCH_VFM(INTEL_RAPTORLAKE_P, NULL),
 	X86_MATCH_VFM(INTEL_RAPTORLAKE_S, NULL),
+	X86_MATCH_VFM(INTEL_METEORLAKE, NULL),
+	X86_MATCH_VFM(INTEL_METEORLAKE_L, NULL),
 	X86_MATCH_VFM(INTEL_ARROWLAKE, NULL),
 	X86_MATCH_VFM(INTEL_ARROWLAKE_U, NULL),
 	X86_MATCH_VFM(INTEL_ARROWLAKE_H, NULL),
+	X86_MATCH_VFM(INTEL_LUNARLAKE_M, NULL),
 	X86_MATCH_VFM(INTEL_PANTHERLAKE_L, NULL),
 	X86_MATCH_VFM(INTEL_PANTHERLAKE_R, NULL),
 	X86_MATCH_VFM(INTEL_WILDCATLAKE_L, NULL),
-- 
2.56.1


                 reply	other threads:[~2026-11-30 22:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261130221208.104391-1-dechen@redhat.com \
    --to=dechen@redhat.com \
    --cc=daniel.lezcano@kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=lukasz.luba@arm.com \
    --cc=mateusz.gwara@secunet.com \
    --cc=rafael@kernel.org \
    --cc=rui.zhang@intel.com \
    --cc=srinivas.pandruvada@linux.intel.com \
    --cc=sumeet4linux@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox