mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-17 16:36:52 +07:00
4d753aa7b6
The CPU cooling driver uses the cpufreq policy, to get clip_cpus, the frequency table, etc. Most of the callers of CPU cooling driver's registration routines have the cpufreq policy with them, but they only pass the policy->related_cpus cpumask. The __cpufreq_cooling_register() routine then gets the policy by itself and uses it. It would be much better if the callers can pass the policy instead directly. This also fixes a basic design flaw, where the policy can be freed while the CPU cooling driver is still active. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Lukasz Luba <lukasz.luba@arm.com> Tested-by: Lukasz Luba <lukasz.luba@arm.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com> |
||
---|---|---|
.. | ||
dra752-bandgap.h | ||
dra752-thermal-data.c | ||
Kconfig | ||
Makefile | ||
omap3-thermal-data.c | ||
omap4-thermal-data.c | ||
omap4xxx-bandgap.h | ||
omap5-thermal-data.c | ||
omap5xxx-bandgap.h | ||
ti-bandgap.c | ||
ti-bandgap.h | ||
ti-thermal-common.c | ||
ti-thermal.h | ||
TODO |