Re: [PATCH -tip] x86: cpu/proc.c adding extended_cpuid_level for /proc/cpuinfo
From: Andi Kleen
Date: Wed May 13 2009 - 04:04:09 EST
Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> writes:
> On Tue, 12 May 2009 12:44:42 +0530 Jaswinder Singh Rajput <jaswinder@xxxxxxxxxx> wrote:
>
>> + "ext cpuid level\t: 0x%x\n"
>
> It's unobvious what "ext" means. External?
>
> Can we make it "extended cpuid level"?
>
> One would hope that google(extended cpuid level) tells you what an
> extended cpuid level is, but alas, unclear.
AMD has an own cpuid range in 0x8000_0000+. But it's only useful
if you actually access it using cpuid. Everyone who needs it
already needs to call cpuid and if they do that they
can as well retrieve it by themselves.
Without accessing CPUID it has no value at whatsoever. It would
also seem pretty dumb to spend a few thousand cycles getting
it from the kernel when you can as well get it directly
from CPUID and you need to have that code anyways.
The useful information in 8000_0000+ is all reported by the kernel
anyways.
-Andi
--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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/