]> Git Repo - linux.git/commit
MIPS: BMIPS: support booting from physical CPU other than 0
authorFlorian Fainelli <[email protected]>
Wed, 26 Jun 2013 18:11:56 +0000 (18:11 +0000)
committerRalf Baechle <[email protected]>
Mon, 1 Jul 2013 13:10:57 +0000 (15:10 +0200)
commit4df715aaf566110bedb3751ed235a3bacdebbdde
treeda36cde86ad23e4bab0077e9528959a2bc93f293
parent3ddc14add5e6341cf8ef4058c34c67ba7fd15317
MIPS: BMIPS: support booting from physical CPU other than 0

BMIPS43xx CPUs have two hardware threads, and on some SoCs such as 3368,
the bootloader has configured the system to boot from TP1 instead of the
more usual TP0. Create the physical to logical CPU mapping to cope with
that, do not remap the software interrupts to be cross CPUs such that we
do not have to do use the logical CPU mapping further down the code, and
finally, reset the slave TP1 only if booted from TP0.

Signed-off-by: Jonas Gorski <[email protected]>
Signed-off-by: Florian Fainelli <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/5553/
Patchwork: https://patchwork.linux-mips.org/patch/5556/
Signed-off-by: Ralf Baechle <[email protected]>
arch/mips/kernel/smp-bmips.c
This page took 0.06128 seconds and 4 git commands to generate.