[PATCH] kexec-tools: do not copy 1st kernel root= param in fs2dt.c
horms at verge.net.au
Sun Oct 25 21:32:33 PDT 2015
On Fri, Oct 23, 2015 at 05:23:19PM +0800, Dave Young wrote:
> On 10/23/15 at 11:19am, Dave Young wrote:
> > Hi, Simon
> > >
> > > >
> > > > Also, won't this affect other architectures that use DT.
> > > > I'm thinking about ARM. If so it might be good to tweak the changelog.
> > >
> > > arm also uses the function, but I need verify the behavior. Will tune the changelog
> > > after I confirming it.
> > kexec on arm will have same problem when there's no external dtb being passed.
> > But kexec kernel failed to start up during my test there may be other problems.
> > I will work out a new patch for new option about skip adding root= from 1st kernel.
> Simon, for the new option, I'm thinking to create a "--dt-no-old-root". It can be
> a general option, or arch dependent one for arm and ppc64. What do you prefer?
Lets just make it arch dependent if it only changes the behaviour
on some architectures. The name sounds good to me.
More information about the kexec