xref: /linux/Documentation/hwmon/coretemp.rst (revision 20bed0d6ff62d985fe8222958825504b8aad4e88)
1Kernel driver coretemp
2======================
3
4Supported chips:
5  * All Intel Core family and Atom processors with Digital Thermal Sensor (DTS)
6
7    Prefix: 'coretemp'
8
9    CPUID: family 0x6, models with X86_FEATURE_DTHERM, including:
10
11			    - 0xe (Pentium M DC), 0xf (Core 2 DC 65nm),
12			    - 0x16 (Core 2 SC 65nm), 0x17 (Penryn 45nm),
13			    - 0x1a (Nehalem), 0x1c (Atom), 0x1e (Lynnfield),
14			    - 0x26 (Tunnel Creek Atom), 0x27 (Medfield Atom),
15			    - 0x36 (Cedar Trail Atom), 0x37 (Bay Trail Atom),
16			    - 0x4a (Merrifield Atom), 0x4c (Cherry Trail Atom),
17			    - 0x5a (Moorefield Atom), 0x5c (Apollo Lake Atom),
18			    - 0x7a (Gemini Lake Atom),
19			    - 0x96 (Elkhart Lake Atom), 0x9c (Jasper Lake Atom)
20
21    Datasheet:
22
23	       Intel 64 and IA-32 Architectures Software Developer's Manual
24	       Volume 3A: System Programming Guide
25	       (https://www.intel.com/content/www/us/en/developer/articles/technical/intel-sdm.html)
26
27Author: Rudolf Marek
28
29Description
30-----------
31
32This driver permits reading the DTS (Digital Temperature Sensor) embedded
33inside Intel CPUs. This driver can read both the per-core and per-package
34temperature using the appropriate sensors. The per-package sensor is
35available on Sandy Bridge and all newer processors. The driver will show
36the temperature of all cores inside a package under a single device
37directory inside hwmon.
38
39Temperature is measured in degrees Celsius and measurement resolution is
401 degree C. Valid temperatures are from 0 to TjMax degrees C, because
41the actual value of temperature register is in fact a delta from TjMax.
42
43Temperature known as TjMax is the maximum junction temperature of processor,
44which depends on the CPU model. See table below. At this temperature, protection
45mechanism will perform actions to forcibly cool down the processor. Alarm
46may be raised, if the temperature grows enough (more than TjMax) to trigger
47the Out-Of-Spec bit. The following table summarizes the exported sysfs files:
48
49Per-core sysfs entries are numbered core_id + 2 (represented here by 'X').
50The package entries, if available, are always temp1_*.
51
52================= ========================================================
53tempX_input	  Core temperature (in millidegrees Celsius).
54		  Reading fails with -ENODATA while the CPU reports the
55		  temperature as invalid. Some CPUs do this when the
56		  temperature is too low to be measured.
57tempX_max	  Maximum recommended operating temperature (Tcontrol).
58		  All cooling devices should be turned on.
59tempX_crit	  Maximum junction temperature (in millidegrees Celsius).
60tempX_crit_alarm  Set when Out-of-spec bit is set, never clears.
61		  Correct CPU operation is no longer guaranteed.
62tempX_label	  Contains string "Core N", where N is the core_id
63		  (X - 2), as shown in
64		  /sys/devices/system/cpu/cpu*/topology/core_id. This
65		  is not the logical CPU number, and core_id values
66		  may be sparse. For Package temp, this will be
67		  "Package id Y", where Y is the package number.
68================= ========================================================
69
70On modern CPUs (Nehalem and newer), TjMax is read from the
71MSR_IA32_TEMPERATURE_TARGET register. On older models without this MSR,
72TjMax is determined using lookup tables or heuristics. If these don't work
73for your CPU, you can pass the correct TjMax value as a module parameter
74(tjmax).
75
76Appendix A. Known TjMax lists (TBD):
77Some information comes from ark.intel.com
78
79=============== =============================================== ================
80Process		Processor					TjMax(C)
81
8222nm		Core i5/i7 Processors
83		i7 3920XM, 3820QM, 3720QM, 3667U, 3520M		105
84		i5 3427U, 3360M/3320M				105
85		i7 3770/3770K					105
86		i5 3570/3570K, 3550, 3470/3450			105
87		i7 3770S					103
88		i5 3570S/3550S, 3475S/3470S/3450S		103
89		i7 3770T					94
90		i5 3570T					94
91		i5 3470T					91
92
9332nm		Core i3/i5/i7 Processors
94		i7 2600						98
95		i7 660UM/640/620, 640LM/620, 620M, 610E		105
96		i5 540UM/520/430, 540M/520/450/430		105
97		i3 330E, 370M/350/330				90 rPGA, 105 BGA
98		i3 330UM					105
99
10032nm		Core i7 Extreme Processors
101		980X						100
102
10332nm		Celeron Processors
104		U3400						105
105		P4505/P4500 					90
106
10732nm		Atom Processors
108		S1260/1220					95
109		S1240						102
110		Z2460						90
111		Z2760						90
112		D2700/2550/2500					100
113		N2850/2800/2650/2600				100
114
11522nm		Atom Processors (Silvermont/Bay Trail)
116		E3845/3827/3826/3825/3815/3805			110
117		Z3795/3775/3770/3740/3736/3735/3680		90
118
11922nm		Atom Processors (Silvermont/Moorefield)
120		Z3580/3570/3560/3530				90
121
12214nm		Atom Processors (Airmont/Cherry Trail)
123		x5-Z8550/Z8500/Z8350/Z8330/Z8300		90
124		x7-Z8750/Z8700					90
125
12614nm		Atom Processors (Goldmont/Apollo Lake)
127		x5-E3940/E3930					105
128		x7-E3950					105
129
13014nm		Celeron/Pentium Processors
131		(Goldmont/Apollo Lake)
132		J3455/J3355					105
133		N3450/N3350					105
134		N4200						105
135
13614nm		Celeron/Pentium Processors
137		(Goldmont Plus/Gemini Lake)
138		J4105/J4005					105
139		N4100/N4000					105
140		N5000						105
141
14210nm		Atom Processors (Tremont/Elkhart Lake)
143		x6000E						105
144
14510nm		Celeron/Pentium Processors
146		(Tremont/Jasper Lake)
147		N4500/N5100/N6000 series			105
148
14945nm		Xeon Processors 5400 Quad-Core
150		X5492, X5482, X5472, X5470, X5460, X5450	85
151		E5472, E5462, E5450/40/30/20/10/05		85
152		L5408						95
153		L5430, L5420, L5410				70
154
15545nm		Xeon Processors 5200 Dual-Core
156		X5282, X5272, X5270, X5260			90
157		E5240						90
158		E5205, E5220					70, 90
159		L5240						70
160		L5238, L5215					95
161
16245nm		Atom Processors
163		D525/510/425/410				100
164		K525/510/425/410				100
165		Z670/650					90
166		Z560/550/540/530P/530/520PT/520/515/510PT/510P	90
167		Z510/500					90
168		N570/550					100
169		N475/470/455/450				100
170		N280/270					90
171		330/230						125
172		E680/660/640/620				90
173		E680T/660T/640T/620T				110
174		E665C/645C					90
175		E665CT/645CT					110
176		CE4170/4150/4110				110
177		CE4200 series					unknown
178		CE5300 series					unknown
179
18045nm		Core2 Processors
181		Solo ULV SU3500/3300				100
182		T9900/9800/9600/9550/9500/9400/9300/8300/8100	105
183		T6670/6500/6400					105
184		T6600						90
185		SU9600/9400/9300				105
186		SP9600/9400					105
187		SL9600/9400/9380/9300				105
188		P9700/9600/9500/8800/8700/8600/8400/7570	105
189		P7550/7450					90
190
19145nm		Core2 Quad Processors
192		Q9100/9000					100
193
19445nm		Core2 Extreme Processors
195		X9100/9000					105
196		QX9300						100
197
19845nm		Core i3/i5/i7 Processors
199		i7 940XM/920					100
200		i7 840QM/820/740/720				100
201
20245nm		Celeron Processors
203		SU2300						100
204		900 						105
205
20665nm		Core2 Duo Processors
207		Solo U2200, U2100				100
208		U7700/7600/7500					100
209		T7800/7700/7600/7500/7400/7300/7250/7200/7100	100
210		T5870/5670/5600/5550/5500/5470/5450/5300/5270	100
211		T5250						100
212		T5800/5750/5200					85
213		L7700/7500/7400/7300/7200			100
214
21565nm		Core2 Extreme Processors
216		X7900/7800					100
217
21865nm		Core Duo Processors
219		U2500/2400					100
220		T2700/2600/2450/2400/2350/2300E/2300/2250/2050	100
221		L2500/2400/2300					100
222
22365nm		Core Solo Processors
224		U1500/1400/1300					100
225		T1400/1350/1300/1250				100
226
22765nm		Xeon Processors 5000 Quad-Core
228		X5000						90-95
229		E5000						80
230		L5000						70
231		L5318						95
232
23365nm		Xeon Processors 5000 Dual-Core
234		5080, 5063, 5060, 5050, 5030			80-90
235		5160, 5150, 5148, 5140, 5130, 5120, 5110	80
236		L5138						100
237
23865nm		Celeron Processors
239		T1700/1600					100
240		560/550/540/530					100
241=============== =============================================== ================
242