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

From: Dave Jones
Date: Thu May 17 2007 - 02:18:19 EST


On Wed, May 16, 2007 at 08:16:11PM -0700, Linus Torvalds wrote:
>
>
> On Wed, 16 May 2007, H. Peter Anvin wrote:
> >
> > 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.
>
> Ahh. Do we really need it that early?
>
> Now, it's easy enough to just turn off CONFIG_X86_CMPXCHG64 (it really
> should be "8B" instead of "64", but that's another issue) for those
> things, and nobody should really care, but still, maybe we could re-do the
> early bits to be more polite to those VIA CPU's?
>
> I thought the cmpxchg8b stuff was just used to page table setup. Do those
> things even _support_ PAE?

newer models do, yes. Even NX. In fact, primarily for NX. I've not heard
of anyone running >4GB with a Nehemiah.

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/