linux/drivers/cpufreq
Viresh Kumar aa77a52764 cpufreq: acpi-cpufreq: Don't set policy->related_cpus from .init()
With the addition of following patch:

fcf8058 cpufreq: Simplify cpufreq_add_dev()

cpufreq driver's .init() routine must initialize policy->cpus with
mask of all possible CPUs (Online + Offline) that share the clock.
Then the core would copy this mask onto policy->related_cpus and will
reset policy->cpus to carry only online cpus.

acpi-cpufreq driver wasn't updated with this assumption and so
sometimes when we try to hot[un]plug CPUs at run time, sysfs
directories get corrupted.

This patch fixes acpi-cpufreq driver against this corruption.

Reported-and-tested-by: Maciej Rutecki <maciej.rutecki@gmail.com>
Tested-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2013-03-25 15:13:32 +01:00
..
acpi-cpufreq.c cpufreq: acpi-cpufreq: Don't set policy->related_cpus from .init() 2013-03-25 15:13:32 +01:00
cpufreq-cpu0.c
cpufreq-nforce2.c
cpufreq.c
cpufreq_conservative.c
cpufreq_governor.c
cpufreq_governor.h cpufreq: Fix a typo in comment 2013-03-04 14:23:11 +01:00
cpufreq_ondemand.c
cpufreq_performance.c
cpufreq_powersave.c
cpufreq_stats.c cpufreq: stats: do cpufreq_cpu_put() corresponding to cpufreq_cpu_get() 2013-03-25 15:13:16 +01:00
cpufreq_userspace.c
dbx500-cpufreq.c
e_powersaver.c
elanfreq.c
exynos-cpufreq.c
exynos-cpufreq.h
exynos4x12-cpufreq.c
exynos4210-cpufreq.c
exynos5250-cpufreq.c
freq_table.c
gx-suspmod.c
highbank-cpufreq.c cpufreq: highbank: do not initialize array with a loop 2013-03-04 14:23:11 +01:00
imx6q-cpufreq.c imx6q-cpufreq: fix return value check in imx6q_cpufreq_probe() 2013-02-23 00:30:25 +01:00
intel_pstate.c intel-pstate: Use #defines instead of hard-coded values. 2013-03-25 15:13:07 +01:00
Kconfig
Kconfig.arm
Kconfig.powerpc
Kconfig.x86
kirkwood-cpufreq.c
longhaul.c
longhaul.h
longrun.c
Makefile
maple-cpufreq.c
mperf.c
mperf.h
omap-cpufreq.c
p4-clockmod.c
pcc-cpufreq.c
powernow-k6.c
powernow-k7.c
powernow-k7.h
powernow-k8.c
powernow-k8.h
s3c64xx-cpufreq.c
s3c2416-cpufreq.c
s5pv210-cpufreq.c
sc520_freq.c
spear-cpufreq.c
speedstep-centrino.c
speedstep-ich.c
speedstep-lib.c
speedstep-lib.h
speedstep-smi.c