2018-12-07 14:55:26 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
#
|
|
|
|
# Makefile for various Intel thermal drivers.
|
|
|
|
|
2022-12-19 23:46:15 +08:00
|
|
|
obj-$(CONFIG_INTEL_TCC) += intel_tcc.o
|
2018-12-07 14:55:26 +08:00
|
|
|
obj-$(CONFIG_INTEL_POWERCLAMP) += intel_powerclamp.o
|
|
|
|
obj-$(CONFIG_X86_PKG_TEMP_THERMAL) += x86_pkg_temp_thermal.o
|
|
|
|
obj-$(CONFIG_INTEL_SOC_DTS_IOSF_CORE) += intel_soc_dts_iosf.o
|
|
|
|
obj-$(CONFIG_INTEL_SOC_DTS_THERMAL) += intel_soc_dts_thermal.o
|
|
|
|
obj-$(CONFIG_INTEL_QUARK_DTS_THERMAL) += intel_quark_dts_thermal.o
|
|
|
|
obj-$(CONFIG_INT340X_THERMAL) += int340x_thermal/
|
|
|
|
obj-$(CONFIG_INTEL_BXT_PMIC_THERMAL) += intel_bxt_pmic_thermal.o
|
|
|
|
obj-$(CONFIG_INTEL_PCH_THERMAL) += intel_pch_thermal.o
|
thermal/drivers/intel: Introduce tcc cooling driver
On Intel processors, the core frequency can be reduced below OS request,
when the current temperature reaches the TCC (Thermal Control Circuit)
activation temperature.
The default TCC activation temperature is specified by
MSR_IA32_TEMPERATURE_TARGET. However, it can be adjusted by specifying an
offset in degrees C, using the TCC Offset bits in the same MSR register.
This patch introduces a cooling devices driver that utilizes the TCC
Offset feature. The bigger the current cooling state is, the lower the
effective TCC activation temperature is, so that the processors can be
throttled earlier before system critical overheats.
Note that, on different platforms, the behavior might be different on
how fast the setting takes effect, and how much the CPU frequency is
reduced.
This patch has been tested on a KabyLake mobile platform from me, and also
on a CometLake platform from Doug.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Tested by: Doug Smythies <dsmythies@telus.net>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20210412125901.12549-1-rui.zhang@intel.com
2021-04-12 20:59:01 +08:00
|
|
|
obj-$(CONFIG_INTEL_TCC_COOLING) += intel_tcc_cooling.o
|
2021-01-07 20:29:05 +08:00
|
|
|
obj-$(CONFIG_X86_THERMAL_VECTOR) += therm_throt.o
|
2021-08-16 11:53:56 +08:00
|
|
|
obj-$(CONFIG_INTEL_MENLOW) += intel_menlow.o
|
2022-01-28 03:34:50 +08:00
|
|
|
obj-$(CONFIG_INTEL_HFI_THERMAL) += intel_hfi.o
|