Skip to content
Commit eb50439b authored by Will Deacon's avatar Will Deacon Committed by Russell King
Browse files

ARM: 7293/1: logical_cpu_map: decouple CPU mapping from SMP



It turns out that the logical CPU mapping is useful even when !CONFIG_SMP
for manipulation of devices like interrupt and power controllers when
running a UP kernel on a CPU other than 0. This can happen when kexecing
a UP image from an SMP kernel.

In the future, multi-cluster systems running AMP configurations will
require something similar for mapping cluster IDs, so it makes sense to
decouple this logic in preparation for this support.

Acked-by: default avatarYang Bai <hamo.by@gmail.com>
Acked-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
Reported-by: default avatarJoerg Roedel <joerg.roedel@amd.com>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent a092f2b1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment