[GIT PULL] thermal for v5.11
From: Daniel Lezcano
Date: Tue Dec 15 2020 - 17:19:26 EST
Hi Linus,
The following changes since commit 3650b228f83adda7e5ee532e2b90429c03f7b9ec:
Linux 5.10-rc1 (2020-10-25 15:14:11 -0700)
are available in the Git repository at:
ssh://git@xxxxxxxxxxxxxxxxxxx/pub/scm/linux/kernel/git/thermal/linux.git
tags/thermal-v5.11-rc1
for you to fetch changes up to 4401117bf7fc11dc738c0963fa0c94814abc8dcd:
thermal/drivers/devfreq_cooling: Fix the build when !ENERGY_MODEL
(2020-12-15 17:03:56 +0100)
----------------------------------------------------------------
- Add upper and lower limits clamps for the cooling device state in
the power allocator governor (Michael Kao)
- Add upper and lower limits support for the power allocator governor
(Lukasz Luba)
- Optimize conditions testing for the trip points (Bernard Zhao)
- Replace spin_lock_irqsave by spin_lock in hard IRQ on the rcar
driver (Tian Tao)
- Add MT8516 dt-bindings and device reset optional support (Fabien
Parent)
- Add a quiescent period to cool down the PCH when entering S0iX
(Sumeet Pawnikar)
- Use bitmap API instead of re-inventing the wheel on sun8i (Yangtao
Li)
- Remove useless NULL check in the hwmon driver (Bernard Zhao)
- Update the current state in the cpufreq cooling device only if the
frequency change is effective (Zhuguangqing)
- Improve the schema validation for the rcar DT bindings (Geert
Uytterhoeven)
- Fix the user time unit in the documentation (Viresh Kumar)
- Add PCI ids for Lewisburg PCH (Andres Freund)
- Add hwmon support on amlogic (Martin Blumenstingl)
- Fix build failure for PCH entering on in S0iX (Randy Dunlap)
- Improve the k_* coefficient for the power allocator governor (Lukasz
Luba)
- Fix missing const on a sysfs attribute (Rikard Falkeborn)
- Remove broken interrupt support on rcar to be replaced by a new one
(Niklas Söderlund)
- Improve the error code handling at init time on imx8mm (Fabio
Estevam)
- Compute interval validity once instead at each temperature reading
iteration on acerhdf (Daniel Lezcano)
- Add r8a779a0 support (Niklas Söderlund)
- Add PCI ids for AlderLake PCH and mmio refactoring (Srinivas
Pandruvada)
- Add RFIM and mailbox support on int340x (Srinivas Pandruvada)
- Use macro for temperature calculation on PCH (Sumeet Pawnikar)
- Simplify return conditions at probe time on Broadcom (Zheng Yongjun)
- Fix workload name on PCH (Srinivas Pandruvada)
- Migrate the devfreq cooling device code to the energy model API
(Lukasz Luba)
- Emit a warning if the thermal_zone_device_update is called without
the .get_temp() ops (Daniel Lezcano)
- Add critical and hot ops for the thermal zone (Daniel Lezcano)
- Remove notification usage when critical is reached on rcar (Daniel
Lezcano)
- Fix devfreq build when ENERGY_MODEL is not set (Lukasz Luba)
----------------------------------------------------------------
Andres Freund (1):
thermal: intel_pch_thermal: Add PCI ids for Lewisburg PCH.
Bernard Zhao (2):
drivers/thermal/core: Optimize trip points check
thermal/drivers/hwmon: Cleanup coding style a bit
Daniel Lezcano (5):
platform/x86/drivers/acerhdf: Use module_param_cb to set/get
polling interval
platform/x86/drivers/acerhdf: Check the interval value when it is set
thermal/core: Emit a warning if the thermal zone is updated
without ops
thermal/core: Add critical and hot ops
thermal/drivers/rcar: Remove notification usage
Fabien Parent (3):
dt-bindings: thermal: mediatek: make resets property optional
dt-bindings: thermal: mediatek: add documentation for MT8516 SoC
thermal: mtk_thermal: make device_reset optional
Fabio Estevam (2):
thermal: imx8mm: Print the correct error code
thermal: imx8mm: Disable the clock on probe failure
Geert Uytterhoeven (1):
dt-bindings: thermal: rcar-thermal: Improve schema validation
Lukasz Luba (12):
thermal: power_allocator: Respect upper and lower bounds for
cooling device
thermal: core: Remove unused functions in power actor section
thermal: core: Move power_actor_set_power into IPA
thermal: power allocator: change the 'k_i' coefficient estimation
thermal: power allocator: refactor sustainable power estimation
thermal: power allocator: change the 'k_*' always in
estimate_pid_constants()
thermal: devfreq_cooling: change tracing function and arguments
thermal: devfreq_cooling: use a copy of device status
thermal: devfreq_cooling: add new registration functions with
Energy Model
thermal: devfreq_cooling: remove old power model and use EM
drm/panfrost: Register devfreq cooling and attempt to add Energy Model
thermal/drivers/devfreq_cooling: Fix the build when !ENERGY_MODEL
Martin Blumenstingl (1):
thermal: amlogic: Add hwmon support
Michael Kao (1):
thermal: core: Add upper and lower limits to power_actor_set_power
Niklas Söderlund (3):
thermal: rcar_gen3_thermal: Do not use interrupts for normal operation
dt-bindings: thermal: rcar-gen3-thermal: Add r8a779a0 support
thermal: rcar_gen3_thermal: Add r8a779a0 support
Randy Dunlap (1):
thermal: intel_pch_thermal: fix build for ACPI not enabled
Rikard Falkeborn (1):
thermal: core: Constify static attribute_group structs
Srinivas Pandruvada (5):
thermal: int340x: processor_thermal: Refactor MMIO interface
thermal: int340x: processor_thermal: Add AlderLake PCI device id
thermal: int340x: processor_thermal: Add RFIM driver
thermal: int340x: processor_thermal: Add mailbox driver
thermal: int340x: processor_thermal: Correct workload type name
Sumeet Pawnikar (2):
thermal: intel: pch: fix S0ix failure due to PCH temperature above
threshold
thermal: intel: pch: use macro for temperature calculation
Tian Tao (1):
thermal/drivers/rcar: Replace spin_lock_irqsave by spin_lock in
hard IRQ
Viresh Kumar (1):
docs: thermal: time_in_state is displayed in msec and not usertime
Yangtao Li (1):
thermal: sun8i: Use bitmap API instead of open code
Zheng Yongjun (1):
thermal: broadcom: simplify the return expression of
bcm2711_thermal_probe()
Zhuguangqing (1):
thermal/drivers/cpufreq_cooling: Update cpufreq_state only if
state has changed
.../bindings/thermal/mediatek-thermal.txt | 3 +-
.../bindings/thermal/rcar-gen3-thermal.yaml | 17 +-
.../devicetree/bindings/thermal/rcar-thermal.yaml | 48 ++-
Documentation/driver-api/thermal/sysfs-api.rst | 3 +-
drivers/gpu/drm/panfrost/panfrost_devfreq.c | 2 +-
drivers/platform/x86/acerhdf.c | 30 +-
drivers/thermal/amlogic_thermal.c | 4 +
drivers/thermal/broadcom/bcm2711_thermal.c | 6 +-
drivers/thermal/cpufreq_cooling.c | 4 +-
drivers/thermal/devfreq_cooling.c | 390
++++++++++-----------
drivers/thermal/gov_power_allocator.c | 116 ++++--
drivers/thermal/imx8mm_thermal.c | 7 +-
drivers/thermal/intel/int340x_thermal/Kconfig | 6 +-
drivers/thermal/intel/int340x_thermal/Makefile | 3 +
.../int340x_thermal/processor_thermal_device.c | 282 +++++----------
.../int340x_thermal/processor_thermal_device.h | 82 +++++
.../intel/int340x_thermal/processor_thermal_mbox.c | 212 +++++++++++
.../intel/int340x_thermal/processor_thermal_rapl.c | 134 +++++++
.../intel/int340x_thermal/processor_thermal_rfim.c | 244 +++++++++++++
drivers/thermal/intel/intel_pch_thermal.c | 103 +++++-
drivers/thermal/mtk_thermal.c | 2 +-
drivers/thermal/rcar_gen3_thermal.c | 115 +-----
drivers/thermal/rcar_thermal.c | 24 +-
drivers/thermal/sun8i_thermal.c | 33 +-
drivers/thermal/thermal_core.c | 143 ++------
drivers/thermal/thermal_core.h | 6 -
drivers/thermal/thermal_hwmon.c | 3 +-
drivers/thermal/thermal_sysfs.c | 6 +-
include/linux/devfreq_cooling.h | 27 +-
include/linux/thermal.h | 3 +
include/trace/events/thermal.h | 19 +-
31 files changed, 1278 insertions(+), 799 deletions(-)
create mode 100644
drivers/thermal/intel/int340x_thermal/processor_thermal_device.h
create mode 100644
drivers/thermal/intel/int340x_thermal/processor_thermal_mbox.c
create mode 100644
drivers/thermal/intel/int340x_thermal/processor_thermal_rapl.c
create mode 100644
drivers/thermal/intel/int340x_thermal/processor_thermal_rfim.c
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog