Skip to content

Commit 00e66e3

Browse files
committed
arch_topology: Warn that topology for nested clusters is not supported
We don't support the topology for clusters of CPU clusters while the DT and ACPI bindings theoritcally support the same. Just warn about the same so that it is clear to the users of arch_topology that the nested clusters are not yet supported. Link: https://lore.kernel.org/r/[email protected] Tested-by: Ionela Voinescu <[email protected]> Tested-by: Conor Dooley <[email protected]> Signed-off-by: Sudeep Holla <[email protected]>
1 parent dea8c0b commit 00e66e3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/base/arch_topology.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,8 @@ static int __init parse_cluster(struct device_node *cluster, int package_id,
567567
if (c) {
568568
leaf = false;
569569
ret = parse_cluster(c, package_id, i, depth + 1);
570+
if (depth > 0)
571+
pr_warn("Topology for clusters of clusters not yet supported\n");
570572
of_node_put(c);
571573
if (ret != 0)
572574
return ret;

0 commit comments

Comments
 (0)