Viresh Kumar
bb29ae152e
cpufreq: Keep a single path for adding managed CPUs
...
There are two cases when we may try to add CPUs we're already handling:
- On boot, the first cpu has marked all policy->cpus managed and so we
will find policy for all other policy->cpus later on.
- When a managed cpu is hotplugged out and later brought back in.
Currently, separate paths and checks take care of the two. While the
first one is detected by testing cpu against 'policy->cpus', the other
one is detected by testing cpu against 'policy->related_cpus'.
We can handle them both via a single path and there is no need to do
special checking for the first one.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Saravana Kannan <skannan@codeaurora.org>
[ rjw: Changelog, comments ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2015-05-07 23:36:41 +02:00
..
acpi-cpufreq.c
amd_freq_sensitivity.c
arm_big_little.c
cpufreq: arm_big_little: remove unused cpu-cluster.<n> clock name
2015-05-05 00:55:16 +02:00
arm_big_little.h
cpufreq: arm_big_little: free OPP table created during ->init()
2014-12-02 00:01:24 +01:00
arm_big_little_dt.c
Driver core patches for 3.19-rc1
2014-12-14 16:10:09 -08:00
at32ap-cpufreq.c
blackfin-cpufreq.c
cpufreq-dt.c
cpufreq-dt: Drop unnecessary check before cpufreq_cooling_unregister() invocation
2015-02-03 23:28:37 +01:00
cpufreq-nforce2.c
cpufreq.c
cpufreq: Keep a single path for adding managed CPUs
2015-05-07 23:36:41 +02:00
cpufreq_conservative.c
cpufreq_governor.c
cpufreq_governor.h
cpufreq_ondemand.c
cpufreq_opp.c
cpufreq / OPP: Fix the order of arguments for kcalloc()
2014-09-08 00:02:58 +02:00
cpufreq_performance.c
cpufreq_powersave.c
cpufreq_stats.c
cpufreq: stats: drop unnecessary locking
2015-01-23 23:06:45 +01:00
cpufreq_userspace.c
cris-artpec3-cpufreq.c
cris-etraxfs-cpufreq.c
davinci-cpufreq.c
cpufreq: drop owner assignment from platform_drivers
2014-10-20 16:20:24 +02:00
dbx500-cpufreq.c
cpufreq: drop owner assignment from platform_drivers
2014-10-20 16:20:24 +02:00
e_powersaver.c
elanfreq.c
exynos-cpufreq.c
cpufreq: exynos: Use simple approach to asses if cpu cooling can be used
2015-03-02 10:04:52 +01:00
exynos-cpufreq.h
exynos4x12-cpufreq.c
cpufreq: cpu0: rename driver and internals to 'cpufreq_dt'
2014-10-03 15:37:54 +02:00
exynos4210-cpufreq.c
cpufreq: cpu0: rename driver and internals to 'cpufreq_dt'
2014-10-03 15:37:54 +02:00
exynos5250-cpufreq.c
cpufreq: cpu0: rename driver and internals to 'cpufreq_dt'
2014-10-03 15:37:54 +02:00
exynos5440-cpufreq.c
Driver core patches for 3.19-rc1
2014-12-14 16:10:09 -08:00
freq_table.c
gx-suspmod.c
highbank-cpufreq.c
Merge branch 'mailbox-for-linus' of git://git.linaro.org/landing-teams/working/fujitsu/integration
2014-10-21 11:21:19 -07:00
hisi-acpu-cpufreq.c
cpufreq: hisilicon: add acpu driver
2015-04-02 02:24:54 +02:00
ia64-acpi-cpufreq.c
imx6q-cpufreq.c
Driver core patches for 3.19-rc1
2014-12-14 16:10:09 -08:00
integrator-cpufreq.c
cpufreq: drop owner assignment from platform_drivers
2014-10-20 16:20:24 +02:00
intel_pstate.c
intel_pstate: Add tsc collection and keep previous target pstate
2015-05-05 01:08:54 +02:00
Kconfig
cpufreq: qoriq: rename the driver
2015-03-18 22:35:16 +01:00
Kconfig.arm
cpufreq: hisilicon: add acpu driver
2015-04-02 02:24:54 +02:00
Kconfig.powerpc
cpufreq: qoriq: rename the driver
2015-03-18 22:35:16 +01:00
Kconfig.x86
cpufreq: Add SFI based cpufreq driver support
2014-12-20 13:37:37 -05:00
kirkwood-cpufreq.c
cpufreq: drop owner assignment from platform_drivers
2014-10-20 16:20:24 +02:00
longhaul.c
Update/Remove soon-to-be-dead email address
2014-12-19 12:56:15 -08:00
longhaul.h
longrun.c
loongson2_cpufreq.c
cpufreq: drop owner assignment from platform_drivers
2014-10-20 16:20:24 +02:00
ls1x-cpufreq.c
cpufreq: drop owner assignment from platform_drivers
2015-01-23 22:19:15 +01:00
Makefile
cpufreq: hisilicon: add acpu driver
2015-04-02 02:24:54 +02:00
maple-cpufreq.c
omap-cpufreq.c
cpufreq: drop owner assignment from platform_drivers
2014-10-20 16:20:24 +02:00
p4-clockmod.c
pasemi-cpufreq.c
pcc-cpufreq.c
cpufreq: pcc: Enable autoload of pcc-cpufreq for ACPI processors
2014-11-14 00:16:25 +01:00
pmac32-cpufreq.c
powerpc: Remove powerpc specific cmd_line
2014-10-02 17:33:55 +10:00
pmac64-cpufreq.c
powernow-k6.c
Update/Remove soon-to-be-dead email address
2014-12-19 12:56:15 -08:00
powernow-k7.c
Update/Remove soon-to-be-dead email address
2014-12-19 12:56:15 -08:00
powernow-k7.h
powernow-k8.c
powernow-k8.h
powernv-cpufreq.c
cpufreq: powernv: Report cpu frequency throttling
2015-04-01 23:02:24 +02:00
ppc_cbe_cpufreq.c
ppc_cbe_cpufreq.h
ppc_cbe_cpufreq_pervasive.c
ppc_cbe_cpufreq_pmi.c
pxa2xx-cpufreq.c
cpufreq: pxa: make pxa_freqs arrays const
2015-05-05 00:49:38 +02:00
pxa3xx-cpufreq.c
qoriq-cpufreq.c
cpufreq: fix qoriq uniprocessor build
2015-04-11 02:07:28 +02:00
s3c24xx-cpufreq-debugfs.c
s3c24xx-cpufreq.c
cpufreq: s3c: remove last use of resume_clocks callback
2015-02-19 06:36:53 +01:00
s3c64xx-cpufreq.c
s3c2410-cpufreq.c
s3c2412-cpufreq.c
s3c2416-cpufreq.c
cpufreq: s3c: remove incorrect __init annotations
2015-02-19 06:36:53 +01:00
s3c2440-cpufreq.c
s5pv210-cpufreq.c
cpufreq: drop owner assignment from platform_drivers
2014-10-20 16:20:24 +02:00
sa1100-cpufreq.c
sa1110-cpufreq.c
sc520_freq.c
sfi-cpufreq.c
cpufreq: Add SFI based cpufreq driver support
2014-12-20 13:37:37 -05:00
sh-cpufreq.c
sparc-us2e-cpufreq.c
sparc-us3-cpufreq.c
spear-cpufreq.c
cpufreq: drop owner assignment from platform_drivers
2014-10-20 16:20:24 +02:00
speedstep-centrino.c
speedstep-ich.c
Update/Remove soon-to-be-dead email address
2014-12-19 12:56:15 -08:00
speedstep-lib.c
cpufreq: speedstep-smi: enable interrupts when waiting
2015-02-12 02:02:52 +01:00
speedstep-lib.h
speedstep-smi.c
cpufreq: speedstep-smi: enable interrupts when waiting
2015-02-12 02:02:52 +01:00
tegra-cpufreq.c
unicore2-cpufreq.c
vexpress-spc-cpufreq.c
cpufreq: drop owner assignment from platform_drivers
2014-10-20 16:20:24 +02:00