Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux
Pull thermal management updates from Zhang Rui: - Improve thermal cpu_cooling interaction with cpufreq core. The cpu_cooling driver is designed to use CPU frequency scaling to avoid high thermal states for a platform. But it wasn't glued really well with cpufreq core. For example clipped-cpus is copied from the policy structure and its much better to use the policy->cpus (or related_cpus) fields directly as they may have got updated. Not that things were broken before this series, but they can be optimized a bit more. This series tries to improve interactions between cpufreq core and cpu_cooling driver and does some fixes/cleanups to the cpu_cooling driver. (Viresh Kumar) - A couple of fixes and cleanups in thermal core and imx, hisilicon, bcm_2835, int340x thermal drivers. (Arvind Yadav, Dan Carpenter, Sumeet Pawnikar, Srinivas Pandruvada, Willy WOLFF) * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux: (24 commits) thermal: bcm2835: fix an error code in probe() thermal: hisilicon: Handle return value of clk_prepare_enable thermal: imx: Handle return value of clk_prepare_enable thermal: int340x: check for sensor when PTYP is missing Thermal/int340x: Fix few typos and kernel-doc style thermal: fix source code documentation for parameters thermal: cpu_cooling: Replace kmalloc with kmalloc_array thermal: cpu_cooling: Rearrange struct cpufreq_cooling_device thermal: cpu_cooling: 'freq' can't be zero in cpufreq_state2power() thermal: cpu_cooling: don't store cpu_dev in cpufreq_cdev thermal: cpu_cooling: get_level() can't fail thermal: cpu_cooling: create structure for idle time stats thermal: cpu_cooling: merge frequency and power tables thermal: cpu_cooling: get rid of 'allowed_cpus' thermal: cpu_cooling: OPPs are registered for all CPUs thermal: cpu_cooling: store cpufreq policy cpufreq: create cpufreq_table_count_valid_entries() thermal: cpu_cooling: use cpufreq_policy to register cooling device thermal: cpu_cooling: get rid of a variable in cpufreq_set_cur_state() thermal: cpu_cooling: remove cpufreq_cooling_get_level() ...
No related branches found
No related tags found
Showing
- drivers/cpufreq/arm_big_little.c 1 addition, 1 deletiondrivers/cpufreq/arm_big_little.c
- drivers/cpufreq/cpufreq-dt.c 1 addition, 1 deletiondrivers/cpufreq/cpufreq-dt.c
- drivers/cpufreq/cpufreq_stats.c 4 additions, 9 deletionsdrivers/cpufreq/cpufreq_stats.c
- drivers/cpufreq/dbx500-cpufreq.c 1 addition, 1 deletiondrivers/cpufreq/dbx500-cpufreq.c
- drivers/cpufreq/mt8173-cpufreq.c 1 addition, 3 deletionsdrivers/cpufreq/mt8173-cpufreq.c
- drivers/cpufreq/qoriq-cpufreq.c 1 addition, 2 deletionsdrivers/cpufreq/qoriq-cpufreq.c
- drivers/thermal/broadcom/bcm2835_thermal.c 0 additions, 1 deletiondrivers/thermal/broadcom/bcm2835_thermal.c
- drivers/thermal/cpu_cooling.c 248 additions, 361 deletionsdrivers/thermal/cpu_cooling.c
- drivers/thermal/fair_share.c 1 addition, 0 deletionsdrivers/thermal/fair_share.c
- drivers/thermal/hisi_thermal.c 4 additions, 1 deletiondrivers/thermal/hisi_thermal.c
- drivers/thermal/imx_thermal.c 21 additions, 6 deletionsdrivers/thermal/imx_thermal.c
- drivers/thermal/int340x_thermal/acpi_thermal_rel.c 3 additions, 3 deletionsdrivers/thermal/int340x_thermal/acpi_thermal_rel.c
- drivers/thermal/int340x_thermal/int3403_thermal.c 10 additions, 2 deletionsdrivers/thermal/int340x_thermal/int3403_thermal.c
- drivers/thermal/step_wise.c 1 addition, 2 deletionsdrivers/thermal/step_wise.c
- drivers/thermal/ti-soc-thermal/ti-thermal-common.c 15 additions, 7 deletionsdrivers/thermal/ti-soc-thermal/ti-thermal-common.c
- drivers/thermal/user_space.c 2 additions, 1 deletiondrivers/thermal/user_space.c
- include/linux/cpu_cooling.h 14 additions, 18 deletionsinclude/linux/cpu_cooling.h
- include/linux/cpufreq.h 14 additions, 0 deletionsinclude/linux/cpufreq.h
This diff is collapsed.
Please register or sign in to comment