]> xenbits.xensource.com Git - people/julieng/boot-wrapper-aarch64.git/commit
Test all MPIDR affinity bits
authorMark Rutland <mark.rutland@arm.com>
Thu, 16 May 2013 10:07:41 +0000 (11:07 +0100)
committerMark Rutland <mark.rutland@arm.com>
Wed, 5 Jun 2013 12:57:42 +0000 (13:57 +0100)
commit76eca64800b99aaf0c3d7e46b2111875f266e05e
treecd6a8420c77568fb8460ed452ec273e5491d9311
parentcc281ad661f59102b52ee1274555e69b1a3bd887
Test all MPIDR affinity bits

Currently we only test the Aff0 bits of the MPIDR to determine the
'primary' CPU. In multi-cluster systems, MPIDR.Aff{3,2,1} may not be
zero, and there may by multiple CPUs where MPIDR.Aff0 is zero. In these
systems we might determine that two cpus are the primary CPU.

This patch adds a MPIDR_ID_BITS mask, and uses it in all cases we test
the MPIDR, making this safe for multi-cluster systems. This doesn't
bring full support for multi-cluster systems, however, as they may
require additional hardware to be set up (e.g. CCI).

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
boot.S
common.S