[PATCH] powerpc: Fix PowerPC 750CL CPU features
Josh Boyer
jwboyer at linux.vnet.ibm.com
Thu Apr 12 22:49:06 EST 2007
PowerPC 750CL has high BATs. The patch below sets cpu_features to match that.
Without it, the original firmware mappings in the high BATs aren't cleared
which can cause "odd" address translations to occur.
Signed-off-by: Josh Boyer <jwboyer at linux.vnet.ibm.com>
---
arch/powerpc/kernel/cputable.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- linux-2.6.orig/arch/powerpc/kernel/cputable.c
+++ linux-2.6/arch/powerpc/kernel/cputable.c
@@ -562,12 +562,12 @@ static struct cpu_spec cpu_specs[] = {
.pvr_mask = 0xfffff0f0,
.pvr_value = 0x00087010,
.cpu_name = "750CL",
- .cpu_features = CPU_FTRS_750,
+ .cpu_features = CPU_FTRS_750GX,
.cpu_user_features = COMMON_USER | PPC_FEATURE_PPC_LE,
.icache_bsize = 32,
.dcache_bsize = 32,
.num_pmcs = 4,
- .cpu_setup = __setup_cpu_750cx,
+ .cpu_setup = __setup_cpu_750fx,
.platform = "ppc750",
},
{ /* 745/755 */
More information about the Linuxppc-dev
mailing list