Re: PS3 platform is broken on Linux 3.7.0

2013-02-13 Thread Michael Ellerman
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 power

Re: PS3 platform is broken on Linux 3.7.0

2013-02-12 Thread Geoff Levand
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

Re: Re[3]: PS3 platform is broken on Linux 3.7.0

2013-02-11 Thread Geoff Levand
Hi Aneesh, On Mon, 2013-02-11 at 15:56 +0530, Aneesh Kumar K.V wrote: > Can you try this patch ? > > diff --git a/arch/powerpc/include/asm/mmu-hash64.h > b/arch/powerpc/include/asm/mmu-hash64.h I tried your patch on PS3 with a ps3_defconfig build on both Linux-3.7 and Linux-3.8-rc7 and it seems

Re[5]: PS3 platform is broken on Linux 3.7.0

2013-02-11 Thread Phileas Fogg
>"Aneesh Kumar K.V" < aneesh.ku...@linux.vnet.ibm.com > writes: > >> Phileas Fogg < phileas-f...@mail.ru > writes: >> >>> And another note. >>> I took a look at the MMU chapter in the Cell Architecture handbook and >>> indeed the first 15 bits in VA are treated as 0 by the hardware. >>> >>> Quot

Re: Re[2]: PS3 platform is broken on Linux 3.7.0

2013-02-11 Thread Geoff Levand
On Sun, 2013-02-10 at 12:59 +0400, Phileas Fogg wrote: > i found where the problem lies. ... > And that's why lv1_insert_htab_entry fails with -17 which means > LV1_ILLEGAL_PARAMETER_VALUE because > the Hypervisor of PS3 checks 'AVPN' values for number of leading zeros and > allows at least 15 bi

Re: Re[3]: PS3 platform is broken on Linux 3.7.0

2013-02-11 Thread Aneesh Kumar K.V
"Aneesh Kumar K.V" writes: > Phileas Fogg writes: > >> And another note. >> I took a look at the MMU chapter in the Cell Architecture handbook and >> indeed the first 15 bits in VA are treated as 0 by the hardware. >> >> Quote: >> >> 1. High-order bits above 65 bits in the 80-bit virtual addre

Re: PS3 platform is broken on Linux 3.7.0

2013-02-10 Thread Michael Ellerman
On Sun, Feb 10, 2013 at 09:51:37PM +0400, Phileas Fogg wrote: > > >Phileas Fogg < phileas-f...@mail.ru > writes: > > > > Patch: > > --- arch/powerpc/kernel/setup_64.c.old    2013-02-10 19:34:53.787366191 +0100 > +++ arch/powerpc/kernel/setup_64.c    2013-02-10 19:35:38.834035478 +0100 > @@ -186,

Re[5]: PS3 platform is broken on Linux 3.7.0

2013-02-10 Thread Phileas Fogg
>Phileas Fogg < phileas-f...@mail.ru > writes: > >> Please ignore the previous patch to fix the PACA issue on PS3 arch. >> This is the correct one: >> >> --- a/arch/powerpc/kernel/setup_64.c 2013-02-10 13:56:12.803855673 +0100 >> +++ b/arch/powerpc/kernel/setup_64.c 2013-02-10 14:07:22.870561322

Re: Re[3]: PS3 platform is broken on Linux 3.7.0

2013-02-10 Thread Aneesh Kumar K.V
Phileas Fogg writes: > And another note. > I took a look at the MMU chapter in the Cell Architecture handbook and indeed > the first 15 bits in VA are treated as 0 by the hardware. > > Quote: > > 1. High-order bits above 65 bits in the 80-bit virtual address (VA[0:14]) are > not implemented. T

Re: Re[3]: PS3 platform is broken on Linux 3.7.0

2013-02-10 Thread Aneesh Kumar K.V
Phileas Fogg writes: > Please ignore the previous patch to fix the PACA issue on PS3 arch. > This is the correct one: > > --- a/arch/powerpc/kernel/setup_64.c 2013-02-10 13:56:12.803855673 +0100 > +++ b/arch/powerpc/kernel/setup_64.c 2013-02-10 14:07:22.870561322 +0100 > @@ -186,6 +186,9 @@ >

Re[3]: PS3 platform is broken on Linux 3.7.0

2013-02-10 Thread Phileas Fogg
3, 15:45 +04:00 от Phileas Fogg : > >>On Fri, 2012-12-14 at 16:35 +0400, Phileas Fogg wrote: >>> Hi, >>> >>> I wanted to bring to your attention the fact that the PS3 platform is >>> broken on Linux 3.7.0. >>> >>> i'm not able to boo

Re[2]: PS3 platform is broken on Linux 3.7.0

2013-02-10 Thread Phileas Fogg
>On Fri, 2012-12-14 at 16:35 +0400, Phileas Fogg wrote: >> Hi, >> >> I wanted to bring to your attention the fact that the PS3 platform is broken >> on Linux 3.7.0. >> >> i'm not able to boot Linux 3.7.0 on my PS3 slim. Linux 3.6.10 boots just >&

Re[3]: PS3 platform is broken on Linux 3.7.0

2013-02-10 Thread Phileas Fogg
And another note. I took a look at the MMU chapter in the Cell Architecture handbook and indeed the first 15 bits in VA are treated as 0 by the hardware. Quote: 1. High-order bits above 65 bits in the 80-bit virtual address (VA[0:14]) are not implemented. The hardware always    treats these bi

Re[2]: PS3 platform is broken on Linux 3.7.0

2013-02-10 Thread Phileas Fogg
Hi, i found where the problem lies. I also printed some values in ps3_hpte_insert with and without 64TB support, i used OpenWRT with Linux 3.7.6 for testing. Some values without 64TB support: - [    0.060487] RPC: Registered named UNIX socket tra

Re: PS3 platform is broken on Linux 3.7.0

2013-01-14 Thread Geoff Levand
Hi, On Fri, 2013-01-11 at 18:12 -0800, Geoff Levand wrote: > I checked these, and Michael's 407821a34fce89b4f0b031dbab5cec7d059f46bc > does indeed cause the LV1 hypervisor to panic early, and if that is > reverted, Aneesh's 048ee0993ec8360abb0b51bdf8f8721e9ed62ec4 hits a BUG. Just to give an upda

Re: PS3 platform is broken on Linux 3.7.0

2013-01-11 Thread Geoff Levand
Hi, On Thu, 2012-12-20 at 08:53 +1100, Benjamin Herrenschmidt wrote: > On Fri, 2012-12-14 at 16:35 +0400, Phileas Fogg wrote: > > Hi, > > > > I wanted to bring to your attention the fact that the PS3 platform is > > broken on Linux 3.7.0. > > > > i'm

Re: PS3 platform is broken on Linux 3.7.0

2012-12-19 Thread Benjamin Herrenschmidt
On Fri, 2012-12-14 at 16:35 +0400, Phileas Fogg wrote: > Hi, > > I wanted to bring to your attention the fact that the PS3 platform is broken > on Linux 3.7.0. > > i'm not able to boot Linux 3.7.0 on my PS3 slim. Linux 3.6.10 boots just fine > but not 3.7.0 > W

PS3 platform is broken on Linux 3.7.0

2012-12-14 Thread Phileas Fogg
Hi, I wanted to bring to your attention the fact that the PS3 platform is broken on Linux 3.7.0. i'm not able to boot Linux 3.7.0 on my PS3 slim. Linux 3.6.10 boots just fine but not 3.7.0 When i try to boot Linux 3.7.0 then my PS3  shuts down. So i cloned the Linux powerpc GIT repos