Re: [PATCH] cpuid x87 bit on AMD falsely marked as PNI

From: Denis Vlasenko
Date: Wed Apr 27 2005 - 02:15:45 EST


On Wednesday 27 April 2005 04:20, Zwane Mwaikambo wrote:
> http://bugme.osdl.org/show_bug.cgi?id=4426
>
> vendor_id : AuthenticAMD
> cpu family : 6
> model : 10
> model name : AMD Athlon(tm) XP
> stepping : 0
> cpu MHz : 2204.807
> <snipped>
> cpuid level : 1
> wp : yes
> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
> pat pse36 mmx fxsr sse pni syscall mmxext 3dnowext 3dnow
> bogomips : 4358.14
>
> We're marking bit 0 of extended function 0x80000001 cpuid as PNI support
> on AMD processors, when it actually denotes x87 FPU present. Patch for
> i386 and x86_64 below.

I just yesterday noticed that my Athlon (non-64bit) has 'pni' in CPU
flags and was very puzzled.

Thanks Zwane.
--
vda

-
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/