On Thu, May 16, 2019 at 9:51 AM Hsin-Yi Wang <hsinyi@xxxxxxxxxxxx> wrote: > > On Thu, May 16, 2019 at 10:37 PM Rob Herring <robh+dt@xxxxxxxxxx> wrote: > > > > > Why not just map the FDT R/W at the start and change it to RO just > > before calling unflatten_device_tree? Then all the FDT scanning > > functions or any future fixups we need can just assume R/W. That is > > essentially what Stephen suggested. However, there's no need for a > > weak function as it can all be done within the arch code. > > > We need to add a new seed for kexec Doesn't kexec operate on a copy because it already does modifications. Rob