Hi Stefano,

On 12/05/2021 22:41, Stefano Stabellini wrote:
On Sun, 25 Apr 2021, Julien Grall wrote:
From: Julien Grall <julien.gr...@arm.com>

Now that map_pages_to_xen() has been extended to support 2MB mappings,
we can replace the create_mappings() calls by map_pages_to_xen() calls.

The mapping can also be marked read-only has Xen as no business to
modify the host Device Tree.

I think that's good. Just FYI there is some work at Xilinx to make
changes to the device tree at runtime but we'll cross that bridge when
we come to it.

This particular mapping is only used during early boot. After the DT has been unflatten, this region is unmapped and the physical memory released.

So if the DT needs to be modified at runtime, then you would most likely want to modify the unflatten version.


Reviewed-by: Stefano Stabellini <sstabell...@kernel.org>

Thank you!

Cheers,

--
Julien Grall

Reply via email to