~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/hwmon/k8temp.rst

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 Kernel driver k8temp
  2 ====================
  3 
  4 Supported chips:
  5 
  6   * AMD Athlon64/FX or Opteron CPUs
  7 
  8     Prefix: 'k8temp'
  9 
 10     Addresses scanned: PCI space
 11 
 12     Datasheet: https://www.amd.com/system/files/TechDocs/32559.pdf
 13 
 14 Author: Rudolf Marek
 15 
 16 Contact: Rudolf Marek <r.marek@assembler.cz>
 17 
 18 Description
 19 -----------
 20 
 21 This driver permits reading temperature sensor(s) embedded inside AMD K8
 22 family CPUs (Athlon64/FX, Opteron). Official documentation says that it works
 23 from revision F of K8 core, but in fact it seems to be implemented for all
 24 revisions of K8 except the first two revisions (SH-B0 and SH-B3).
 25 
 26 Please note that you will need at least lm-sensors 2.10.1 for proper userspace
 27 support.
 28 
 29 There can be up to four temperature sensors inside single CPU. The driver
 30 will auto-detect the sensors and will display only temperatures from
 31 implemented sensors.
 32 
 33 Mapping of /sys files is as follows:
 34 
 35 ============= ===================================
 36 temp1_input   temperature of Core 0 and "place" 0
 37 temp2_input   temperature of Core 0 and "place" 1
 38 temp3_input   temperature of Core 1 and "place" 0
 39 temp4_input   temperature of Core 1 and "place" 1
 40 ============= ===================================
 41 
 42 Temperatures are measured in degrees Celsius and measurement resolution is
 43 1 degree C. It is expected that future CPU will have better resolution. The
 44 temperature is updated once a second. Valid temperatures are from -49 to
 45 206 degrees C.
 46 
 47 Temperature known as TCaseMax was specified for processors up to revision E.
 48 This temperature is defined as temperature between heat-spreader and CPU
 49 case, so the internal CPU temperature supplied by this driver can be higher.
 50 There is no easy way how to measure the temperature which will correlate
 51 with TCaseMax temperature.
 52 
 53 For newer revisions of CPU (rev F, socket AM2) there is a mathematically
 54 computed temperature called TControl, which must be lower than TControlMax.
 55 
 56 The relationship is following:
 57 
 58         temp1_input - TjOffset*2 < TControlMax,
 59 
 60 TjOffset is not yet exported by the driver, TControlMax is usually
 61 70 degrees C. The rule of the thumb -> CPU temperature should not cross
 62 60 degrees C too much.

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php