arm64: topology: Initialise default topology state immediately
authorMark Brown <broonie@linaro.org>
Fri, 2 May 2014 20:38:28 +0000 (13:38 -0700)
committerSudeep Holla <sudeep.holla@arm.com>
Mon, 2 Jun 2014 09:47:51 +0000 (10:47 +0100)
commit449a59f7f591c00867c51c906742f43c2a6d04db
tree9b748d1cad69c3ab43d270d6ac0091ed166044b7
parent9623bac3df4d715cfb6ce3112c1eb017eb8cf962
arm64: topology: Initialise default topology state immediately

As a legacy of the way 32 bit ARM did things the topology code uses a null
topology map by default and then overwrites it by mapping cores with no
information to a cluster by themselves later. In order to make it simpler
to reset things as part of recovering from parse failures in firmware
information directly set this configuration on init. A core will always be
its own sibling so there should be no risk of confusion with firmware
provided information.

Signed-off-by: Mark Brown <broonie@linaro.org>
Reviewed-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
arch/arm64/kernel/topology.c