Messages in this thread | | | From | "Rafael J. Wysocki" <> | Date | Mon, 1 Aug 2022 21:53:19 +0200 | Subject | [GIT PULL] Thermal control updates for v5.20-rc1 |
| |
Hi Linus,
Please pull from the tag
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ thermal-5.20-rc1
with top-most commit da9d01794e31714a90a38e395c14723fb46f90b0
Merge tag 'thermal-v5.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux
on top of commit 32346491ddf24599decca06190ebca03ff9de7f8
Linux 5.19-rc6
to receive thermal control updates for 5.20-rc1.
These start a rework of the handling of trip points in the thermal core, improve the cpufreq/devfreq cooling device handling, update some thermal control drivers and the tmon utility and clean up code.
Specifics:
- Consolidate the thermal core code by beginning to move the thermal trip structure from the thermal OF code as a generic structure to be used by the different sensors when registering a thermal zone (Daniel Lezcano).
- Make per cpufreq / devfreq cooling device ops instead of using a global variable, fix comments and rework the trace information (Lukasz Luba).
- Add the include/dt-bindings/thermal.h under the area covered by the thermal maintainer in the MAINTAINERS file (Lukas Bulwahn).
- Improve the error output by giving the sensor identification when a thermal zone failed to initialize, the DT bindings by changing the positive logic and adding the r8a779f0 support on the rcar3 (Wolfram Sang).
- Convert the QCom tsens DT binding to the dtsformat format (Krzysztof Kozlowski).
- Remove the pointless get_trend() function in the QCom, Ux500 and tegra thermal drivers, along with the unused DROP_FULL and RAISE_FULL trends definitions. Simplify the code by using clamp() macros (Daniel Lezcano).
- Fix ref_table memory leak at probe time on the k3_j72xx bandgap (Bryan Brattlof).
- Fix array underflow in prep_lookup_table (Dan Carpenter).
- Add static annotation to the k3_j72xx_bandgap_j7* data structure (Jin Xiaoyun).
- Fix typos in comments detected on sun8i by Coccinelle (Julia Lawall).
- Fix typos in comments on rzg2l (Biju Das).
- Remove as unnecessary call to dev_err() as the error is already printed by the failing function on u8500 (Yang Li).
- Register the thermal zones as hwmon sensors for the Qcom thermal sensors (Dmitry Baryshkov).
- Fix 'tmon' tool compilation issue by adding phtread.h include (Markus Mayer).
- Fix typo in the comments for the 'tmon' tool (Slark Xiao).
- Make the thermal core use ida_alloc()/free() directly instead of ida_simple_get()/ida_simple_remove() that have been deprecated (keliu).
- Drop ACPI_FADT_LOW_POWER_S0 check from the Intel PCH thermal control driver (Rafael Wysocki).
Thanks!
---------------
Biju Das (1): thermal/drivers/rzg2l: Fix comments
Bryan Brattlof (1): thermal/drivers/k3_j72xx_bandgap: Fix ref_table memory leak during probe
Dan Carpenter (1): thermal/drivers/k3_j72xx_bandgap: Fix array underflow in prep_lookup_table()
Daniel Lezcano (16): thermal/drivers/qcom: Remove get_trend function thermal/drivers/tegra: Remove get_trend function thermal/drivers/u8500: Remove the get_trend function thermal/core: Use clamp() helper in the stepwise governor thermal/core: Remove DROP_FULL and RAISE_FULL thermal/core: Avoid calling ->get_trip_temp() unnecessarily thermal/core: Remove duplicate information when an error occurs thermal/of: Replace device node match with device node search thermal/of: Remove the device node pointer for thermal_trip thermal/of: Move thermal_trip structure to thermal.h thermal/core: Remove unneeded EXPORT_SYMBOLS thermal/core: Move thermal_set_delay_jiffies to static thermal/core: Rename 'trips' to 'num_trips' thermal/core: Add thermal_trip in thermal_zone thermal/of: Use thermal trips stored in the thermal zone thermal/of: Initialize trip points separately
Dmitry Baryshkov (2): thermal/drivers/qcom/temp-alarm: Register thermal zones as hwmon sensors thermal/drivers/qcom/spmi-adc-tm5: Register thermal zones as hwmon sensors
Jason Wang (1): thermal/ti-soc-thermal: Fix comment typo
Jiang Jian (1): thermal: intel: x86_pkg_temp_thermal: Drop duplicate 'is' from comment
Jin Xiaoyun (1): thermal/drivers/k3_j72xx_bandgap: Make k3_j72xx_bandgap_j721e_data and k3_j72xx_bandgap_j7200_data static
Julia Lawall (1): thermal/drivers/sun8i: Fix typo in comment
Krzysztof Kozlowski (1): dt-bindings: thermal: qcom,spmi-temp-alarm: convert to dtschema
Lukas Bulwahn (1): MAINTAINERS: add include/dt-bindings/thermal to THERMAL
Lukasz Luba (4): drivers/thermal/cpufreq_cooling: Use private callback ops for each cooling device drivers/thermal/cpufreq_cooling : Refactor thermal_power_cpu_get_power tracing drivers/thermal/cpufreq_cooling: Update outdated comments drivers/thermal/devfreq_cooling: Extend the devfreq_cooling_device with ops
Markus Mayer (1): thermal/tools/tmon: Include pthread and time headers in tmon.h
Rafael J. Wysocki (1): intel: thermal: PCH: Drop ACPI_FADT_LOW_POWER_S0 check
Slark Xiao (1): thermal/tools/tmon: Fix typo 'the the' in comment
Wolfram Sang (3): drivers/thermal/rcar_gen3_thermal: Improve logging during probe dt-bindings: thermal: rcar-gen3-thermal: use positive logic dt-bindings: thermal: rcar-gen3-thermal: Add r8a779f0 support
Yang Li (1): thermal/drivers/u8500: Remove unnecessary print function dev_err()
keliu (1): thermal: Directly use ida_alloc()/free()
---------------
.../bindings/thermal/qcom,spmi-temp-alarm.yaml | 85 +++++++++ .../bindings/thermal/qcom-spmi-temp-alarm.txt | 51 ------ .../bindings/thermal/rcar-gen3-thermal.yaml | 36 ++-- MAINTAINERS | 1 + drivers/thermal/cpufreq_cooling.c | 77 +++----- drivers/thermal/db8500_thermal.c | 34 +--- drivers/thermal/devfreq_cooling.c | 27 +-- drivers/thermal/gov_fair_share.c | 6 +- drivers/thermal/gov_power_allocator.c | 4 +- drivers/thermal/gov_step_wise.c | 26 +-- drivers/thermal/intel/intel_pch_thermal.c | 8 - drivers/thermal/intel/x86_pkg_temp_thermal.c | 2 +- drivers/thermal/k3_j72xx_bandgap.c | 13 +- drivers/thermal/qcom/qcom-spmi-adc-tm5.c | 5 + drivers/thermal/qcom/qcom-spmi-temp-alarm.c | 5 + drivers/thermal/qcom/tsens.c | 12 -- drivers/thermal/qcom/tsens.h | 2 - drivers/thermal/rcar_gen3_thermal.c | 4 +- drivers/thermal/rzg2l_thermal.c | 18 +- drivers/thermal/sun8i_thermal.c | 2 +- drivers/thermal/tegra/soctherm.c | 32 ---- drivers/thermal/tegra/tegra30-tsensor.c | 2 +- drivers/thermal/thermal_core.c | 79 ++++---- drivers/thermal/thermal_core.h | 15 -- drivers/thermal/thermal_helpers.c | 13 +- drivers/thermal/thermal_netlink.c | 2 +- drivers/thermal/thermal_of.c | 201 ++++++++++++--------- drivers/thermal/thermal_sysfs.c | 22 +-- drivers/thermal/ti-soc-thermal/ti-bandgap.c | 2 +- include/linux/thermal.h | 26 ++- include/trace/events/thermal.h | 28 +-- tools/thermal/tmon/pid.c | 2 +- tools/thermal/tmon/tmon.h | 3 + 33 files changed, 397 insertions(+), 448 deletions(-)
| |