]> git.baikalelectronics.ru Git - kernel.git/commit
arch_topology: Set cluster identifier in each core/thread from /cpu-map
authorSudeep Holla <sudeep.holla@arm.com>
Mon, 4 Jul 2022 10:16:02 +0000 (11:16 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Mon, 4 Jul 2022 15:23:23 +0000 (16:23 +0100)
commit8b818a434caf24eacf40a8260593a40fda030077
tree96bace87f1f9f7eed0f750fff4be31da32da0873
parentd8bb289453e52340d6b1399cbca7dbe313fcf077
arch_topology: Set cluster identifier in each core/thread from /cpu-map

Let us set the cluster identifier as parsed from the device tree
cluster nodes within /cpu-map.

We don't support nesting of clusters yet as there are no real hardware
to support clusters of clusters.

Link: https://lore.kernel.org/r/20220704101605.1318280-19-sudeep.holla@arm.com
Tested-by: Ionela Voinescu <ionela.voinescu@arm.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Ionela Voinescu <ionela.voinescu@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/base/arch_topology.c