Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760972AbXEQDSQ (ORCPT ); Wed, 16 May 2007 23:18:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754870AbXEQDSE (ORCPT ); Wed, 16 May 2007 23:18:04 -0400 Received: from smtp2.linux-foundation.org ([207.189.120.14]:41408 "EHLO smtp2.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758590AbXEQDSC (ORCPT ); Wed, 16 May 2007 23:18:02 -0400 Date: Wed, 16 May 2007 20:16:11 -0700 (PDT) From: Linus Torvalds To: "H. Peter Anvin" cc: Christian , linux-kernel@vger.kernel.org Subject: Re: 2.6.22-rc1 does not boot on VIA C3_2 cause of X86_CMPXCHG64 In-Reply-To: <464BC67F.7080707@zytor.com> Message-ID: References: <464B9D2C.7040704@cv-sv.de> <464BAF07.9020003@cv-sv.de> <464BC67F.7080707@zytor.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 976 Lines: 27 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? What else uses it? Early setup in real mode? What am I missing? My grep powers are waning.. Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/