linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] powerpc: Fix PowerPC 750CL CPU features
@ 2007-04-12 12:49 Josh Boyer
  2007-04-12 13:49 ` Milton Miller
  2007-04-12 16:41 ` Segher Boessenkool
  0 siblings, 2 replies; 10+ messages in thread
From: Josh Boyer @ 2007-04-12 12:49 UTC (permalink / raw)
  To: paulus; +Cc: linuxppc-dev

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@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 */

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-04-13 10:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-12 12:49 [PATCH] powerpc: Fix PowerPC 750CL CPU features Josh Boyer
2007-04-12 13:49 ` Milton Miller
2007-04-12 13:53   ` Josh Boyer
2007-04-12 16:41 ` Segher Boessenkool
2007-04-12 17:06   ` Kumar Gala
2007-04-12 17:11     ` Josh Boyer
2007-04-12 17:10   ` Josh Boyer
2007-04-12 19:24     ` Segher Boessenkool
2007-04-13  2:28   ` Benjamin Herrenschmidt
2007-04-13 10:52     ` Josh Boyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).