Skip to content

Commit 1585def

Browse files
Lorenzo Pieralisipawelmoll
authored andcommitted
ARM: vexpress: extend the MPIDR range used for pen release check
In ARM multi-cluster systems the MPIDR affinity level 0 cannot be used as a single cpu identifier, affinity levels 1 and 2 must be taken into account as well. This patch extends the MPIDR usage to affinity levels 1 and 2 in versatile secondary cores start up code in order to compare the passed pen_release value with the full-blown affinity mask. Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Signed-off-by: Liviu Dudau <liviu.dudau@arm.com> Acked-by: Nicolas Pitre <nico@linaro.org> Signed-off-by: Pawel Moll <pawel.moll@arm.com>
1 parent 7d1f9ae commit 1585def

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/arm/plat-versatile/headsmp.S‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*/
2121
ENTRY(versatile_secondary_startup)
2222
mrc p15, 0, r0, c0, c0, 5
23-
and r0, r0, #15
23+
bic r0, #0xff000000
2424
adr r4, 1f
2525
ldmia r4, {r5, r6}
2626
sub r4, r4, r5

0 commit comments

Comments
 (0)