[PATCH for 6.13 v1 0/8] thermal: core: Updates related to thermal instances, trip points handling and locking
From: Rafael J. Wysocki
Date: Tue Sep 10 2024 - 05:44:34 EST
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@xxxxxxxxxx/
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!