Re: MPC5200 does not boot

2016-08-10 Thread Michal Sojka
Hi all, my MPC5200 still does not boot even with the fix bellow applied. I dug a bit into it and now it seems that commit 309b315b6ec686ce050758cc4e29f6ad1125a83f is to blame. commit 309b315b6ec686ce050758cc4e29f6ad1125a83f Author: Aneesh Kumar K.V Date: Sat Jul 23 14:42:38 2016 +0530 pow

Re: MPC5200 does not boot

2016-08-01 Thread Michal Sojka
On Tue, Aug 02 2016, Benjamin Herrenschmidt wrote: > On Tue, 2016-08-02 at 00:44 +0200, Michal Sojka wrote: >> Hi Benjamin, >> >> the following commit causes my MPC5200 not to boot. >> >> commit 9402c684613163888714df0955fa1f17142b08bf > > Does this fixes it for you ? Yes, it does. Thanks.

Re: MPC5200 does not boot

2016-08-01 Thread Benjamin Herrenschmidt
On Tue, 2016-08-02 at 00:44 +0200, Michal Sojka wrote: > Hi Benjamin, > > the following commit causes my MPC5200 not to boot. > > commit 9402c684613163888714df0955fa1f17142b08bf > Author: Benjamin Herrenschmidt > Date:   Tue Jul 5 15:03:41 2016 +1000 >   > powerpc: Factor

Re: MPC5200 does not boot

2016-08-01 Thread Benjamin Herrenschmidt
On Tue, 2016-08-02 at 13:16 +1000, Nicholas Piggin wrote: >  > Shouldn't these be PTRRELOC(spec)->cpu_features ? You are relocating > access to the pointer word, but not the address it contains. > identify_cpu() returns the relocated pointer which is what 32-bit > used > to use. Ah indeed ! Let me

Re: MPC5200 does not boot

2016-08-01 Thread Nicholas Piggin
On Tue, 02 Aug 2016 12:44:33 +1000 Benjamin Herrenschmidt wrote: > On Tue, 2016-08-02 at 00:44 +0200, Michal Sojka wrote: > > Hi Benjamin, > > > > the following commit causes my MPC5200 not to boot. > > > > commit 9402c684613163888714df0955fa1f17142b08bf > > > Author: Benjamin Herrens

Re: MPC5200 does not boot

2016-08-01 Thread Benjamin Herrenschmidt
On Tue, 2016-08-02 at 00:44 +0200, Michal Sojka wrote: > Hi Benjamin, > > the following commit causes my MPC5200 not to boot. > > commit 9402c684613163888714df0955fa1f17142b08bf > > Author: Benjamin Herrenschmidt > Date:   Tue Jul 5 15:03:41 2016 +1000 >   > powerpc: Fact

MPC5200 does not boot

2016-08-01 Thread Michal Sojka
Hi Benjamin, the following commit causes my MPC5200 not to boot. commit 9402c684613163888714df0955fa1f17142b08bf Author: Benjamin Herrenschmidt Date: Tue Jul 5 15:03:41 2016 +1000 powerpc: Factor do_feature_fixup calls 32 and 64-bit do a similar set o