x86_pkg_temperature_thermal 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. Kernel driver: x86_pkg_temp_thermal
  2. ===================
  3. Supported chips:
  4. * x86: with package level thermal management
  5. (Verify using: CPUID.06H:EAX[bit 6] =1)
  6. Authors: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
  7. Reference
  8. ---
  9. Intel® 64 and IA-32 Architectures Software Developer’s Manual (Jan, 2013):
  10. Chapter 14.6: PACKAGE LEVEL THERMAL MANAGEMENT
  11. Description
  12. ---------
  13. This driver register CPU digital temperature package level sensor as a thermal
  14. zone with maximum two user mode configurable trip points. Number of trip points
  15. depends on the capability of the package. Once the trip point is violated,
  16. user mode can receive notification via thermal notification mechanism and can
  17. take any action to control temperature.
  18. Threshold management
  19. --------------------
  20. Each package will register as a thermal zone under /sys/class/thermal.
  21. Example:
  22. /sys/class/thermal/thermal_zone1
  23. This contains two trip points:
  24. - trip_point_0_temp
  25. - trip_point_1_temp
  26. User can set any temperature between 0 to TJ-Max temperature. Temperature units
  27. are in milli-degree Celsius. Refer to "Documentation/thermal/sysfs-api.txt" for
  28. thermal sys-fs details.
  29. Any value other than 0 in these trip points, can trigger thermal notifications.
  30. Setting 0, stops sending thermal notifications.
  31. Thermal notifications: To get kobject-uevent notifications, set the thermal zone
  32. policy to "user_space". For example: echo -n "user_space" > policy