thermal: core: Fixes and cleanups, mostly related to thermal zone init and exit
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest12 patches 16 repliesIn review
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | thermal: core: Initialize thermal zones before registering themdrivers/ | +1 | 1 reply | |
| 2/12 | thermal: core: Rearrange PM notification codedrivers/ | +46 | 1 reply | |
| 3/12 | thermal: core: Represent suspend-related thermal zone flags as bitsdrivers/ drivers/ | +12 | 1 reply | |
| 4/12 | thermal: core: Mark thermal zones as initializing to start withdrivers/ drivers/ | +14 | 1 reply | |
| 5/12 | thermal: core: Fix race between zone registration and system suspenddrivers/ | +16 | 1 reply | |
| 6/12 | thermal: core: Consolidate thermal zone locking during initializationdrivers/ | +22 | 1 reply | |
| 7/12 | thermal: core: Mark thermal zones as exiting before unregistrationdrivers/ drivers/ | +4 | 1 reply | |
| 8/12 | thermal: core: Consolidate thermal zone locking in the exit pathdrivers/ | +39 | 1 reply | |
| 9/12 | thermal: core: Update thermal zones after cooling device bindingdrivers/ | +13 | 1 reply | |
| 10/12 | thermal: core: Drop need_update field from struct thermal_zone_devicedrivers/ drivers/ | +0 | 1 reply | |
| 11/12 | thermal: core: Move lists of thermal instances to trip descriptorsdrivers/ drivers/ drivers/ +4 more | +62 | 1 reply | |
| 12/12 | thermal: core: Pass trip descriptors to trip bind/unbind functionsdrivers/ | +12 | 1 reply |
Reviews trailers per patch
All 12 patches have a Reviewed-by or Acked-by.
| Patch | Lukasz Luba |
|---|---|
| 1/12 | R-b |
| 2/12 | R-b |
| 3/12 | R-b |
| 4/12 | R-b |
| 5/12 | R-b |
| 6/12 | R-b |
| 7/12 | R-b |
| 8/12 | R-b |
| 9/12 | R-b |
| 10/12 | R-b |
| 11/12 | R-b |
| 12/12 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/12] thermal: core: Fixes and cleanups, mostly related to thermal zone init and exit
Hi Everyone,
After posting the two series of thermal core patches for 6.13:
https://lore.kernel.org/linux-pm/[email protected]/
and
https://lore.kernel.org/linux-pm/[email protected]/
before the 6.12 merge window, I have decided to reorder the changes included in these series, so that fixes and more significant cleanups (for example, changing they layout of data structures) go first, followed by the changes related to using guards for locking, and the optimization involving sorted lists becomes the last piece.
This series is the first part and the majority of patches in it come from the second (RFC) series mentioned above. Of course, they needed to be rebased to be applied in the new order. It is on top of 6.12-rc1 with
https://lore.kernel.org/linux-pm/[email protected]/
applied and it will be added to my thermal-core-testing branch. It is in v2 to start with because all of the patches in it have already been posted in some form.
The first 10 patches fix some potential issues related to thermal zone initialization and exit (for example, user space may start to interact with a thermal zone during its initialization before it's ready and system suspend taking place at a wrong time may skip a new thermal zone so it is not suspended) and do some cleanups related to that. This concludes with the removal of the need_update field from struct thermal_zone_device.
The last two patches move lists of thermal instances from thermal zones to trip point descriptors and clean up some code on top of that.
Please refer to the individual patch changelogs for details.
Thanks!