mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 22:14:04 +02:00
Add logic in enable_thermal_genl_check to avoid thermal-hal being woken up all the time by on-die sensor. When the temperature of the on-die sensor thermal_zone updates, the thermal_zone_device_update() will be called to handle thermal and then the netlink events will be sent through thermal_notify_tz_trip_(). But there is currently no way to filter thermal_zone in the thermal_netlink, so many netlink events will be sent in a short amount of time. Because the on-die sensors are very sensitive. Their temperature may jump up and down quickly in a few ms. Bug: 170682696 Test: boot and thermal-hal can receive thermal genl events from kernel Change-Id: Idb3f4b07a2a2740c01d8785910878bfe6edc832d Signed-off-by: davidchao <davidchao@google.com> |
||
|---|---|---|
| .. | ||
| broadcom | ||
| intel | ||
| qcom | ||
| samsung | ||
| st | ||
| tegra | ||
| ti-soc-thermal | ||
| amlogic_thermal.c | ||
| armada_thermal.c | ||
| cpufreq_cooling.c | ||
| cpuidle_cooling.c | ||
| da9062-thermal.c | ||
| db8500_thermal.c | ||
| devfreq_cooling.c | ||
| dove_thermal.c | ||
| gov_bang_bang.c | ||
| gov_fair_share.c | ||
| gov_power_allocator.c | ||
| gov_step_wise.c | ||
| gov_user_space.c | ||
| hisi_thermal.c | ||
| imx_sc_thermal.c | ||
| imx_thermal.c | ||
| imx8mm_thermal.c | ||
| k3_bandgap.c | ||
| Kconfig | ||
| khadas_mcu_fan.c | ||
| kirkwood_thermal.c | ||
| Makefile | ||
| max77620_thermal.c | ||
| mtk_thermal.c | ||
| qoriq_thermal.c | ||
| rcar_gen3_thermal.c | ||
| rcar_thermal.c | ||
| rockchip_thermal.c | ||
| spear_thermal.c | ||
| sprd_thermal.c | ||
| sun8i_thermal.c | ||
| tango_thermal.c | ||
| thermal_core.c | ||
| thermal_core.h | ||
| thermal_helpers.c | ||
| thermal_hwmon.c | ||
| thermal_hwmon.h | ||
| thermal_mmio.c | ||
| thermal_netlink.c | ||
| thermal_netlink.h | ||
| thermal_of.c | ||
| thermal_sysfs.c | ||
| thermal-generic-adc.c | ||
| uniphier_thermal.c | ||
| zx2967_thermal.c | ||