Messages in this thread | | | From | Rob Herring <> | Date | Thu, 16 May 2019 10:32:37 -0500 | Subject | Re: [PATCH v3 2/3] arm64: implement update_fdt_pgprot() |
| |
On Thu, May 16, 2019 at 9:51 AM Hsin-Yi Wang <hsinyi@chromium.org> wrote: > > On Thu, May 16, 2019 at 10:37 PM Rob Herring <robh+dt@kernel.org> 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
| |