[GIT PULL] More thermal control updates for v6.8-rc1

From: Rafael J. Wysocki
Date: Tue Jan 16 2024 - 07:11:04 EST


Hi Linus,

Please pull from the tag

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
thermal-6.8-rc1-2

with top-most commit dd75558b2d0b5e2b36ec0ef7e494d2763517d801

Merge branches 'thermal-core' and 'thermal-intel'

on top of commit 17e8b76491b007698cf63bc10093bc8991e45001

Merge branch 'thermal-intel'

to receive more thermal control updates for 6.8-rc1.

These add support for debugfs-based diagnostics to the thermal core,
simplify the thermal netlink API, fix system-wide PM support in the
Intel HFI driver and clean up some code.

Specifics:

- Add debugfs-based diagnostics support to the thermal core (Daniel
Lezcano, Dan Carpenter).

- Fix a power allocator thermal governor issue preventing it from
resetting cooling devices sometimes (Di Shen).

- Simplify the thermal netlink API and clean up related code (Rafael J.
Wysocki).

- Make the Intel HFI driver support hibernation and deep suspend
properly (Ricardo Neri).

Thanks!


---------------

Christophe JAILLET (1):
thermal: core: Use kstrdup_const() during cooling device registration

Dan Carpenter (1):
thermal/debugfs: Unlock on error path in thermal_debug_tz_trip_up()

Daniel Lezcano (2):
thermal/debugfs: Add thermal cooling device debugfs information
thermal/debugfs: Add thermal debugfs information for mitigation episodes

Di Shen (1):
thermal: gov_power_allocator: avoid inability to reset a cdev

Rafael J. Wysocki (6):
thermal: netlink: Pass pointers to thermal_notify_tz_trip_change()
thermal: netlink: Pass pointers to thermal_notify_tz_trip_up/down()
thermal: netlink: Drop thermal_notify_tz_trip_add/delete()
thermal: netlink: Pass thermal zone pointer to notify routines
thermal: netlink: Rework notify API for cooling devices
thermal: helpers: Rearrange thermal_cdev_set_cur_state()

Ricardo Neri (1):
thermal: intel: hfi: Add syscore callbacks for system-wide PM

---------------

drivers/thermal/Kconfig | 7 +
drivers/thermal/Makefile | 2 +
drivers/thermal/gov_power_allocator.c | 2 +-
drivers/thermal/intel/intel_hfi.c | 28 ++
drivers/thermal/thermal_core.c | 38 +-
drivers/thermal/thermal_core.h | 1 +
drivers/thermal/thermal_debugfs.c | 839 ++++++++++++++++++++++++++++++++++
drivers/thermal/thermal_debugfs.h | 28 ++
drivers/thermal/thermal_helpers.c | 21 +-
drivers/thermal/thermal_netlink.c | 95 ++--
drivers/thermal/thermal_netlink.h | 75 ++-
drivers/thermal/thermal_trip.c | 8 +-
include/linux/thermal.h | 9 +-
13 files changed, 1026 insertions(+), 127 deletions(-)