Re: [PATCH 07/10] cpufreq: Add support for x86 cpuinfo auto loading
From: Andi Kleen
Date: Thu Dec 15 2011 - 21:12:55 EST
On Thu, Dec 15, 2011 at 05:19:46PM -0800, H. Peter Anvin wrote:
> On 12/08/2011 06:37 AM, Andi Kleen wrote:
> >> Well, there is CPUID_8000_0007_EDX[7] which denotes the presence
> >> of the P-state registers. It probably could be added to
> >> init_scattered_cpuid_features() but there's still special handling
> >> needed for K8.
> >
> > Dave is probably right that it's not worth moving the list.
> >
> >> Can you do both a family and a feature bit test with the autoprobing
> >> code?
> >
>
> Another similar question: is it possible to key a load on more than one
> CPU feature? It's fairly common that you need more than one feature for
> a specific piece of code to function, and it would be good to be able to
> represent it.
Right now it's not possible. The driver just errors out if it can't
find some additional capability.
I considered it originally, but all the cases I looked at were quite
obscure (unlikely to happen) so I opted for this simpler setup.
-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/