android_kernel_xiaomi_sm8350/arch/i386/kernel/cpu/cpufreq
Venkatesh Pallipadi 519ce3ec76 [CPUFREQ][1/8] acpi-cpufreq: software coordination and handle all CPUs in the group
This patchset has refresh/rebase of a bunch of patches/bugfixes related to
acpi-cpufreq that were sent earlier on this list.

patch 1/8
 Patch that fixes a bug in swcoordination code in acpi-cpufreq

patch 2/8 through patch 7/8
 Grand unification of ACPI based speedstep-centrino and acpi-cpufreq drivers.

 ACPI allows P-state transitions in multiple ways. Like using IO ports or using
 processor native method (MSR). Without this patch, IO port based P-state
 transitions are handled in acpi-cpufreq driver and MSR based transitions on
 Intel CPUs are handled in speedstep-centrino driver. Even though most of the
 code in these two drivers should be similar, except for final changing/checking
 of frequency (one driver does it using IO port and other does it through
 MSR), we have duplicated code in these two drivers. There are also issues
 around BIOSes supporting both MSR and IO port and which driver should be
 loaded first in standard installations.

 The patchset combines functionality of these two driver into acpi-cpufreq
 driver. ACPI based functionality in speedstep-centrino is marked deprecated
 and will be removed in future. speedstep-centrino will continue to work
 on systems that depend on older non-ACPI table based P-state chanes.

 * 2/8 - Patch that reorganizes the code in acpi-cpufreq, cleaning it up
 a little and making it easier to add MSR support later.
 * 3/8 - Pull in the MSR based transition support into acpi-cpufreq.
 * 4/8 - Mark speedstep-centrino deprecated. Change the order in Makefile to
 load acpi-cpufreq first and speedstep-centrino later, in cases where both
 are configured in.
 * 5/8 - lindent acpi-cpufreq.c
 * 6/8 - Minor change to eliminate the check of current frequency on
 notifications. We can use last set frequency instead.
 * 7/8 - Make cpufreq->get of acpi_cpufreq work correctly again.

 There will be a patch in future that removes ACPI based support in
 speedstep-centrino in coming months.

patch 8/8
Add support for IA32_APERF and IA32_MPERF MSR and get the actual frequency
from these MSRs and use it to determine the next frequency target in ondemand
governor

This patch:
There is a bug in software coordination patch in acpi-cpufreq, due to which
frequency will only be set on first CPU of any coordinated group.
Bug identified by Denis, was not recognised earlier as there are no platforms
yet that use software coordination with acpi-cpufreq driver.

Signed-off-by: Denis Sadykov <denis.m.sadykov@intel.com>
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Dave Jones <davej@redhat.com>
2006-10-15 19:57:10 -04:00
..
acpi-cpufreq.c [CPUFREQ][1/8] acpi-cpufreq: software coordination and handle all CPUs in the group 2006-10-15 19:57:10 -04:00
cpufreq-nforce2.c
elanfreq.c
gx-suspmod.c
Kconfig [CPUFREQ] X86_GX_SUSPMOD must depend on PCI 2006-07-31 18:37:05 -04:00
longhaul.c [CPUFREQ] longhaul: remove duplicated code. 2006-09-27 17:03:36 -04:00
longhaul.h [CPUFREQ] Longhaul - Add voltage scaling to driver 2006-09-05 17:28:42 -04:00
longrun.c
Makefile
p4-clockmod.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
powernow-k6.c
powernow-k7.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
powernow-k7.h
powernow-k8.c [CPUFREQ] Fix powernow-k8 SMP kernel on UP hardware bug. 2006-06-21 17:34:25 -04:00
powernow-k8.h [CPUFREQ] correct powernow-k8 fid/vid masks for extended parts 2006-06-20 01:46:04 -04:00
sc520_freq.c
speedstep-centrino.c [CPUFREQ] Fix section mismatch warning 2006-09-26 23:02:45 -04:00
speedstep-ich.c
speedstep-lib.c
speedstep-lib.h
speedstep-smi.c