xref: /OK3568_Linux_fs/kernel/Documentation/hwmon/coretemp.rst (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunKernel driver coretemp
2*4882a593Smuzhiyun======================
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunSupported chips:
5*4882a593Smuzhiyun  * All Intel Core family
6*4882a593Smuzhiyun
7*4882a593Smuzhiyun    Prefix: 'coretemp'
8*4882a593Smuzhiyun
9*4882a593Smuzhiyun    CPUID: family 0x6, models
10*4882a593Smuzhiyun
11*4882a593Smuzhiyun			    - 0xe (Pentium M DC), 0xf (Core 2 DC 65nm),
12*4882a593Smuzhiyun			    - 0x16 (Core 2 SC 65nm), 0x17 (Penryn 45nm),
13*4882a593Smuzhiyun			    - 0x1a (Nehalem), 0x1c (Atom), 0x1e (Lynnfield),
14*4882a593Smuzhiyun			    - 0x26 (Tunnel Creek Atom), 0x27 (Medfield Atom),
15*4882a593Smuzhiyun			    - 0x36 (Cedar Trail Atom)
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun    Datasheet:
18*4882a593Smuzhiyun
19*4882a593Smuzhiyun	       Intel 64 and IA-32 Architectures Software Developer's Manual
20*4882a593Smuzhiyun	       Volume 3A: System Programming Guide
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun	       http://softwarecommunity.intel.com/Wiki/Mobility/720.htm
23*4882a593Smuzhiyun
24*4882a593SmuzhiyunAuthor: Rudolf Marek
25*4882a593Smuzhiyun
26*4882a593SmuzhiyunDescription
27*4882a593Smuzhiyun-----------
28*4882a593Smuzhiyun
29*4882a593SmuzhiyunThis driver permits reading the DTS (Digital Temperature Sensor) embedded
30*4882a593Smuzhiyuninside Intel CPUs. This driver can read both the per-core and per-package
31*4882a593Smuzhiyuntemperature using the appropriate sensors. The per-package sensor is new;
32*4882a593Smuzhiyunas of now, it is present only in the SandyBridge platform. The driver will
33*4882a593Smuzhiyunshow the temperature of all cores inside a package under a single device
34*4882a593Smuzhiyundirectory inside hwmon.
35*4882a593Smuzhiyun
36*4882a593SmuzhiyunTemperature is measured in degrees Celsius and measurement resolution is
37*4882a593Smuzhiyun1 degree C. Valid temperatures are from 0 to TjMax degrees C, because
38*4882a593Smuzhiyunthe actual value of temperature register is in fact a delta from TjMax.
39*4882a593Smuzhiyun
40*4882a593SmuzhiyunTemperature known as TjMax is the maximum junction temperature of processor,
41*4882a593Smuzhiyunwhich depends on the CPU model. See table below. At this temperature, protection
42*4882a593Smuzhiyunmechanism will perform actions to forcibly cool down the processor. Alarm
43*4882a593Smuzhiyunmay be raised, if the temperature grows enough (more than TjMax) to trigger
44*4882a593Smuzhiyunthe Out-Of-Spec bit. Following table summarizes the exported sysfs files:
45*4882a593Smuzhiyun
46*4882a593SmuzhiyunAll Sysfs entries are named with their core_id (represented here by 'X').
47*4882a593Smuzhiyun
48*4882a593Smuzhiyun================= ========================================================
49*4882a593SmuzhiyuntempX_input	  Core temperature (in millidegrees Celsius).
50*4882a593SmuzhiyuntempX_max	  All cooling devices should be turned on (on Core2).
51*4882a593SmuzhiyuntempX_crit	  Maximum junction temperature (in millidegrees Celsius).
52*4882a593SmuzhiyuntempX_crit_alarm  Set when Out-of-spec bit is set, never clears.
53*4882a593Smuzhiyun		  Correct CPU operation is no longer guaranteed.
54*4882a593SmuzhiyuntempX_label	  Contains string "Core X", where X is processor
55*4882a593Smuzhiyun		  number. For Package temp, this will be "Physical id Y",
56*4882a593Smuzhiyun		  where Y is the package number.
57*4882a593Smuzhiyun================= ========================================================
58*4882a593Smuzhiyun
59*4882a593SmuzhiyunOn CPU models which support it, TjMax is read from a model-specific register.
60*4882a593SmuzhiyunOn other models, it is set to an arbitrary value based on weak heuristics.
61*4882a593SmuzhiyunIf these heuristics don't work for you, you can pass the correct TjMax value
62*4882a593Smuzhiyunas a module parameter (tjmax).
63*4882a593Smuzhiyun
64*4882a593SmuzhiyunAppendix A. Known TjMax lists (TBD):
65*4882a593SmuzhiyunSome information comes from ark.intel.com
66*4882a593Smuzhiyun
67*4882a593Smuzhiyun=============== =============================================== ================
68*4882a593SmuzhiyunProcess		Processor					TjMax(C)
69*4882a593Smuzhiyun
70*4882a593Smuzhiyun22nm		Core i5/i7 Processors
71*4882a593Smuzhiyun		i7 3920XM, 3820QM, 3720QM, 3667U, 3520M		105
72*4882a593Smuzhiyun		i5 3427U, 3360M/3320M				105
73*4882a593Smuzhiyun		i7 3770/3770K					105
74*4882a593Smuzhiyun		i5 3570/3570K, 3550, 3470/3450			105
75*4882a593Smuzhiyun		i7 3770S					103
76*4882a593Smuzhiyun		i5 3570S/3550S, 3475S/3470S/3450S		103
77*4882a593Smuzhiyun		i7 3770T					94
78*4882a593Smuzhiyun		i5 3570T					94
79*4882a593Smuzhiyun		i5 3470T					91
80*4882a593Smuzhiyun
81*4882a593Smuzhiyun32nm		Core i3/i5/i7 Processors
82*4882a593Smuzhiyun		i7 2600						98
83*4882a593Smuzhiyun		i7 660UM/640/620, 640LM/620, 620M, 610E		105
84*4882a593Smuzhiyun		i5 540UM/520/430, 540M/520/450/430		105
85*4882a593Smuzhiyun		i3 330E, 370M/350/330				90 rPGA, 105 BGA
86*4882a593Smuzhiyun		i3 330UM					105
87*4882a593Smuzhiyun
88*4882a593Smuzhiyun32nm		Core i7 Extreme Processors
89*4882a593Smuzhiyun		980X						100
90*4882a593Smuzhiyun
91*4882a593Smuzhiyun32nm		Celeron Processors
92*4882a593Smuzhiyun		U3400						105
93*4882a593Smuzhiyun		P4505/P4500 					90
94*4882a593Smuzhiyun
95*4882a593Smuzhiyun32nm		Atom Processors
96*4882a593Smuzhiyun		S1260/1220					95
97*4882a593Smuzhiyun		S1240						102
98*4882a593Smuzhiyun		Z2460						90
99*4882a593Smuzhiyun		Z2760						90
100*4882a593Smuzhiyun		D2700/2550/2500					100
101*4882a593Smuzhiyun		N2850/2800/2650/2600				100
102*4882a593Smuzhiyun
103*4882a593Smuzhiyun45nm		Xeon Processors 5400 Quad-Core
104*4882a593Smuzhiyun		X5492, X5482, X5472, X5470, X5460, X5450	85
105*4882a593Smuzhiyun		E5472, E5462, E5450/40/30/20/10/05		85
106*4882a593Smuzhiyun		L5408						95
107*4882a593Smuzhiyun		L5430, L5420, L5410				70
108*4882a593Smuzhiyun
109*4882a593Smuzhiyun45nm		Xeon Processors 5200 Dual-Core
110*4882a593Smuzhiyun		X5282, X5272, X5270, X5260			90
111*4882a593Smuzhiyun		E5240						90
112*4882a593Smuzhiyun		E5205, E5220					70, 90
113*4882a593Smuzhiyun		L5240						70
114*4882a593Smuzhiyun		L5238, L5215					95
115*4882a593Smuzhiyun
116*4882a593Smuzhiyun45nm		Atom Processors
117*4882a593Smuzhiyun		D525/510/425/410				100
118*4882a593Smuzhiyun		K525/510/425/410				100
119*4882a593Smuzhiyun		Z670/650					90
120*4882a593Smuzhiyun		Z560/550/540/530P/530/520PT/520/515/510PT/510P	90
121*4882a593Smuzhiyun		Z510/500					90
122*4882a593Smuzhiyun		N570/550					100
123*4882a593Smuzhiyun		N475/470/455/450				100
124*4882a593Smuzhiyun		N280/270					90
125*4882a593Smuzhiyun		330/230						125
126*4882a593Smuzhiyun		E680/660/640/620				90
127*4882a593Smuzhiyun		E680T/660T/640T/620T				110
128*4882a593Smuzhiyun		E665C/645C					90
129*4882a593Smuzhiyun		E665CT/645CT					110
130*4882a593Smuzhiyun		CE4170/4150/4110				110
131*4882a593Smuzhiyun		CE4200 series					unknown
132*4882a593Smuzhiyun		CE5300 series					unknown
133*4882a593Smuzhiyun
134*4882a593Smuzhiyun45nm		Core2 Processors
135*4882a593Smuzhiyun		Solo ULV SU3500/3300				100
136*4882a593Smuzhiyun		T9900/9800/9600/9550/9500/9400/9300/8300/8100	105
137*4882a593Smuzhiyun		T6670/6500/6400					105
138*4882a593Smuzhiyun		T6600						90
139*4882a593Smuzhiyun		SU9600/9400/9300				105
140*4882a593Smuzhiyun		SP9600/9400					105
141*4882a593Smuzhiyun		SL9600/9400/9380/9300				105
142*4882a593Smuzhiyun		P9700/9600/9500/8800/8700/8600/8400/7570	105
143*4882a593Smuzhiyun		P7550/7450					90
144*4882a593Smuzhiyun
145*4882a593Smuzhiyun45nm		Core2 Quad Processors
146*4882a593Smuzhiyun		Q9100/9000					100
147*4882a593Smuzhiyun
148*4882a593Smuzhiyun45nm		Core2 Extreme Processors
149*4882a593Smuzhiyun		X9100/9000					105
150*4882a593Smuzhiyun		QX9300						100
151*4882a593Smuzhiyun
152*4882a593Smuzhiyun45nm		Core i3/i5/i7 Processors
153*4882a593Smuzhiyun		i7 940XM/920					100
154*4882a593Smuzhiyun		i7 840QM/820/740/720				100
155*4882a593Smuzhiyun
156*4882a593Smuzhiyun45nm		Celeron Processors
157*4882a593Smuzhiyun		SU2300						100
158*4882a593Smuzhiyun		900 						105
159*4882a593Smuzhiyun
160*4882a593Smuzhiyun65nm		Core2 Duo Processors
161*4882a593Smuzhiyun		Solo U2200, U2100				100
162*4882a593Smuzhiyun		U7700/7600/7500					100
163*4882a593Smuzhiyun		T7800/7700/7600/7500/7400/7300/7250/7200/7100	100
164*4882a593Smuzhiyun		T5870/5670/5600/5550/5500/5470/5450/5300/5270	100
165*4882a593Smuzhiyun		T5250						100
166*4882a593Smuzhiyun		T5800/5750/5200					85
167*4882a593Smuzhiyun		L7700/7500/7400/7300/7200			100
168*4882a593Smuzhiyun
169*4882a593Smuzhiyun65nm		Core2 Extreme Processors
170*4882a593Smuzhiyun		X7900/7800					100
171*4882a593Smuzhiyun
172*4882a593Smuzhiyun65nm		Core Duo Processors
173*4882a593Smuzhiyun		U2500/2400					100
174*4882a593Smuzhiyun		T2700/2600/2450/2400/2350/2300E/2300/2250/2050	100
175*4882a593Smuzhiyun		L2500/2400/2300					100
176*4882a593Smuzhiyun
177*4882a593Smuzhiyun65nm		Core Solo Processors
178*4882a593Smuzhiyun		U1500/1400/1300					100
179*4882a593Smuzhiyun		T1400/1350/1300/1250				100
180*4882a593Smuzhiyun
181*4882a593Smuzhiyun65nm		Xeon Processors 5000 Quad-Core
182*4882a593Smuzhiyun		X5000						90-95
183*4882a593Smuzhiyun		E5000						80
184*4882a593Smuzhiyun		L5000						70
185*4882a593Smuzhiyun		L5318						95
186*4882a593Smuzhiyun
187*4882a593Smuzhiyun65nm		Xeon Processors 5000 Dual-Core
188*4882a593Smuzhiyun		5080, 5063, 5060, 5050, 5030			80-90
189*4882a593Smuzhiyun		5160, 5150, 5148, 5140, 5130, 5120, 5110	80
190*4882a593Smuzhiyun		L5138						100
191*4882a593Smuzhiyun
192*4882a593Smuzhiyun65nm		Celeron Processors
193*4882a593Smuzhiyun		T1700/1600					100
194*4882a593Smuzhiyun		560/550/540/530					100
195*4882a593Smuzhiyun=============== =============================================== ================
196