thermal/cpufreq: Remove arch_update_thermal_pressure()
authorVincent Guittot <vincent.guittot@linaro.org>
Tue, 26 Mar 2024 09:16:14 +0000 (10:16 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 24 Apr 2024 10:08:00 +0000 (12:08 +0200)
commitc281afe24fc51691e65f59ea66eefa14cbdfa0e7
treea8c7002f475ab8d1b3fcabff94a774efbb26e9eb
parentf1f8d0a224227e4f19a8a8881dc6355bdfc51230
thermal/cpufreq: Remove arch_update_thermal_pressure()

arch_update_thermal_pressure() aims to update fast changing signal which
should be averaged using PELT filtering before being provided to the
scheduler which can't make smart use of fast changing signal.
cpufreq now provides the maximum freq_qos pressure on the capacity to the
scheduler, which includes cpufreq cooling device. Remove the call to
arch_update_thermal_pressure() in cpufreq cooling device as this is
handled by cpufreq_get_pressure().

Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Tested-by: Lukasz Luba <lukasz.luba@arm.com>
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Reviewed-by: Dhruva Gole <d-gole@ti.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Link: https://lore.kernel.org/r/20240326091616.3696851-4-vincent.guittot@linaro.org
drivers/thermal/cpufreq_cooling.c