Re: [PATCH] x86 boot time check for cpu features

2000-11-03 Thread davej
On Fri, 3 Nov 2000, Brian Gerst wrote: > > That bug fix is for the earlier Cyrix 6x86 if I'm not mistaken. > > The MII is a different monster. > According to the docs on VIA's site, the MII's cpuid can still be turned > off, but it is on by default at reset. I wouldn't trust the BIOS to not > sc

Re: [PATCH] x86 boot time check for cpu features

2000-11-03 Thread Brian Gerst
[EMAIL PROTECTED] wrote: > > Brian Gerst wrote... > >> I believe the MII always has CPUID enabled. It was the older Cyrixes > >> that did not. DaveJ is the guru.. > > Well, according to comments in bugs.h, some broken BIOSes disable cpuid. > > That bug fix is for the earlier Cyrix 6x86 if I'm no

Re: [PATCH] x86 boot time check for cpu features

2000-11-03 Thread davej
Brian Gerst wrote... >> I believe the MII always has CPUID enabled. It was the older Cyrixes >> that did not. DaveJ is the guru.. > Well, according to comments in bugs.h, some broken BIOSes disable cpuid. That bug fix is for the earlier Cyrix 6x86 if I'm not mistaken. The MII is a different monst

Re: [PATCH] x86 boot time check for cpu features

2000-11-03 Thread davej
Alan Cox wrote.. > > Hmm, after a bit more investigation, it appears that the Cyrix MII > > processors support cmov instructions, even though we currently don't > > compile for that processor with -march=i686. Please ignore this patch > > until I can come up with something better. > I believe t

Re: [PATCH] x86 boot time check for cpu features

2000-11-03 Thread Brian Gerst
Alan Cox wrote: > > > Alan Cox wrote: > > > Q: are any of the things you test present in processors only after we > > > do magic 'cpuid' enable invocations ? > > > > Hmm, after a bit more investigation, it appears that the Cyrix MII > > processors support cmov instructions, even thou

Re: [PATCH] x86 boot time check for cpu features

2000-11-03 Thread Alan Cox
> Alan Cox wrote: > > Q: are any of the things you test present in processors only after we > > do magic 'cpuid' enable invocations ? > > Hmm, after a bit more investigation, it appears that the Cyrix MII > processors support cmov instructions, even though we currently don't > compil

Re: [PATCH] x86 boot time check for cpu features

2000-11-03 Thread Brian Gerst
Alan Cox wrote: > Q: are any of the things you test present in processors only after we > do magic 'cpuid' enable invocations ? Hmm, after a bit more investigation, it appears that the Cyrix MII processors support cmov instructions, even though we currently don't compile for that pro

Re: [PATCH] x86 boot time check for cpu features

2000-11-03 Thread Brian Gerst
Alan Cox wrote: > > > + lea cpuid_fail_msg, %si > > + callprtstr > > +1: jmp 1b > > +cpuid_fail_msg: > > + .string "Required CPU features are not present - compile kernel for the >proper CPU type." > > +cpuid_pass: > > Only one very minor suggestion > > 1: hlt >

Re: [PATCH] x86 boot time check for cpu features

2000-11-03 Thread Alan Cox
> + lea cpuid_fail_msg, %si > + callprtstr > +1: jmp 1b > +cpuid_fail_msg: > + .string "Required CPU features are not present - compile kernel for the proper >CPU type." > +cpuid_pass: Only one very minor suggestion 1: hlt j 1b Q: are any of the thi

[PATCH] x86 boot time check for cpu features

2000-11-02 Thread Brian Gerst
This patch allows the real mode setup code to check for required features (such as cmov, pae, etc.) that would normally just cause the boot process to silently hang. Tested with a K6-2 (no cmov) and an Athlon (has cmov), needs testing on a CPU without cpuid. --