[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJZ5v0imu3DZbUb6P=UGP5G9ffxS6MbnRb-2zx7pXNTrxS1Z1A@mail.gmail.com>
Date: Mon, 18 Nov 2024 11:23:46 +0100
From: "Rafael J. Wysocki" <rafael@...nel.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Linux PM <linux-pm@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>, Daniel Lezcano <daniel.lezcano@...aro.org>
Subject: [GIT PULL] Thermal control updates for v6.13-rc1
Hi Linus,
Please pull from the tag
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
thermal-6.13-rc1
with top-most commit 0104dcdaad3a7afd141e79a5fb817a92ada910ac
thermal: testing: Initialize some variables annoteded with _free()
on top of commit 5469a8deac05391781bcd27e7c40f2c35121ca09
Merge tag 'thermal-v6.12-rc7' of
ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/thermal/linux
to receive thermal control updates for 6.13-rc1.
These are thermal core changes, including the addition of support for
temperature thresholds that can be set from user space, fixes related
to thermal zone initialization, suspend/resume and exit, locking rework
and rearrangement of the code handling thermal zone temperature updates.
Specifics:
- Add support for thermal thresholds that can be added and removed from
user space via netlink along with a related library update (Daniel
Lezcano).
- Fix thermal zone initialization, suspend/resume and exit
synchronization issues (Rafael Wysocki).
- Rearrange locking in the thermal core to use guards (Rafael Wysocki).
- Make the code handling thermal zone temperature updates use sorted
lists of trip points to reduce the number of trip points table walks
in the thermal core (Rafael Wysocki).
- Fix and clean up the thermal testing facility code (Rafael Wysocki).
- Fix a Power Allocator thermal governor issue (ZhengShaobo).
Thanks!
---------------
Daniel Lezcano (8):
thermal: core: Add user thresholds support
thermal: core: Connect the threshold with the core
thermal: netlink: Add the commands and the events for the thresholds
tools/lib/thermal: Make more generic the command encoding function
tools/lib/thermal: Add the threshold netlink ABI
tools/thermal/thermal-engine: Take into account the thresholds API
thermal: thresholds: Fix thermal lock annotation issue
thermal/lib: Fix memory leak on error in thermal_genl_auto()
Rafael J. Wysocki (36):
thermal: core: Initialize thermal zones before registering them
thermal: core: Rearrange PM notification code
thermal: core: Represent suspend-related thermal zone flags as bits
thermal: core: Mark thermal zones as initializing to start with
thermal: core: Fix race between zone registration and system suspend
thermal: core: Consolidate thermal zone locking during initialization
thermal: core: Mark thermal zones as exiting before unregistration
thermal: core: Consolidate thermal zone locking in the exit path
thermal: core: Update thermal zones after cooling device binding
thermal: core: Drop need_update field from struct thermal_zone_device
thermal: core: Move lists of thermal instances to trip descriptors
thermal: core: Pass trip descriptors to trip bind/unbind functions
thermal: core: Add and use thermal zone guard
thermal: core: Add and use a reverse thermal zone guard
thermal: core: Separate code running under thermal_list_lock
thermal: core: Manage thermal_list_lock using a mutex guard
thermal: core: Call thermal_governor_update_tz() outside of cdev lock
thermal: core: Introduce thermal_instance_add()
thermal: core: Introduce thermal_instance_delete()
thermal: core: Introduce thermal_cdev_update_nocheck()
thermal: core: Add and use cooling device guard
thermal: core: Separate thermal zone governor initialization
thermal: core: Manage thermal_governor_lock using a mutex guard
thermal: core: Build sorted lists instead of sorting them later
thermal: core: Rename trip list node in struct thermal_trip_desc
thermal: core: Prepare for moving trips between sorted lists
thermal: core: Rearrange __thermal_zone_device_update()
thermal: core: Pass trip descriptor to thermal_trip_crossed()
thermal: core: Move some trip processing to thermal_trip_crossed()
thermal: core: Relocate functions that update trip points
thermal: core: Eliminate thermal_zone_trip_down()
thermal: core: Use trip lists for trip crossing detection
thermal: core: Relocate thermal zone initialization routine
thermal: testing: Simplify tt_get_tt_zone()
thermal: testing: Use DEFINE_FREE() and __free() to simplify code
thermal: testing: Initialize some variables annoteded with _free()
ZhengShaobo (1):
thermal: gov_power_allocator: Granted power set to max when
nobody request power
---------------
drivers/thermal/Makefile | 1 +
drivers/thermal/gov_bang_bang.c | 15 +-
drivers/thermal/gov_fair_share.c | 20 +-
drivers/thermal/gov_power_allocator.c | 86 +--
drivers/thermal/gov_step_wise.c | 22 +-
drivers/thermal/testing/zone.c | 41 +-
drivers/thermal/thermal_core.c | 883 +++++++++++++++-----------
drivers/thermal/thermal_core.h | 41 +-
drivers/thermal/thermal_debugfs.c | 50 +-
drivers/thermal/thermal_helpers.c | 46 +-
drivers/thermal/thermal_hwmon.c | 5 +-
drivers/thermal/thermal_netlink.c | 253 +++++++-
drivers/thermal/thermal_netlink.h | 34 +
drivers/thermal/thermal_sysfs.c | 132 ++--
drivers/thermal/thermal_thresholds.c | 240 +++++++
drivers/thermal/thermal_thresholds.h | 19 +
drivers/thermal/thermal_trip.c | 48 +-
include/linux/thermal.h | 6 +
include/uapi/linux/thermal.h | 29 +-
tools/lib/thermal/commands.c | 188 +++++-
tools/lib/thermal/events.c | 55 +-
tools/lib/thermal/include/thermal.h | 40 ++
tools/lib/thermal/libthermal.map | 5 +
tools/lib/thermal/thermal.c | 17 +
tools/thermal/lib/Makefile | 2 +-
tools/thermal/thermal-engine/thermal-engine.c | 105 ++-
26 files changed, 1650 insertions(+), 733 deletions(-)
Powered by blists - more mailing lists