Skip to contentSkip to conversation

TCC cooling on Meteorlake

DISCUSSION Gwara, Mateusz 2 participants 2 messages Mar 11, 2025 – Mar 13, 2025

lore
Share & tools
lore
#0 lore raw

Hi,

I wanted to make sure that there is no confusion because there seems to be two sets of drivers handling TCC. As the workings of drivers/thermal/intel/int340x_thermal/int3403_thermal.c are visible in /sys/bus/pci/devices/0000:00:04.0/tcc_offset_degree_celsius
and defined in drivers/thermal/intel/int340x_thermal/processor_thermal_device.c
do have a wrong offset, which does not take into account that Meteor Lake CPUs have a TJunction of 110°C instead of 100°C.

That's why I was wondering why the new definitions in drivers/thermal/intel/intel_tcc_cooling.c
does not contain any Meteor Lake (or Arrow&Lunar Lake ) definitions.
Where the results should be visible in /sys/class/thermal as mentioned in the initial post.

Regards

MG

Signature · 18 lines
Mateusz Gwara
Senior Software Developer
Department Network & Client Security
Division Public Authorities
secunet Security Networks AG

Tel.: +49 201 54 54-2934
E-Mail: [email protected]
Alt-Moabit 96, 10559 Berlin
www.secunet.com
______________________________________________________________________

secunet Security Networks AG
Sitz: Kurfürstenstraße 58, 45138 Essen, Deutschland
Amtsgericht Essen HRB 13615
Vorstand: Axel Deininger (Vors.), Torsten Henn, Dr. Kai Martius, Jessica Nospers
Aufsichtsratsvorsitzender: Dr. Ralf Wintergerst
______________________________________________________________________
#1 lore raw

CC Srinivas and Ricardo.

Quoted 10 lines · Mateusz

Hi,

I wanted to make sure that there is no confusion because there seems to be two sets of drivers handling TCC.
As the workings of drivers/thermal/intel/int340x_thermal/int3403_thermal.c are visible in /sys/bus/pci/devices/0000:00:04.0/tcc_offset_degree_celsius and defined in drivers/thermal/intel/int340x_thermal/processor_thermal_device.c

yes.

Quoted 1 line

do have a wrong offset,

what do you see from /sys/bus/pci/devices/0000:00:04.0/tcc_offset_degree_celsius?

It should return 0 if noone changes the offset.

Quoted 2 lines

which does not take into account that Meteor Lake CPUs have a
TJunction of 110°C instead of 100°C.

tcc offset is an offset to tjmax, no matter what the tjmax value is, right?

Quoted 6 lines

That's why I was wondering why the new definitions in drivers/thermal/intel/intel_tcc_cooling.c
does not contain any Meteor Lake (or Arrow&Lunar Lake ) definitions. Where the results should be visible in /sys/class/thermal as mentioned in the initial post.

yeah. We should add this. Patch will be submitted soon.

thanks,
rui

Quoted 5 lines

Regards

MG