[GIT PULL] More thermal control updates for v5.20-rc1

From: Rafael J. Wysocki
Date: Mon Aug 08 2022 - 14:12:20 EST


Hi Linus,

Please pull from the tag

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

with top-most commit 7f0169cde0ced2e2b7bdf3dcedcf8c71efc6afc0

Merge branches 'thermal-core' and 'thermal-tools'

on top of commit c1dbe9a1c86da098a29dcdca1a67b65e2de7ec3a

Merge tag 'thermal-5.20-rc1' of
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

to receive more thermal control updates for 5.20-rc1.

These fix an error code path issue leading to a NULL pointer
dereference going forward, drop Kconfig dependencies that are
not needed any more after recent changes, add CPU IDs for new
chips to a driver and fix up the tmon utility.

Specifics:

- Fix NULL pointer dereference in the thermal sysfs interface that
results from an error code path mishandling (Rafael Wysocki).

- Drop COMPILE_TEST dependency that's not needed any more from two
thermal Kconfig entries (Jean Delvare).

- Make the Intel TCC cooling driver support Alder Lake-N and Raptor
Lake-P (Sumeet Pawnikar).

- Fix possible path truncations in the tmon utility (Florian Fainelli).

Thanks!


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

Florian Fainelli (1):
tools/thermal: Fix possible path truncations

Jean Delvare (1):
thermal: Drop obsolete dependency on COMPILE_TEST

Rafael J. Wysocki (1):
thermal: sysfs: Fix cooling_device_stats_setup() error code path

Sumeet Pawnikar (1):
thermal: intel: Add TCC cooling support for Alder Lake-N and Raptor Lake-P

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

drivers/thermal/Kconfig | 4 ++--
drivers/thermal/intel/intel_tcc_cooling.c | 2 ++
drivers/thermal/thermal_sysfs.c | 10 +++++++---
tools/thermal/tmon/sysfs.c | 24 +++++++++++++-----------
4 files changed, 24 insertions(+), 16 deletions(-)