@@ -1209,6 +1209,10 @@ static int __init write_properties(struct domain *d, struct kernel_info *kinfo,
continue;
}
+ /* Dom0 is currently NUMA unaware */
+ if ( dt_property_name_is_equal(prop, "numa-node-id") )
+ continue;
+
res = fdt_property(kinfo->fdt, prop->name, prop_data, prop_len);
if ( res )
@@ -2322,6 +2326,8 @@ static int __init handle_node(struct domain *d, struct kernel_info *kinfo,
DT_MATCH_TYPE("memory"),
/* The memory mapped timer is not supported by Xen. */
DT_MATCH_COMPATIBLE("arm,armv7-timer-mem"),
+ /* Numa info doesn't need to be exposed to Domain-0 */
+ DT_MATCH_COMPATIBLE("numa-distance-map-v1"),
{ /* sentinel */ },
};
static const struct dt_device_match timer_matches[] __initconst =