linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] Thermal control updates for v6.1-rc1
@ 2022-10-03 19:57 Rafael J. Wysocki
  2022-10-03 22:44 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Rafael J. Wysocki @ 2022-10-03 19:57 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Linux PM, Linux Kernel Mailing List

Hi Linus,

Please pull from the tag

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

with top-most commit 2e70ea7fb9873e642982f166bf9aaa4a6206fbec

 Merge branches 'thermal-intel' and 'thermal-drivers'

on top of commit b90cb1053190353cc30f0fef0ef1f378ccc063c5

 Linux 6.0-rc3

to receive thermal control updates for 6.1-rc1.

The most significant part of this update is the thermal control DT
initialization rework from Daniel Lezcano and the following conversion
of drivers to use the new API introduced by it.

Apart from that, the maximum number of trip points in a thermal zone
is increased and there are some fixes and code cleanups.

Specifics:

 - Rework the device tree initialization, convert the drivers to the
   new API and remove the old OF code (Daniel Lezcano).

 - Fix return value to -ENODEV when searching for a specific thermal
   zone which does not exist (Daniel Lezcano).

 - Fix the return value inspection in of_thermal_zone_find() (Dan
   Carpenter).

 - Fix kernel panic when KASAN is enabled as it detects use after
   free when unregistering a thermal zone (Daniel Lezcano).

 - Move the set_trip ops inside the therma sysfs code (Daniel Lezcano).

 - Remove unnecessary error message as it is already shown in the
   underlying function (Jiapeng Chong).

 - Rework the monitoring path and move the locks upper in the call
   stack to fix some potentials race windows (Daniel Lezcano).

 - Fix lockdep_assert() warning introduced by the lock rework (Daniel
   Lezcano).

 - Do not lock thermal zone mutex in the user space governor (Rafael
   Wysocki).

 - Revert the Mellanox 'hotter thermal zone' feature because it is
   already handled in the thermal framework core code (Daniel Lezcano).

 - Increase maximum number of trip points in the thermal core (Sumeet
   Pawnikar).

 - Replace strlcpy() with unused retval with strscpy() in the core
   thermal control code (Wolfram Sang).

 - Use module_pci_driver() macro in the int340x processor_thermal
   driver (Shang XiaoJing).

 - Use get_cpu() instead of smp_processor_id() in the intel_powerclamp
   thermal driver to prevent it from crashing and remove unused
   accounting for IRQ wakes from it (Srinivas Pandruvada).

 - Consolidate priv->data_vault checks in int340x_thermal (Rafael
   Wysocki).

 - Check the policy first in cpufreq_cooling_register() (Xuewen Yan).

 - Drop redundant error message from da9062-thermal (zhaoxiao).

 - Drop of_match_ptr() from thermal_mmio (Jean Delvare).

Thanks!


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

Dan Carpenter (1):
      thermal/of: Fix error code in of_thermal_zone_find()

Daniel Lezcano (42):
      thermal/of: Rework the thermal device tree initialization
      thermal/of: Return -ENODEV instead of -EINVAL if registration fails
      thermal/of: Fix free after use in thermal_of_unregister()
      thermal/of: Make new code and old code co-exist
      thermal/drivers/rockchip: Switch to new of API
      thermal/drivers/uniphier: Switch to new of API
      thermal/drivers/generic-adc: Switch to new of API
      thermal/drivers/mmio: Switch to new of API
      thermal/drivers/tegra: Switch to new of API
      thermal/drivers/sun8i: Switch to new of API
      thermal/drivers/sprd: Switch to new of API
      thermal/drivers/broadcom: Switch to new of API
      thermal/drivers/qcom: Switch to new of API
      thermal/drivers/st: Switch to new of API
      thermal/drivers/amlogic: Switch to new of API
      thermal/drivers/armada: Switch to new of API
      thermal/drivers/db8500: Switch to new of API
      thermal/drivers/imx: Switch to new of API
      thermal/drivers/rcar: Switch to new of API
      thermal/drivers/rzg2l: Switch to new of API
      thermal/drivers/qoriq: Switch to new of API
      thermal/drivers/mtk: Switch to new of API
      thermal/drivers/banggap: Switch to new of API
      thermal/drivers/maxim: Switch to new of API
      thermal/drivers/hisilicon: Switch to new of API
      thermal/drivers/ti-soc: Switch to new of API
      ata/drivers/ahci_imx: Switch to new of thermal API
      hwmon: pm_bus: core: Switch to new of thermal API
      hwmon/drivers/core: Switch to new of thermal API
      iio/drivers/sun4i_gpadc: Switch to new of thermal API
      Input: sun4i-ts - switch to new of thermal API
      regulator/drivers/max8976: Switch to new of thermal API
      thermal/drivers/samsung: Switch to new of thermal API
      thermal/core: Move set_trip_temp ops to the sysfs code
      thermal/of: Remove old OF code
      thermal/core: Rearm the monitoring only one time
      thermal/core: Rework the monitoring a bit
      thermal/governors: Group the thermal zone lock inside the
throttle function
      thermal/core: Move the thermal zone lock out of the governors
      thermal/core: Move the mutex inside the
thermal_zone_device_update() function
      thermal/core: Fix lockdep_assert() warning
      Revert "mlxsw: core: Add the hottest thermal zone detection"

Jean Delvare (1):
      thermal/drivers/thermal_mmio: Drop of_match_ptr()

Jiapeng Chong (1):
      thermal/drivers/qcom/spmi-adc-tm5: Remove unnecessary print
function dev_err()

Jilin Yuan (1):
      thermal: Drop duplicate words from comments

Rafael J. Wysocki (2):
      thermal: gov_user_space: Do not lock thermal zone mutex
      thermal: int340x_thermal: Consolidate priv->data_vault checks

Shang XiaoJing (1):
      thermal: int340x: processor_thermal: Use module_pci_driver() macro

Srinivas Pandruvada (2):
      thermal: intel_powerclamp: Use get_cpu() instead of
smp_processor_id() to avoid crash
      thermal: intel_powerclamp: Remove accounting for IRQ wakes

Sumeet Pawnikar (1):
      thermal: core: Increase maximum number of trip points

Wolfram Sang (1):
      thermal: move from strlcpy() with unused retval to strscpy()

Xuewen Yan (1):
      thermal: cpufreq_cooling: Check the policy first in
cpufreq_cooling_register()

zhaoxiao (1):
      thermal: da9062-thermal: Drop redundant error message

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

 drivers/ata/ahci_imx.c                             |   15 +-
 drivers/hwmon/hwmon.c                              |   14 +-
 drivers/hwmon/pmbus/pmbus_core.c                   |   10 +-
 drivers/hwmon/scpi-hwmon.c                         |   14 +-
 drivers/iio/adc/sun4i-gpadc-iio.c                  |   14 +-
 drivers/input/touchscreen/sun4i-ts.c               |   10 +-
 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c |   77 +-
 drivers/regulator/max8973-regulator.c              |   10 +-
 drivers/thermal/amlogic_thermal.c                  |   16 +-
 drivers/thermal/armada_thermal.c                   |   12 +-
 drivers/thermal/broadcom/bcm2711_thermal.c         |   14 +-
 drivers/thermal/broadcom/bcm2835_thermal.c         |   14 +-
 drivers/thermal/broadcom/brcmstb_thermal.c         |   20 +-
 drivers/thermal/broadcom/ns-thermal.c              |   50 +-
 drivers/thermal/broadcom/sr-thermal.c              |   16 +-
 drivers/thermal/cpufreq_cooling.c                  |   12 +-
 drivers/thermal/da9062-thermal.c                   |    5 +-
 drivers/thermal/db8500_thermal.c                   |    8 +-
 drivers/thermal/gov_bang_bang.c                    |   10 +-
 drivers/thermal/gov_fair_share.c                   |    3 +-
 drivers/thermal/gov_power_allocator.c              |   20 +-
 drivers/thermal/gov_step_wise.c                    |   10 +-
 drivers/thermal/gov_user_space.c                   |    5 +-
 drivers/thermal/hisi_thermal.c                     |   14 +-
 drivers/thermal/imx8mm_thermal.c                   |   14 +-
 drivers/thermal/imx_sc_thermal.c                   |   14 +-
 .../intel/int340x_thermal/int3400_thermal.c        |    5 +-
 .../int340x_thermal/processor_thermal_device_pci.c |   13 +-
 .../processor_thermal_device_pci_legacy.c          |   13 +-
 drivers/thermal/intel/intel_powerclamp.c           |   27 +-
 drivers/thermal/k3_bandgap.c                       |   12 +-
 drivers/thermal/k3_j72xx_bandgap.c                 |   12 +-
 drivers/thermal/max77620_thermal.c                 |    8 +-
 drivers/thermal/mtk_thermal.c                      |   10 +-
 drivers/thermal/qcom/qcom-spmi-adc-tm5.c           |   23 +-
 drivers/thermal/qcom/qcom-spmi-temp-alarm.c        |   12 +-
 drivers/thermal/qcom/tsens.c                       |   16 +-
 drivers/thermal/qoriq_thermal.c                    |   12 +-
 drivers/thermal/rcar_gen3_thermal.c                |   16 +-
 drivers/thermal/rcar_thermal.c                     |   13 +-
 drivers/thermal/rockchip_thermal.c                 |   14 +-
 drivers/thermal/rzg2l_thermal.c                    |   10 +-
 drivers/thermal/samsung/exynos_tmu.c               |   24 +-
 drivers/thermal/sprd_thermal.c                     |   18 +-
 drivers/thermal/st/stm_thermal.c                   |   18 +-
 drivers/thermal/sun8i_thermal.c                    |   14 +-
 drivers/thermal/tegra/soctherm.c                   |   21 +-
 drivers/thermal/tegra/tegra-bpmp-thermal.c         |   19 +-
 drivers/thermal/tegra/tegra30-tsensor.c            |   12 +-
 drivers/thermal/thermal-generic-adc.c              |   10 +-
 drivers/thermal/thermal_core.c                     |   80 +-
 drivers/thermal/thermal_core.h                     |    4 +-
 drivers/thermal/thermal_helpers.c                  |   73 +-
 drivers/thermal/thermal_hwmon.c                    |    2 +-
 drivers/thermal/thermal_mmio.c                     |   19 +-
 drivers/thermal/thermal_of.c                       | 1148 +++++++-------------
 drivers/thermal/thermal_sysfs.c                    |   11 +-
 drivers/thermal/ti-soc-thermal/ti-thermal-common.c |   16 +-
 drivers/thermal/uniphier_thermal.c                 |   10 +-
 include/linux/thermal.h                            |   87 +-
 60 files changed, 835 insertions(+), 1388 deletions(-)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [GIT PULL] Thermal control updates for v6.1-rc1
  2022-10-03 19:57 [GIT PULL] Thermal control updates for v6.1-rc1 Rafael J. Wysocki
@ 2022-10-03 22:44 ` pr-tracker-bot
  0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2022-10-03 22:44 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: Linus Torvalds, Linux PM, Linux Kernel Mailing List

The pull request you sent on Mon, 3 Oct 2022 21:57:54 +0200:

> git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git thermal-6.1-rc1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/a5088ee7251e5106a4efa9588a73866eb4b4154e

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-03 22:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-03 19:57 [GIT PULL] Thermal control updates for v6.1-rc1 Rafael J. Wysocki
2022-10-03 22:44 ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).