android_kernel_xiaomi_sm8350/drivers/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
..
cpufreq_conservative.c cpufreq: Initialise default governor before use 2008-01-17 15:38:58 -08:00
cpufreq_ondemand.c cpufreq: Initialise default governor before use 2008-01-17 15:38:58 -08:00
cpufreq_performance.c
cpufreq_powersave.c
cpufreq_stats.c [CPUFREQ] fix show_trans_table 2008-04-28 15:05:44 -04:00
cpufreq_userspace.c [CPUFREQ] Eliminate cpufreq_userspace scaling_setspeed deadlock 2008-02-06 22:57:58 -05:00
cpufreq.c [CPUFREQ] expose cpufreq coordination requirements regardless of coordination mechanism 2008-04-28 16:27:08 -04:00
freq_table.c [CPUFREQ] fix incorrect comment on show_available_freqs() in freq_table.c 2008-02-06 22:57:58 -05:00
Kconfig [CPUFREQ] fix configuration help message 2008-02-06 22:57:58 -05:00
Makefile