Re: [PATCH 7/8] cpufreq: Add support for x86 cpuinfo auto loadingv3

From: Andi Kleen
Date: Wed Dec 21 2011 - 19:01:44 EST


> A synthetic one is pointless, because you'd just be duplicating something
> similar to the above in generic code that would need updating for every new stepping.

powernow-k8 uses two mechanisms: family/models and on newer CPUs like
Fam15 a CPUID bit. Just not in the standard leaves. This would
not need to be updated.

} else { /* must be a HW Pstate capable processor */
cpuid(CPUID_FREQ_VOLT_CAPABILITIES, &eax, &ebx, &ecx, &edx);
if ((edx & USE_HW_PSTATE) == USE_HW_PSTATE)
cpu_family = CPU_HW_PSTATE;
else
return;
}

-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/