linux/tools
Linus Torvalds 4403278e4e Thermal control updates for 7.4-rc1
- Make the Intel powerclamp thermal driver reject invalid window_size
    values, drop redundant clamp() from duration_set() in it, and
    simplify 4 functions in it (Thorsten Blum)
 
  - Add rugged Panther Lake support to the intel_tcc_cooling thermal
    driver (Srinivas Pandruvada)
 
  - Fix temperature selection around 0 C in the int340x thermal driver,
    drop redundant else from proc_thermal_add() in it, and simplify
    slider_def_*_set() in it (Thorsten Blum)
 
  - Drop unbalanced paren from cpu-idle-cooling.rst (Manuel Ebner)
 
  - Use %pe to print error pointers symbolically in the thermal control
    code and fix assorted typos in comments in it (Sumeet Pawnikar and
    Hemanth Selam)
 
  - Add the Exynos ACPM thermal driver for Google GS101, along with
    DT bindings and a MAINTAINERS entry (Tudor Ambarus)
 
  - Add Renesas RZ/G3L thermal sensor support and DT bindings, and move
    default calibration values to per-SoC match data (Biju Das)
 
  - Add Qualcomm MSM8952 TSENS support and the corresponding DT binding
    compatible (Muzaffer Kadir)
 
  - Document the Qualcomm PMAU0102 Master BandGap temperature monitor
    compatible in the DT bindings (Dhruvin Rajpura)
 
  - Extend the QCom TSENS v2 trip temperature limits to the hardware
    range of -204°C to +204°C to prevent interrupt storms when operating
    beyond the previous software limits (Priyansh Jain)
 
  - Fix temperature threshold map indexing in the QCom SPMI temperature
    alarm driver to prevent out-of-bounds reads (Georgi Djakov)
 
  - Describe the additional bus clock required by the Amlogic T7 thermal
    sensor and switch the driver to the clk_bulk API to manage multiple
    clocks (Ronald Claveau)
 
  - Request the Airoha EN7581 IRQ after thermal zone registration to
    prevent the interrupt handler from accessing an unregistered or
    already freed thermal zone (Vitaliy Sochnev)
 
  - Fix the Airoha AN7583 ADC mux field mapping, serialize access to the
    shared ADC, and verify mux selection to avoid invalid temperature
    readings and spurious critical shutdowns (Vitaliy Sochnev)
 
  - Register separate thermal zones for the AN7583 bandgap, GbE and CPU
    sensors, and update the DT bindings to use one thermal sensor cell
    to select the sensor (Vitaliy Sochnev)
 
  - Fix signed integer overflow in the Renesas RZ/G3E temperature-to-code
    conversion, preserve compare interrupt state across runtime PM,
    and prevent overlapping temperature conversions (Ovidiu Panait)
 
  - Remove redundant trip window validation and runtime PM
    pm_runtime_mark_last_busy() calls from the Renesas RZ/G3E driver
    (Ovidiu Panait)
 
  - Propagate reset assertion failures from Renesas RZ/G3E suspend and
    attempt to restore power if the sensor was active (Pengpeng Hou)
 
  - Stop the TI bandgap alert IRQ before removing sensor interfaces and
    cancel pending alert work to prevent use-after-free on driver removal
    (Weigang He)
 
  - Validate Spreadtrum sensor IDs read from the device tree before using
    them for register offsets and array indexing (Weigang He)
 
  - Convert the TI OMAP bandgap DT bindings to schema and document the
    DRA752 compatible and thermal sensor cells (Bhargav Joshi)
 
  - Use DT property helpers matching the signed temperature and unsigned
    hysteresis types defined by the thermal zone bindings (Rob Herring)
 
  - Reuse common error handling code in the power allocator governor
    bind callback (Markus Elfring)
 
  - Constify the thermal zone device operations in the i.MX9 driver
    (Christophe JAILLET)
 
  - Fix kernel-doc parameter names and firmware node references in the
    cooling device registration helpers (Aryan Sinha)
 
  - Correct the documented return value of ti_bandgap_get_sensor_data()
    to describe validation errors and potentially NULL stored data
    (Karl Mehltretter)
 
  - Ensure NUL-termination when copying the cooling device command-line
    argument in tmon and fix the associated string truncation warning
    (Florian Fainelli)
 
  - Fix undefined behavior caused by a signed shift in the tmon thermal
    zone binding display (Liu Jing)
 
  - Fix wording in tmon comments (Hemanth Selam)
 
  - Simplify cpufreq_set_cur_state() in the cpufreq_cooling thermal
    control driver (Thorsten Blum)
 -----BEGIN PGP SIGNATURE-----
 
 iQFGBAABCAAwFiEEcM8Aw/RY0dgsiRUR7l+9nS/U47UFAmrWO9cSHHJqd0Byand5
 c29ja2kubmV0AAoJEO5fvZ0v1OO1HisH/3xEFIHZG7l+OHCETxNJDq3kC+4g48OM
 s7c96CuKI//bhNe0IZ0CBhSskqHAeU8gpxL3PjJOXFBFdrWkPOxjwzOVCOY0JOA6
 CZK8JiInyY6zBGXneHrySGD9QvJJ21EoYH0aIKaRAfgQyCHj5ETKa/SxAlNuLkqY
 wKMhRdofD+1ZvTe4voV4F9Brb4JUruPAJkMYdG1cU8LV9SVkW9KaEYWsS/ZLm7aC
 rY8UexK48vR9o80pR/zI48j5dndhO29PzRV5WeR1GSMcnYxIE7K5W4zTniwj5Zoh
 tv8fdC05eFbN2b3IEwaHix5xn7wK+T5KzXhau1aH+YJTSVeaW1gZo+k=
 =uhgs
 -----END PGP SIGNATURE-----

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

Pull thermal control updates from Rafael Wysocki:
 "These are mostly updates of thermal drivers including a new Exynos
  ACPM thermal driver for Google GS101, new Renesas RZ/G3L thermal
  sensor support, new Qualcomm MSM8952 TSENS support, new Qualcomm
  PMAU0102 Master BandGap temperature monitor support in DT bindings,
  and new rugged Panther Lake support in intel_tcc_cooling. Moreover,
  the AN7583 driver is extended to register separate thermal zones for
  bandgap, GbE and CPU (its DT bindings are updated accordingly).

  There are also multiple fixes and assorted cleanups, as usual.

  Specifics:

   - Make the Intel powerclamp thermal driver reject invalid window_size
     values, drop redundant clamp() from duration_set() in it, and
     simplify 4 functions in it (Thorsten Blum)

   - Add rugged Panther Lake support to the intel_tcc_cooling thermal
     driver (Srinivas Pandruvada)

   - Fix temperature selection around 0 C in the int340x thermal driver,
     drop redundant else from proc_thermal_add() in it, and simplify
     slider_def_*_set() in it (Thorsten Blum)

   - Drop unbalanced paren from cpu-idle-cooling.rst (Manuel Ebner)

   - Use %pe to print error pointers symbolically in the thermal control
     code and fix assorted typos in comments in it (Sumeet Pawnikar and
     Hemanth Selam)

   - Add the Exynos ACPM thermal driver for Google GS101, along with DT
     bindings and a MAINTAINERS entry (Tudor Ambarus)

   - Add Renesas RZ/G3L thermal sensor support and DT bindings, and move
     default calibration values to per-SoC match data (Biju Das)

   - Add Qualcomm MSM8952 TSENS support and the corresponding DT binding
     compatible (Muzaffer Kadir)

   - Document the Qualcomm PMAU0102 Master BandGap temperature monitor
     compatible in the DT bindings (Dhruvin Rajpura)

   - Extend the QCom TSENS v2 trip temperature limits to the hardware
     range of -204°C to +204°C to prevent interrupt storms when
     operating beyond the previous software limits (Priyansh Jain)

   - Fix temperature threshold map indexing in the QCom SPMI temperature
     alarm driver to prevent out-of-bounds reads (Georgi Djakov)

   - Describe the additional bus clock required by the Amlogic T7
     thermal sensor and switch the driver to the clk_bulk API to manage
     multiple clocks (Ronald Claveau)

   - Request the Airoha EN7581 IRQ after thermal zone registration to
     prevent the interrupt handler from accessing an unregistered or
     already freed thermal zone (Vitaliy Sochnev)

   - Fix the Airoha AN7583 ADC mux field mapping, serialize access to
     the shared ADC, and verify mux selection to avoid invalid
     temperature readings and spurious critical shutdowns (Vitaliy
     Sochnev)

   - Register separate thermal zones for the AN7583 bandgap, GbE and CPU
     sensors, and update the DT bindings to use one thermal sensor cell
     to select the sensor (Vitaliy Sochnev)

   - Fix signed integer overflow in the Renesas RZ/G3E
     temperature-to-code conversion, preserve compare interrupt state
     across runtime PM, and prevent overlapping temperature conversions
     (Ovidiu Panait)

   - Remove redundant trip window validation and runtime PM
     pm_runtime_mark_last_busy() calls from the Renesas RZ/G3E driver
     (Ovidiu Panait)

   - Propagate reset assertion failures from Renesas RZ/G3E suspend and
     attempt to restore power if the sensor was active (Pengpeng Hou)

   - Stop the TI bandgap alert IRQ before removing sensor interfaces and
     cancel pending alert work to prevent use-after-free on driver
     removal (Weigang He)

   - Validate Spreadtrum sensor IDs read from the device tree before
     using them for register offsets and array indexing (Weigang He)

   - Convert the TI OMAP bandgap DT bindings to schema and document the
     DRA752 compatible and thermal sensor cells (Bhargav Joshi)

   - Use DT property helpers matching the signed temperature and
     unsigned hysteresis types defined by the thermal zone bindings (Rob
     Herring)

   - Reuse common error handling code in the power allocator governor
     bind callback (Markus Elfring)

   - Constify the thermal zone device operations in the i.MX9 driver
     (Christophe JAILLET)

   - Fix kernel-doc parameter names and firmware node references in the
     cooling device registration helpers (Aryan Sinha)

   - Correct the documented return value of ti_bandgap_get_sensor_data()
     to describe validation errors and potentially NULL stored data
     (Karl Mehltretter)

   - Ensure NUL-termination when copying the cooling device command-line
     argument in tmon and fix the associated string truncation warning
     (Florian Fainelli)

   - Fix undefined behavior caused by a signed shift in the tmon thermal
     zone binding display (Liu Jing)

   - Fix wording in tmon comments (Hemanth Selam)

   - Simplify cpufreq_set_cur_state() in the cpufreq_cooling thermal
     control driver (Thorsten Blum)"

* tag 'thermal-7.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (51 commits)
  thermal/drivers/rzg3e: Propagate reset assertion failure from suspend
  thermal: ti-soc-thermal: Fix the return value in ti_bandgap_get_sensor_data() kernel-doc
  thermal/fw: Fix kernel-doc parameter names
  thermal/qcom/tsens: Add support for MSM8952 tsens
  dt-bindings: thermal: tsens: Add MSM8952
  thermal/drivers/amlogic: Switch to clk_bulk API to support multiple clocks
  dt-bindings: thermal: amlogic: describe bus clock for t7-thermal
  tools/thermal/tmon: Fix string truncation warning in optarg copy
  thermal/drivers/airoha: Register a thermal zone per AN7583 sensor
  dt-bindings: arm: airoha: Use one thermal sensor cell for AN7583
  thermal/drivers/airoha: Serialise access to the shared ADC
  thermal/drivers/airoha: Fix AN7583 ADC mux field mapping
  thermal/drivers/sprd: validate the sensor id from the device tree
  thermal/drivers/ti-soc-thermal: Cancel pending alert work on remove
  thermal/drivers/qcom-spmi-temp-alarm: Fix temp_map indexing
  thermal: gov_power_allocator: Use common error handling code in power_allocator_bind()
  tools/thermal/tmon: Fix signed shift UB in binding display
  MAINTAINERS: Add entry for Samsung Exynos ACPM thermal driver
  thermal/drivers/samsung: Add Exynos ACPM TMU driver GS101
  dt-bindings: thermal: Add Google GS101 TMU
  ...
2026-10-21 14:38:01 -10:00
..
accounting
arch x86/insn-eval: Fix shadowed segment index in get_seg_reg_override_idx() 2026-10-17 06:36:20 -10:00
bootconfig bootconfig: give the footer size static_assert a message 2026-10-12 12:35:10 +09:00
bpf perf tools updates for v7.3 2026-08-22 08:47:50 -07:00
build perf build: Remove leftover feature tests for removed cxx and clang support 2026-08-12 06:17:49 -07:00
certs
cgroup
counter
crypto
debugging
dma
docs doc tools: fix 'path' typos 2026-08-11 10:43:16 -06:00
firewire
firmware
gpio tools: gpio: fix building from the top level with O= 2026-10-12 16:08:35 +02:00
hv tools/hv: fix typo "retrive" in comment 2026-09-19 16:00:48 -07:00
iio
include bitmap updates for v7.4 2026-10-21 09:49:47 -10:00
kvm/kvm_stat
laptop
leds
lib Kbuild / Kconfig updates for 7.4 2026-10-21 10:45:44 -10:00
memory-model
mm mm.git review status for master..mm-nonmm-stable 2026-08-23 08:07:11 -07:00
net Including fixes from Bluetooth, IPSec and Netfilter. 2026-08-27 13:53:43 -07:00
objtool objtool/klp: Add test for ThinLTO symbols sharing a demangled name 2026-09-21 11:12:08 +02:00
pcmcia
perf Merge branch 'tip/sched/urgent' 2026-10-13 13:51:24 +02:00
platform/x86/amd
power Power management updates for 7.4-rc1 2026-10-21 14:24:26 -10:00
rcu
sched
sched_ext sched_ext: Add a size argument to scx_bpf_cid_topo() so struct scx_cid_topo can grow 2026-09-26 10:09:12 -10:00
scripts perf tools updates for v7.3 2026-08-22 08:47:50 -07:00
sound
spi
testing Updates for the core timekeeping and timers subsystem: 2026-10-21 11:20:38 -10:00
thermal tools/thermal/tmon: Fix string truncation warning in optarg copy 2026-10-14 09:45:40 +02:00
time
tracing
unittests docs: kdoc: parse context_lock_struct() as struct declaration 2026-09-29 16:59:29 -06:00
usb
verification verification/rvgen: Use .old instead of .bak for kunit backup files 2026-08-25 13:56:53 +02:00
virtio tools/virtio: Fix control typo in trace agent comment 2026-08-19 06:38:48 -04:00
wmi
workqueue tools/workqueue/wq_dump.py: Support backward compatibility for wq->attrs rename 2026-08-31 10:17:08 -10:00
writeback
Makefile