Re: 2.6.22-rc1 does not boot on VIA C3_2 cause of X86_CMPXCHG64

From: H. Peter Anvin
Date: Wed May 16 2007 - 23:06:58 EST


Linus Torvalds wrote:
>
> On Thu, 17 May 2007, Christian wrote:
>
>> Linus Torvalds wrote:
>>> Can you check? The Nehemian (C3-2) should be model 9 or greater.
>> Yes, it's a Nehemiah
>
> Ok. If so, we should blacklist both MCYRIXIII and MVIAC3_2, I suspect.
>
>> lola:~ # cat /proc/cpuinfo
>> flags : fpu vme de pse tsc msr cx8 sep mtrr pge cmov pat mmx fxsr sse rng rng_en ace ace_en
>
> However, it does seem to *claim* to support "cx8" aka cmpxchg8b. What's up
> with that?

It gets turned on by the code in arch/i386/kernel/cpu. It's just that
the new code that Andi added runs during setup, i.e. in real mode, so
*way* earlier than that.

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