On 7/5/25 10:27, Koichiro Den wrote:
> The /reserved-memory node is inherently not specific to static-shmem.
> Move it to a more generic domain build context. While at it, add an
> empty kernel_info_get_shm_mem_const() for the CONFIG_STATIC_SHM=n case,
> as it can now be invoked in such case.
> 
> No functional change.
> 
> Signed-off-by: Koichiro Den <d...@valinux.co.jp>
> ---
>  xen/arch/arm/domain_build.c           | 40 +++++++++++++++++++++++++++
>  xen/common/device-tree/static-shmem.c | 40 ---------------------------
>  xen/include/xen/fdt-domain-build.h    |  2 ++
>  xen/include/xen/static-shmem.h        | 15 ++++------
>  4 files changed, 48 insertions(+), 49 deletions(-)

make_resv_memory_node() was recently moved from arch/arm to common in:

72c5fa220804 ("device-tree: Move Arm's static-shmem feature to common")

Is there any rationale for moving it back?

Reply via email to