]> git.karo-electronics.de Git - linux-beck.git/commit
x86, cpufreq: Add APERF/MPERF support for AMD processors
authorMark Langsdorf <mark.langsdorf@amd.com>
Thu, 18 Mar 2010 17:41:46 +0000 (18:41 +0100)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 9 Apr 2010 21:07:40 +0000 (14:07 -0700)
commita2fed573f065e526bfd5cbf26e5491973d9e9aaa
tree069ea4932051dd4535de4bf896e09deff836e0b9
parentd65ad45cd82a0db9544469b8c54f5dc5cafbb2d8
x86, cpufreq: Add APERF/MPERF support for AMD processors

Starting with model 10 of Family 0x10, AMD processors may have
support for APERF/MPERF.  Add support for identifying it and using
it within cpufreq.  Move the APERF/MPERF functions out of the
acpi-cpufreq code and into their own file so they can easily be
shared.

Signed-off-by: Mark Langsdorf <mark.langsdorf@amd.com>
LKML-Reference: <20100401141956.GA1930@aftab>
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Reviewed-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/cpu/cpufreq/Makefile
arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
arch/x86/kernel/cpu/cpufreq/mperf.c [new file with mode: 0644]
arch/x86/kernel/cpu/cpufreq/mperf.h [new file with mode: 0644]
arch/x86/kernel/cpu/cpufreq/powernow-k8.c