[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen master] xen/arm: Skip inclusion of domU nodes into hwdom dt /chosen node



commit c6bda36af0b992d5d2042efd6cc36592fb037a1d
Author:     Michal Orzel <michal.orzel@xxxxxxx>
AuthorDate: Thu Aug 10 13:25:44 2023 +0200
Commit:     Stefano Stabellini <stefano.stabellini@xxxxxxx>
CommitDate: Thu Aug 10 19:29:02 2023 -0700

    xen/arm: Skip inclusion of domU nodes into hwdom dt /chosen node
    
    Configuration for dom0less domUs is stored under /chosen/<domu> nodes
    present in the host device tree provided to Xen. All the properties and
    sub nodes there are meant only for Xen. However, at the moment we still
    copy them (except for modules that we skip) into hardware domain /chosen
    node. Fix it by adding "xen,domain" compatible into the list of nodes to
    skip in handle_node().
    
    Signed-off-by: Michal Orzel <michal.orzel@xxxxxxx>
    Reviewed-by: Luca Fancellu <luca.fancellu@xxxxxxx>
    Acked-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
---
 xen/arch/arm/domain_build.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/domain_build.c
index c6881de8bd..54bf5623c8 100644
--- a/xen/arch/arm/domain_build.c
+++ b/xen/arch/arm/domain_build.c
@@ -2592,6 +2592,7 @@ static int __init handle_node(struct domain *d, struct 
kernel_info *kinfo,
 {
     static const struct dt_device_match skip_matches[] __initconst =
     {
+        DT_MATCH_COMPATIBLE("xen,domain"),
         DT_MATCH_COMPATIBLE("xen,xen"),
         DT_MATCH_COMPATIBLE("xen,multiboot-module"),
         DT_MATCH_COMPATIBLE("multiboot,module"),
--
generated by git-patchbot for /home/xen/git/xen.git#master



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.