Skip to content

thermal: improve handling of disabled thermal zone

Zhang Rui linux-pm linux-wireless 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6iwlwifi: use thermal_zone_device_update() for temperature changedrivers/net/wireless/intel/iwlwifi/mvm/tt.c+2 -34 replies
2/6thermal: core: delete thermal_notify_framework()drivers/thermal/thermal_core.c include/linux/thermal.h+0 -225 replies
3/6thermal: core: update polling after all trips handleddrivers/thermal/thermal_core.c+6 -51 reply
4/6thermal: core: stop polling timer for disabled thermal zonedrivers/thermal/thermal_core.c+2 -11 reply
5/6thermal: core: introduce tz_disabled() helper functiondrivers/thermal/thermal_core.c include/linux/thermal.h+10 -92 replies
6/6iwlwifi: enable thermal zone only when firmware loadeddrivers/net/wireless/intel/iwlwifi/mvm/fw.c drivers/net/wireless/intel/iwlwifi/mvm/mvm.h drivers/net/wireless/intel/iwlwifi/mvm/tt.c+15 -30 replies

Reviews trailers per patch

4 of 6 patches have a Reviewed-by or Acked-by.

PatchAndrzej PietrasiewiczBartlomiej Zolnierkiewicz
1/6
2/6T-b R-b
3/6R-b
4/6R-b
5/6R-b
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] thermal: improve handling of disabled thermal zone

Andrzej Pietrasiewicz has proposed two patches at
https://patchwork.kernel.org/patch/11506053/
and
https://patchwork.kernel.org/patch/11506065/
to improve the thermal zone mode support.

But there are still some issues left, and this patch set is made based on these two patches, to improve the handling of disabled thermal zone.

Patch 1/6 to Patch 4/6 clean up the code and fix thermal_zone_device_update() to do nothing but cancelling the polling timer, for a disabled thermal zone.

Patch 6/6 is a prototype patch. Patch 1-5 in this patch series make it possible to fix a known iwlwifi thermal issue, by registering the iwlwifi thermal zone device as disabled, and enable it after firmware ready. I'd like to get feedback from the iwlwifi experts to get it fixed.

thanks,
rui