css/sgi: rework the core position calculation function
authorVishwanatha HG <vishwanatha.hg@arm.com>
Tue, 8 May 2018 11:45:37 +0000 (17:15 +0530)
committerVishwanatha HG <vishwanatha.hg@arm.com>
Wed, 16 May 2018 06:41:41 +0000 (12:11 +0530)
commit8aaa8634a30ccc896178e7a47b62019187df247b
tree2931fdb143d37f4a9fc9edea5bf9b5cc7dadbfa2
parent8ac176585a82d983bdd6c86f23dd6549ccd88a0e
css/sgi: rework the core position calculation function

The MT bit in MPIDR is always set for SGI platforms and so the
core position calculation code is updated to take into account
the thread affinity value as well.

Change-Id: I7b2a52707f607dc3859c6bbcd2b145b7987cb4ed
Signed-off-by: Chandni Cherukuri <chandni.cherukuri@arm.com>
Signed-off-by: Vishwanatha HG <vishwanatha.hg@arm.com>
plat/arm/css/common/css_topology.c
plat/arm/css/sgi/aarch64/sgi_helper.S
plat/arm/css/sgi/include/platform_def.h
plat/arm/css/sgi/sgi_topology.c