1 ===================================
2 Kernel driver: x86_pkg_temp_thermal
3 ===================================
7 * x86: with package level thermal management
9 (Verify using: CPUID.06H:EAX[bit 6] =1)
11 Authors: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
16 Intel® 64 and IA-32 Architectures Software Developer’s Manual (Jan, 2013):
17 Chapter 14.6: PACKAGE LEVEL THERMAL MANAGEMENT
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.
31 Each package will register as a thermal zone under /sys/class/thermal.
35 /sys/class/thermal/thermal_zone1
37 This contains two trip points:
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.
46 Any value other than 0 in these trip points, can trigger thermal notifications.
47 Setting 0, stops sending thermal notifications.
49 Thermal notifications:
50 To get kobject-uevent notifications, set the thermal zone
51 policy to "user_space".
55 echo -n "user_space" > policy