Patchwork PS3 platform is broken on Linux 3.7.0

login
register
mail settings
Submitter Geoff Levand
Date Feb. 13, 2013, 7:32 a.m.
Message ID <1360740779.28936.20.camel@clam>
Download mbox | patch
Permalink /patch/220071/
State Not Applicable
Headers show

Comments

Geoff Levand - Feb. 13, 2013, 7:32 a.m.
Hi,

On Fri, 2012-12-14 at 16:35 +0400, Phileas Fogg wrote:
> I wanted to bring to your attention the fact that the PS3 platform is broken on Linux 3.7.0.

> So i cloned the Linux powerpc GIT repository and tried to find out which commits broke the PS3 platform.

> ---------------------------------------------------------------------------------------------
> 
> commit 407821a34fce89b4f0b031dbab5cec7d059f46bc
> Author: Michael Ellerman <michael@ellerman.id.au>
> Date:   Fri Sep 7 15:31:44 2012 +0000
> 
>     powerpc: Initialise paca.data_offset with poison

I did a little more work on this, and it seems the change below
will fix the problem introduced by Michael's change.  I can only
guess we need to use udbg_printf() here.  I'll look at it some more
as I have time.

-Geoff


>
Michael Ellerman - Feb. 13, 2013, 10:37 p.m.
On Tue, Feb 12, 2013 at 11:32:59PM -0800, Geoff Levand wrote:
> Hi,
> 
> On Fri, 2012-12-14 at 16:35 +0400, Phileas Fogg wrote:
> > I wanted to bring to your attention the fact that the PS3 platform is broken on Linux 3.7.0.
> 
> > So i cloned the Linux powerpc GIT repository and tried to find out which commits broke the PS3 platform.
> 
> > ---------------------------------------------------------------------------------------------
> > 
> > commit 407821a34fce89b4f0b031dbab5cec7d059f46bc
> > Author: Michael Ellerman <michael@ellerman.id.au>
> > Date:   Fri Sep 7 15:31:44 2012 +0000
> > 
> >     powerpc: Initialise paca.data_offset with poison
> 
> I did a little more work on this, and it seems the change below
> will fix the problem introduced by Michael's change.  I can only
> guess we need to use udbg_printf() here.  I'll look at it some more
> as I have time.

Have you tried with the patch I posted yesterday?

cheers

Patch

diff --git a/arch/powerpc/kernel/paca.c b/arch/powerpc/kernel/paca.c
index 5c56834..6b4f613 100644
--- a/arch/powerpc/kernel/paca.c
+++ b/arch/powerpc/kernel/paca.c
@@ -184,8 +185,8 @@  void __init allocate_pacas(void)
 	paca = __va(memblock_alloc_base(paca_size, PAGE_SIZE, limit));
 	memset(paca, 0, paca_size);
 
-	printk(KERN_DEBUG "Allocated %u bytes for %d pacas at %p\n",
-		paca_size, nr_cpu_ids, paca);
+//	printk(KERN_DEBUG "Allocated %u bytes for %d pacas at %p\n",
+//		paca_size, nr_cpu_ids, paca);
 
 	allocate_lppacas(nr_cpu_ids, limit);