Searched hist:"6744 d07d9475adb49352fa57aa72fce17a95d757" (Results 1 – 2 of 2) sorted by relevance
| /rk3399_ARM-atf/plat/rpi/common/ |
| H A D | rpi3_topology.c | 6744d07d9475adb49352fa57aa72fce17a95d757 Fri Dec 01 03:43:53 UTC 2023 Mario Bălănică <mariobalanica02@gmail.com> fix(rpi): consider MT when calculating core index from MPIDR
RPi 5 has newer Armv8.2 cores where the MT bit is set to indicate that the lowest affinity level represents a thread, but there is only one thread per core.
To deal with this, simply right shift MPIDR by one affinity level to get the cluster and core IDs back into Aff1 and Aff0 as expected.
Change-Id: I2bafba38f82fd9a6ef6f2fdf2c089b754279a6de Signed-off-by: Mario Bălănică <mariobalanica02@gmail.com>
|
| /rk3399_ARM-atf/plat/rpi/common/aarch64/ |
| H A D | plat_helpers.S | 6744d07d9475adb49352fa57aa72fce17a95d757 Fri Dec 01 03:43:53 UTC 2023 Mario Bălănică <mariobalanica02@gmail.com> fix(rpi): consider MT when calculating core index from MPIDR
RPi 5 has newer Armv8.2 cores where the MT bit is set to indicate that the lowest affinity level represents a thread, but there is only one thread per core.
To deal with this, simply right shift MPIDR by one affinity level to get the cluster and core IDs back into Aff1 and Aff0 as expected.
Change-Id: I2bafba38f82fd9a6ef6f2fdf2c089b754279a6de Signed-off-by: Mario Bălănică <mariobalanica02@gmail.com>
|