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

TOMOYO Linux Cross Reference
Linux/Documentation/driver-api/thermal/x86_pkg_temperature_thermal.rst

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ 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.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

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

~ [ 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