Re: [PATCH 3/5] cpufreq: Add APERF/MPERF support for AMD processors

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Thomas Renninger
Date: Thursday, March 25, 2010 - 2:43 am

On Wednesday 24 March 2010 18:46:21 Borislav Petkov wrote:
Can you put this into:
arch/x86/kernel/cpu/common.c (or wherever it fits in general x86 cpu init code)
and remove this (arch/x86/kernel/cpu/intel.c):
        if (c->cpuid_level > 6) {
                unsigned ecx = cpuid_ecx(6);
                if (ecx & 0x01)
                        set_cpu_cap(c, X86_FEATURE_APERFMPERF);
        }

an x86 maintainer might want to double check, but I expect this should work
for all x86 machines?

    Thomas
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 2/5] powernow-k8: Add core performance boost support, Borislav Petkov, (Wed Mar 24, 10:46 am)
[PATCH 4/5] powernow-k8: Fix frequency reporting, Borislav Petkov, (Wed Mar 24, 10:46 am)
[PATCH 5/5] cpufreq: Unify sysfs attribute definition macros, Borislav Petkov, (Wed Mar 24, 10:46 am)
Re: [PATCH 3/5] cpufreq: Add APERF/MPERF support for AMD p ..., Thomas Renninger, (Thu Mar 25, 2:43 am)
Re: [PATCH 3/5] cpufreq: Add APERF/MPERF support for AMD p ..., Valdis.Kletnieks, (Thu Mar 25, 12:55 pm)