arm64: topology: add MPIDR-based detection
authorZi Shen Lim <zlim@broadcom.com>
Sat, 7 Jun 2014 00:55:27 +0000 (01:55 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 9 Jul 2014 11:22:40 +0000 (12:22 +0100)
Create cpu topology based on MPIDR. When hardware sets MPIDR to sane
values, this method will always work. Therefore it should also work well
as the fallback method. [1]

When we have multiple processing elements in the system, we create
the cpu topology by mapping each affinity level (from lowest to highest)
to threads (if they exist), cores, and clusters.

[1] http://www.spinics.net/lists/arm-kernel/msg317445.html

Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Zi Shen Lim <zlim@broadcom.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>

No differences found