468bea4128
The current AArch32 version of plat_arm_calc_core_pos uses an incorrect
algorithm to calculate the linear position of a core / PE from its
MPIDR.
This patch corrects the algorithm to:
(ClusterId * FVP_MAX_CPUS_PER_CLUSTER) * FVP_MAX_PE_PER_CPU
+ (CPUId * FVP_MAX_PE_PER_CPU)
+ ThreadId
which supports cores where there are more than 1 PE per CPU.
NOTE: the AArch64 version was fixed in
|
||
---|---|---|
.. | ||
arm | ||
common | ||
compat | ||
hisilicon | ||
mediatek | ||
nvidia/tegra | ||
qemu | ||
rockchip | ||
rpi3 | ||
socionext/uniphier | ||
xilinx/zynqmp |