k8temp 1.9 KB

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