Re: [PATCH v3 2/3] arm64: implement update_fdt_pgprot()

From: Hsin-Yi Wang
Date: Thu May 16 2019 - 10:53:52 EST

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