]> xenbits.xensource.com Git - xen.git/commit
xen/arm: Drop process_shm_chosen()
authorMichal Orzel <michal.orzel@amd.com>
Wed, 2 Apr 2025 08:42:33 +0000 (10:42 +0200)
committerMichal Orzel <michal.orzel@amd.com>
Thu, 3 Apr 2025 07:52:54 +0000 (09:52 +0200)
commit6194e6925d02fc724d81f660a002fca2155436cd
treec2ad08207337d889c03d2ebf34db908168b4f596
parentc95346e14417f78dcd47defb9ae52d8b6c904d4b
xen/arm: Drop process_shm_chosen()

There's no benefit in having process_shm_chosen() next to process_shm().
The former is just a helper to pass "/chosen" node to the latter for
hwdom case. Drop process_shm_chosen() and instead use process_shm()
passing NULL as node parameter, which will result in searching for and
using /chosen to find shm node (the DT full path search is done in
process_shm() to avoid expensive lookup if !CONFIG_STATIC_SHM). This
will simplify future handling of hw/control domain separation.

Signed-off-by: Michal Orzel <michal.orzel@amd.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
xen/arch/arm/domain_build.c
xen/arch/arm/include/asm/static-shmem.h
xen/arch/arm/static-shmem.c