]> xenbits.xensource.com Git - xen.git/commit
xen/arm: dom0less hwdom construction
authorJason Andryuk <jason.andryuk@amd.com>
Wed, 16 Apr 2025 21:29:06 +0000 (17:29 -0400)
committerStefano Stabellini <stefano.stabellini@amd.com>
Fri, 18 Apr 2025 20:41:29 +0000 (13:41 -0700)
commit52cb53f1816a2c92aedbdf857065e3e2e2d99099
tree68b33522f93763a7cd201b938400a0a82104ceb0
parentb959f3b820f5998e0894c2944ccc95727b71987a
xen/arm: dom0less hwdom construction

When creating a hardware domain, have the dom0less code call
construct_hwdom() which is shared with the dom0 code.  The hardware
domain requires building that best matches the dom0 build path.  Re-use
it to keep them in sync.

The device tree node of the dom0less config is now passed into
construct_hwdom().  dom0 uses /chosen for process_shm while a hwdom will
use the value from its dom0less device tree node.

Signed-off-by: Jason Andryuk <jason.andryuk@amd.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/dom0less-build.c
xen/arch/arm/domain_build.c
xen/arch/arm/include/asm/domain_build.h