[PATCH 07/15] powerpc: Move CPU_FTRS_BASE_BOOK3E into cputable.h & update FTR masks
Kumar Gala
galak at kernel.crashing.org
Mon Apr 18 22:37:35 EST 2011
On Apr 15, 2011, at 3:32 AM, Michael Ellerman wrote:
> From: Michael Ellerman <michael at ellerman.id.au>
>
> Where they belong with all the others. Remove SMT which may not be
> true for all BOOK3E parts.
>
> Currently the FTRS_POSSIBLE & FTRS_ALWAYS are defined for 64 or 32 bit.
> Now that we have BOOK3E we need to split it three ways, BOOK3S, BOOK3E,
> and 32-bit.
>
> Signed-off-by: Michael Ellerman <michael at ellerman.id.au>
> ---
> arch/powerpc/include/asm/cputable.h | 17 +++++++++++++----
> arch/powerpc/kernel/cputable.c | 3 ---
> 2 files changed, 13 insertions(+), 7 deletions(-)
will probably need some updating based on:
commit 11ed0db9f6c7811233632d2ab79c50c011b89902
Author: Kumar Gala <galak at kernel.crashing.org>
Date: Wed Apr 6 00:11:06 2011 -0500
powerpc/book3e: Fix CPU feature handling on 64-bit e5500
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),
created a new group for 64-bit Book3e based CPUs and add CPU_FTRS_E5500
to that group.
Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
- k
More information about the Linuxppc-dev
mailing list