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>
Showing
- arch/x86/kernel/cpu/cpufreq/Makefile 2 additions, 2 deletionsarch/x86/kernel/cpu/cpufreq/Makefile
- arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c 2 additions, 42 deletionsarch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
- arch/x86/kernel/cpu/cpufreq/mperf.c 51 additions, 0 deletionsarch/x86/kernel/cpu/cpufreq/mperf.c
- arch/x86/kernel/cpu/cpufreq/mperf.h 9 additions, 0 deletionsarch/x86/kernel/cpu/cpufreq/mperf.h
- arch/x86/kernel/cpu/cpufreq/powernow-k8.c 8 additions, 0 deletionsarch/x86/kernel/cpu/cpufreq/powernow-k8.c
Loading
Please register or sign in to comment