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

From: Dave Jones
Date: Thu May 17 2007 - 11:02:27 EST


On Thu, May 17, 2007 at 01:51:34PM +0200, Andi Kleen wrote:

> > The C3s all have cx8, but it needs to be enabled in an MSR first.
> > (See arch/i386/kernel/cpu/centaur.c , search for CX8)
>
> Sigh. I wonder what genius at VIA came up with that setup.

It was due to some incompatibility with some older Windows variants iirc.

> > Did we add code that uses cmpxchg8b before identify_cpu() gets run ?
> > I've not been paying attention to .22rc (busy trying to beat .21 into shape
> > for F7) so I may have missed something obvious. Andi?
>
> That would be a bit complicated in pure asm code.
> It's probably best to just not require it as in Christian's patch above.
> Without SMP support it is not particularly needed anyways; a irq disabling
> emulation should work.

*nod*

Dave

--
http://www.codemonkey.org.uk
-
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/