Cleanup and updates of x86 CPU definitions

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: the arch/x86 maintainers <x86@...>, Stephen Rothwell <sfr@...>, Austin Zhang <austin_zhang@...>
Cc: Linux Kernel Mailing List <linux-kernel@...>
Date: Thursday, August 28, 2008 - 12:30 am

Hi all,

I have just committed to tip:x86/cpu the following patch series:

H. Peter Anvin (3):
       x86: generate names for /proc/cpuinfo from <asm/cpufeature.h>
       x86: cpufeature: add Intel features from CPUID and AVX specs
       x86: <asm/cpufeature.h>: clean up overlong lines, whitespace

The combined patch is below.

This changes the CPU feature naming code so that all that information 
comes from <asm-x86/cpufeature.h>.  In the past we have had a number of 
problems with cpufeature.h diverging from what /proc/cpuinfo showed (not 
to mention that at one point we would show different things for 32 and 
64 bits.)

I'm flagging this especially, since this is a patch fairly likely to 
conflict with other changes (incluing in other trees), although 
hopefully in a trivial fashion (this patchset should supercede) since I 
have gone through all the Intel and AMD documentation I could find and 
made sure it has the flags.

It is definitely unfortunate how the kernel sources and /proc/cpuinfo 
use different names for features; given that we can't change 
/proc/cpuinfo it might be worthwhile to run a sed script over the kernel 
sources.

	-hpa
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Cleanup and updates of x86 CPU definitions, H. Peter Anvin, (Thu Aug 28, 12:30 am)
Re: Cleanup and updates of x86 CPU definitions, Jeremy Fitzhardinge, (Thu Aug 28, 4:11 pm)
Re: Cleanup and updates of x86 CPU definitions, H. Peter Anvin, (Thu Aug 28, 4:22 pm)