[Fastboot] [PATCH] kexec: remove memory reserve patching for powerpc device tree

Vivek Goyal vgoyal at in.ibm.com
Thu Sep 21 23:55:34 EST 2006


On Thu, Sep 21, 2006 at 01:40:33PM +1000, Michael Ellerman wrote:
> On Thu, 2006-09-21 at 11:51 +0900, Horms wrote:
> > On Thu, Sep 21, 2006 at 11:59:04AM +1000, Michael Ellerman wrote:
> > > On Thu, 2006-09-21 at 11:10 +1000, Michael Neuling wrote:
> > > > This code no longer needed with Jimi's auto reserve of device tree blob
> > > > kernel patch now in 2.6.18.    
> > > > 
> > > > This patch will break Linux if you're kexecing to a kernel which doesn't
> > > > have this patch (ie. earlier than 2.6.17).  Required kernel patch is
> > > > this one:   
> > > > http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4d1f3f25d9c303d1ce63b42cc94c54ac0ab2e950
> > > > 
> > > 
> > > Although it'd be nice to get rid of that code, I'm not sure we want to
> > > go breaking this. This will mean RHEL5 and SLES10 users can't use
> > > upstream kexec-tools :/
> > 
> > Surely if they are using a RHEL5 or SLES10 kernel then its
> > reasonably to expect they are also using a RHEL5 or SLES10 supplied
> > kexec-tool.
> 
> Or Ubuntu Dapper .. Debian Stable .. FC whatever. In general they'll be
> using the distro tools sure, but I'd rather not force them to. I
> generally expect to be able to run mainline kernels without upgrading my
> entire distro - it should cut both ways IMHO.
> 

Now with distros adopting kexce-tools, I am in for maintaining the backward
compatibility as far as possible. Putting a note in the code is good that
down the line, get rid of this code.

-Vivek



More information about the Linuxppc-dev mailing list