Re: [PATCH] do firmware feature fixups after features are initialised

2007-07-12 Thread Michael Neuling
> > > If I'm understanding this right, the first solution should be something > > > along the lines of the patch below (not tested), which even removes > > > more lines than it adds. It doesn't seem that annoying to me, and it > > > makes sense to assume that the fw_features are set up after return

Re: [PATCH] do firmware feature fixups after features are initialised

2007-07-12 Thread Arnd Bergmann
On Thursday 12 July 2007, Michael Neuling wrote: > > > If I'm understanding this right, the first solution should be something > > along the lines of the patch below (not tested), which even removes > > more lines than it adds. It doesn't seem that annoying to me, and it > > makes sense to assume

Re: [PATCH] do firmware feature fixups after features are initialised

2007-07-11 Thread Michael Neuling
In message <[EMAIL PROTECTED]> you wrote: > On Wednesday 11 July 2007, Benjamin Herrenschmidt wrote: > > There are two possibly solutions I see in the long run: > > = > > > =A0- We could set the FW features earlier on pseries, though that is a bit > > annoying because that means doing it before

Re: [PATCH] do firmware feature fixups after features are initialised

2007-07-11 Thread Segher Boessenkool
>> d) preload some SLB entries at very early boot to cover >> the first 4GB or so. >> >> d) sounds nice and simple, but will it work? > > Nah, best to limit everything at boot to SLB 0. Thing is, 4G is not > enough, you may have more RAM and have allocations from the top. Yeah fair enough. Yo

Re: [PATCH] do firmware feature fixups after features are initialised

2007-07-11 Thread Arnd Bergmann
On Wednesday 11 July 2007, Benjamin Herrenschmidt wrote: > There are two possibly solutions I see in the long run: > >  - We could set the FW features earlier on pseries, though that is a bit > annoying because that means doing it before the device-tree is > unflattened. > >  - We could constrain

Re: [PATCH] do firmware feature fixups after features are initialised

2007-07-11 Thread Benjamin Herrenschmidt
On Wed, 2007-07-11 at 13:06 +0200, Segher Boessenkool wrote: > > There are two possibly solutions I see in the long run: > > > > - We could set the FW features earlier on pseries, though that is > > a bit > > annoying because that means doing it before the device-tree is > > unflattened. > > > >

Re: [PATCH] do firmware feature fixups after features are initialised

2007-07-11 Thread Segher Boessenkool
> There are two possibly solutions I see in the long run: > > - We could set the FW features earlier on pseries, though that is > a bit > annoying because that means doing it before the device-tree is > unflattened. > > - We could constraint lmb_alloc to the first segment until the FW > fixup

Re: [PATCH] do firmware feature fixups after features are initialised

2007-07-11 Thread Benjamin Herrenschmidt
On Fri, 2007-06-08 at 14:00 +1000, Michael Neuling wrote: > On pSeries the firmware features are not setup until ppc_md.init_early, > so we can't do the firmware feature sections fixups till after this. > > Currently firmware feature sections is only used on iSeries which inits > the firmware feat