Re: PrePATCH 02: AMD K6/K6-2 CPU recognition

Meelis Roos (mroos@tartu.cyber.ee)
Thu, 16 Jul 1998 13:01:03 +0300 (EEST)


> The first set is from cpuid 0 and 1, the second set is produced
> from the extended cpuid functions 0x80000001, 0x8000002, 0x80000003,
> 0x80000004. There's even one for seeing how much L1 cache there is
> (0x80000005) which I will implement next time around.

/proc/cpuinfo is already a mess - it's different for different types of
processors for now already (P5-MMX: cpu: 586, model: 4, cpuid: yes etc;
for Pentium II: cpu family: 6, model: Pentium II (Klamath), cpuid level:
2). Perhaps all this should be unified, otherwise the new properties will
make it even worse.

A proposal:

processor : 0 (as is)
cpu family : 3,4,5,6,?
model : 386,486,Pentium,Pentium II,K6,K6-2, Cx... etc
vendor_id : ... (as is)
stepping : ... (as is)
... (as is)
cpuid_level : 0 (none), 1, 2 etc
...
flags : mmx 3dnow ...

Do we need ta add a different line for cpu name if cpuid gives us it?
It confused me alot at first.

What exactly do the new cpuid variants give? cpu name, l2 cache size, ...?

> BTW, any suggestions for SYSCALL+SYSRET and 3DNow!?
> syscr and 3dnow?

for 3dnow, yes. For syscr, doesn't amd have some short name for it already
in the specs? If no, then syscr should be good enough.

---
Meelis Roos (mroos@tartu.cyber.ee)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html