ARM platforms: Add support for MT bit in MPIDR
This patch modifies some of the functions in ARM platform layer to cater
for the case when multi-threading `MT` is set in MPIDR. A new build flag
`ARM_PLAT_MT` is added, and when enabled, the functions accessing MPIDR
now assume that the `MT` bit is set for the platform and access the bit
fields accordingly.

Also, a new API plat_arm_get_cpu_pe_count is added when `ARM_PLAT_MT` is
enabled, returning the PE count within the physical cpu corresponding to
`mpidr`.

Change-Id: I04ccf212ac3054a60882761f4087bae299af13cb
Signed-off-by: Summer Qin <summer.qin@arm.com>
1 parent d6845d3 commit d8d6cf247b1b5691d23e50c16377c0e2248cdd97
@Summer Qin Summer Qin authored on 28 Feb 2017
Showing 8 changed files
View
docs/user-guide.md
View
include/lib/aarch32/arch.h
View
include/lib/aarch64/arch.h
View
include/plat/arm/common/plat_arm.h
View
plat/arm/common/arm_common.mk
View
plat/arm/common/arm_topology.c
View
plat/arm/css/common/css_topology.c
View
plat/arm/css/drivers/scpi/css_scpi.c