linux_old1/drivers/thermal/samsung
Viresh Kumar f3764e6c18 thermal: exynos: pass cpu_present_mask to cpufreq_cooling_register()
cpufreq_cooling_register() expects mask of all the CPUs where frequency
constraint is applicable.

This platform has more than one CPU to which these constraints will apply and so
passing mask of only CPU0 wouldn't be sufficient. Also, this platform has a
single cluster of CPUs and the constraint applies to all CPUs.

If CPU0 is hoplugged out then we may face strange BUGs as cpu_cooling framework
isn't aware of any siblings sharing clock line.

Fix it by passing cpu_present_mask to cpufreq_cooling_register().

Cc: Chanwoo Choi <cw00.choi@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Amit Daniel Kachhap <amit.daniel@samsung.com>
Cc: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
2014-12-08 12:08:54 -04:00
..
Kconfig thermal: exynos: Clean up non-DT remnants 2013-08-29 09:37:31 -04:00
Makefile thermal: exynos: Bifurcate exynos tmu driver and configuration data 2013-08-13 09:52:00 -04:00
exynos_thermal_common.c thermal: exynos: pass cpu_present_mask to cpufreq_cooling_register() 2014-12-08 12:08:54 -04:00
exynos_thermal_common.h thermal: exynos: Add support for many TRIMINFO_CTRL registers 2014-11-02 23:02:48 -04:00
exynos_tmu.c thermal: cpu_cooling: check for the readiness of cpufreq layer 2014-12-08 12:08:53 -04:00
exynos_tmu.h thermal: exynos: fix IRQ clearing on TMU initialization 2014-11-02 23:02:49 -04:00
exynos_tmu_data.c thermal: exynos: use correct offset for TMU_CONTROL register on Exynos5260 2014-11-07 14:52:42 -04:00
exynos_tmu_data.h thermal: exynos: use correct offset for TMU_CONTROL register on Exynos5260 2014-11-07 14:52:42 -04:00