MIPS: BMIPS: Also call bmips_cpu_setup() for secondary cores
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 19 Aug 2020 18:26:45 +0000 (11:26 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Sep 2020 17:14:14 +0000 (19:14 +0200)
commit17c1b210b6eae92193bd0f442136a27ac93c9064
treec3d353b67b803b8d39dde89948b7627cc5f646c2
parentf39c875a8eeb88ac0fe37e58385a2f23176f10a4
MIPS: BMIPS: Also call bmips_cpu_setup() for secondary cores

[ Upstream commit e14f633b66902615cf7faa5d032b45ab8b6fb158 ]

The initialization done by bmips_cpu_setup() typically affects both
threads of a given core, on 7435 which supports 2 cores and 2 threads,
logical CPU number 2 and 3 would not run this initialization.

Fixes: 738a3f79027b ("MIPS: BMIPS: Add early CPU initialization code")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/mips/kernel/smp-bmips.c