k8temp 2.0 KB

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