2006-09-25 02:50:57 +08:00
|
|
|
Kernel driver k8temp
|
|
|
|
====================
|
|
|
|
|
|
|
|
Supported chips:
|
2019-04-17 17:46:25 +08:00
|
|
|
|
2006-10-09 04:01:26 +08:00
|
|
|
* AMD Athlon64/FX or Opteron CPUs
|
2019-04-17 17:46:25 +08:00
|
|
|
|
2006-09-25 02:50:57 +08:00
|
|
|
Prefix: 'k8temp'
|
2019-04-17 17:46:25 +08:00
|
|
|
|
2006-09-25 02:50:57 +08:00
|
|
|
Addresses scanned: PCI space
|
2019-04-17 17:46:25 +08:00
|
|
|
|
2019-07-20 21:16:52 +08:00
|
|
|
Datasheet: http://www.amd.com/system/files/TechDocs/32559.pdf
|
2006-09-25 02:50:57 +08:00
|
|
|
|
|
|
|
Author: Rudolf Marek
|
2019-04-17 17:46:25 +08:00
|
|
|
|
2006-12-13 01:18:30 +08:00
|
|
|
Contact: Rudolf Marek <r.marek@assembler.cz>
|
2006-09-25 02:50:57 +08:00
|
|
|
|
|
|
|
Description
|
|
|
|
-----------
|
|
|
|
|
2006-10-09 04:01:26 +08:00
|
|
|
This driver permits reading temperature sensor(s) embedded inside AMD K8
|
|
|
|
family CPUs (Athlon64/FX, Opteron). Official documentation says that it works
|
|
|
|
from revision F of K8 core, but in fact it seems to be implemented for all
|
|
|
|
revisions of K8 except the first two revisions (SH-B0 and SH-B3).
|
|
|
|
|
|
|
|
Please note that you will need at least lm-sensors 2.10.1 for proper userspace
|
|
|
|
support.
|
2006-09-25 02:50:57 +08:00
|
|
|
|
|
|
|
There can be up to four temperature sensors inside single CPU. The driver
|
|
|
|
will auto-detect the sensors and will display only temperatures from
|
|
|
|
implemented sensors.
|
|
|
|
|
|
|
|
Mapping of /sys files is as follows:
|
|
|
|
|
2019-04-17 17:46:25 +08:00
|
|
|
============= ===================================
|
|
|
|
temp1_input temperature of Core 0 and "place" 0
|
|
|
|
temp2_input temperature of Core 0 and "place" 1
|
|
|
|
temp3_input temperature of Core 1 and "place" 0
|
|
|
|
temp4_input temperature of Core 1 and "place" 1
|
|
|
|
============= ===================================
|
2006-09-25 02:50:57 +08:00
|
|
|
|
|
|
|
Temperatures are measured in degrees Celsius and measurement resolution is
|
|
|
|
1 degree C. It is expected that future CPU will have better resolution. The
|
|
|
|
temperature is updated once a second. Valid temperatures are from -49 to
|
|
|
|
206 degrees C.
|
|
|
|
|
|
|
|
Temperature known as TCaseMax was specified for processors up to revision E.
|
|
|
|
This temperature is defined as temperature between heat-spreader and CPU
|
|
|
|
case, so the internal CPU temperature supplied by this driver can be higher.
|
|
|
|
There is no easy way how to measure the temperature which will correlate
|
|
|
|
with TCaseMax temperature.
|
|
|
|
|
|
|
|
For newer revisions of CPU (rev F, socket AM2) there is a mathematically
|
|
|
|
computed temperature called TControl, which must be lower than TControlMax.
|
|
|
|
|
|
|
|
The relationship is following:
|
|
|
|
|
2019-04-17 17:46:25 +08:00
|
|
|
temp1_input - TjOffset*2 < TControlMax,
|
2006-09-25 02:50:57 +08:00
|
|
|
|
|
|
|
TjOffset is not yet exported by the driver, TControlMax is usually
|
|
|
|
70 degrees C. The rule of the thumb -> CPU temperature should not cross
|
|
|
|
60 degrees C too much.
|