OpenCloudOS-Kernel/arch/x86/kernel/cpu/cpufreq
Darrick J. Wong e8628dd06d [CPUFREQ] expose cpufreq coordination requirements regardless of coordination mechanism
Currently, affected_cpus shows which CPUs need to have their frequency
coordinated in software.  When hardware coordination is in use, the contents
of this file appear the same as when no coordination is required.  This can
lead to some confusion among user-space programs, for example, that do not
know that extra coordination is required to force a CPU core to a particular
speed to control power consumption.

To fix this, create a "related_cpus" attribute that always displays the
coordination map regardless of whatever coordination strategy the cpufreq
driver uses (sw or hw).  If the cpufreq driver does not provide a value, fall
back to policy->cpus.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dave Jones <davej@redhat.com>
2008-04-28 16:27:08 -04:00
..
Kconfig [CPUFREQ] Remove pointless Kconfig dependancy 2008-02-06 22:57:57 -05:00
Makefile i386: move kernel/cpu/cpufreq 2007-10-11 11:16:27 +02:00
acpi-cpufreq.c [CPUFREQ] expose cpufreq coordination requirements regardless of coordination mechanism 2008-04-28 16:27:08 -04:00
cpufreq-nforce2.c spelling fixes: arch/i386/ 2007-10-20 01:13:56 +02:00
e_powersaver.c [CPUFREQ] Remove debugging message from e_powersaver 2008-03-05 14:45:31 -05:00
elanfreq.c x86: convert cpuinfo_x86 array to a per_cpu array 2007-10-19 20:35:04 +02:00
gx-suspmod.c [CPUFREQ] gx-suspmod.c: use boot_cpu_data instead of current_cpu_data 2008-02-06 22:57:58 -05:00
longhaul.c x86: remove unneded casts 2008-01-30 13:33:23 +01:00
longhaul.h i386: move kernel/cpu/cpufreq 2007-10-11 11:16:27 +02:00
longrun.c x86: convert cpuinfo_x86 array to a per_cpu array 2007-10-19 20:35:04 +02:00
p4-clockmod.c x86: clean up cpu capabilities accesses, p4-clockmod.c 2008-04-19 19:19:54 +02:00
powernow-k6.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial 2007-10-19 20:36:17 -07:00
powernow-k7.c [CPUFREQ] arch/x86: Add missing "space" 2008-02-06 22:57:57 -05:00
powernow-k7.h i386: move kernel/cpu/cpufreq 2007-10-11 11:16:27 +02:00
powernow-k8.c x86: use new set_cpus_allowed_ptr function 2008-04-19 19:44:58 +02:00
powernow-k8.h [CPUFREQ] Powernow-k8: Update to support the latest Turion processors 2008-02-06 22:57:58 -05:00
sc520_freq.c x86: convert cpuinfo_x86 array to a per_cpu array 2007-10-19 20:35:04 +02:00
speedstep-centrino.c x86: use new set_cpus_allowed_ptr function 2008-04-19 19:44:58 +02:00
speedstep-ich.c x86: use new set_cpus_allowed_ptr function 2008-04-19 19:44:58 +02:00
speedstep-lib.c Revert "speedstep-lib.c: fix frequency multiplier for Pentium4 models 0&1" 2007-11-20 14:20:21 -05:00
speedstep-lib.h i386: move kernel/cpu/cpufreq 2007-10-11 11:16:27 +02:00
speedstep-smi.c x86, cpufreq: fix Speedfreq-SMI call that clobbers ECX 2008-03-26 22:23:40 +01:00