mbox series

[for,6.13,v1,0/8] thermal: core: Updates related to thermal instances, trip points handling and locking

Message ID 4920970.GXAFRqVoOG@rjwysocki.net (mailing list archive)
Headers show
Series thermal: core: Updates related to thermal instances, trip points handling and locking | expand

Message

Rafael J. Wysocki Sept. 10, 2024, 9:26 a.m. UTC
Hi Everyone,

This is a collection of thermal core updates for the 6.13 cycle that have been
present in my bleeding-edge branch for some time (they are also present in my
thermal-core-experimental branch).  They are based on linux-pm.git/thermal.

Some of them touch the same pieces of code as

https://lore.kernel.org/linux-pm/20240906073631.1655552-1-daniel.lezcano@linaro.org/

but these are complementary changes rather than real conflicts so adjusting
them to apply along with the above should not be a problem.

The first two patches move the lists of thermal instances from thermal zone
device objects to trip point descriptors, which allows some code to become more
straightforward, and clean up code on top of that.

The next five patches rearrange the handling of trip points while updating thermal
zone temperature to use sorted lists of trip points, which allows the total amount
of computations related to this to be reduced, at least on average.

The last patch simplifies the thermal zone locking with the help of a guard.

Please refer to the individual patch changelogs for details.

Thanks!