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

From: Hsin-Yi Wang
Date: Thu May 16 2019 - 12:51:16 EST


On Thu, May 16, 2019 at 11:32 PM Rob Herring <robh+dt@xxxxxxxxxx> wrote:

> Doesn't kexec operate on a copy because it already does modifications.
>
Hi Rob,

This patch is to assist "[PATCH v3 3/3] fdt: add support for rng-seed"
(https://lkml.org/lkml/2019/5/16/257). I thought that by default
second kernel would use original fdt, so I write new seed back to
original fdt. Might be wrong.

** "[PATCH v3 3/3] fdt: add support for rng-seed" is supposed to
handle for adding new seed in kexec case, discussed in v2
(https://lkml.org/lkml/2019/5/13/425)

By default (not considering user defines their own fdt), if second
kernel uses copied fdt, when is it copied and can we modify that?

Thanks!