]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
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)
committerKelsey Skunberg <kelsey.skunberg@canonical.com>
Thu, 17 Sep 2020 06:47:04 +0000 (00:47 -0600)
commitb0329237c7f184a6467df7f4c221fef81a90ea97
tree940f811687766dc8bbfbc01a541266f8a0eb0e51
parent0979cd50ada55619dd1fd27adf653ca17ea29cfe
MIPS: BMIPS: Also call bmips_cpu_setup() for secondary cores

BugLink: https://bugs.launchpad.net/bugs/1895880
[ 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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: William Breathitt Gray <william.gray@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
arch/mips/kernel/smp-bmips.c