From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763494AbYETR6z (ORCPT ); Tue, 20 May 2008 13:58:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756338AbYETR6r (ORCPT ); Tue, 20 May 2008 13:58:47 -0400 Received: from terminus.zytor.com ([198.137.202.10]:35683 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755328AbYETR6q (ORCPT ); Tue, 20 May 2008 13:58:46 -0400 Message-ID: <4833112F.7020402@zytor.com> Date: Tue, 20 May 2008 10:58:07 -0700 From: "H. Peter Anvin" User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: Dave Jones , "H. Peter Anvin" , Linux Kernel , Ingo Molnar , Thomas Gleixner Subject: Re: [X86] Remove unnecessary code in 64bit CPU identification. References: <200805200409.m4K49ZuE024343@gelk.kernelslacker.org> <4832E461.2070503@zytor.com> <20080520151655.GA542@redhat.com> In-Reply-To: <20080520151655.GA542@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dave Jones wrote: > On Tue, May 20, 2008 at 07:46:57AM -0700, H. Peter Anvin wrote: > > Dave Jones wrote: > > > There were no 64bit Transmeta CPUs made (and it'd be something of > > > a surprise if they started any time soon). To the best of my knowledge, > > > no CPU vendor cloned the 80860000 cpuid space claimed by Transmeta. > > > By removing this code, we can also eliminate calling cpuid 0x80000007 twice. > > > > > > Signed-off-by: Dave Jones > > > > I'd really like to avoid divergences between the 32-bit and 64-bit code > > if they can be avoided at this point. These codes need to be unified, > > not further split. > > Umm, the 32 bit code has the per-vendor stuff removed from setup.c, and factored > out into per-vendor files in arch/x86/kernel/cpu/ Because the 64bit version > doesn't do that (yet), my removal of this code actually gets us closer to unification. > After my patch, neither of the setup.c files have the Transmeta bits :) > *Shrug* ... it seems like pointless churn to code that really needs to die to me. -hpa