Re: [PATCH] powerpc/book3e: Fix CPU feature handling on 64-bit e5500

2011-04-07 Thread Scott Wood
On Thu, 7 Apr 2011 14:38:57 -0500 Kumar Gala wrote: > > On Apr 6, 2011, at 1:02 PM, Scott Wood wrote: > > > On Wed, 6 Apr 2011 07:29:03 -0500 > > Kumar Gala wrote: > > > >> diff --git a/arch/powerpc/include/asm/cputable.h > >> b/arch/powerpc/include/asm/cputable.h > >> index be3cdf9..9028a9e

Re: [PATCH] powerpc/book3e: Fix CPU feature handling on 64-bit e5500

2011-04-07 Thread Kumar Gala
On Apr 6, 2011, at 1:02 PM, Scott Wood wrote: > On Wed, 6 Apr 2011 07:29:03 -0500 > Kumar Gala wrote: > >> diff --git a/arch/powerpc/include/asm/cputable.h >> b/arch/powerpc/include/asm/cputable.h >> index be3cdf9..9028a9e 100644 >> --- a/arch/powerpc/include/asm/cputable.h >> +++ b/arch/power

Re: [PATCH] powerpc/book3e: Fix CPU feature handling on 64-bit e5500

2011-04-06 Thread Scott Wood
On Wed, 6 Apr 2011 07:29:03 -0500 Kumar Gala wrote: > diff --git a/arch/powerpc/include/asm/cputable.h > b/arch/powerpc/include/asm/cputable.h > index be3cdf9..9028a9e 100644 > --- a/arch/powerpc/include/asm/cputable.h > +++ b/arch/powerpc/include/asm/cputable.h > @@ -386,6 +386,10 @@ extern con

[PATCH] powerpc/book3e: Fix CPU feature handling on 64-bit e5500

2011-04-06 Thread Kumar Gala
The CPU_FTRS_POSSIBLE and CPU_FTRS_ALWAYS defines did not encompass e5500 CPU features when built for 64-bit. This causes issues with cpu_has_feature() as it utilizes the POSSIBLE & ALWAYS defines as part of its check. Create a unique CPU_FTRS_E5500 (as its different from CPU_FTRS_E500MC), create