MIPS: generic: enable SMP on SMVP systems
authorSander Vanheule <sander@svanheule.net>
Sat, 18 Dec 2021 10:05:11 +0000 (11:05 +0100)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Tue, 21 Dec 2021 12:51:47 +0000 (13:51 +0100)
commit18c7e03400aeb48f9d51df453b7ace5391ef4d29
tree143fa7779450ef34a27d03728e9c1e7b48275af6
parent047ff68b43d4dc912dd89d8e156e74af9f69ca93
MIPS: generic: enable SMP on SMVP systems

In addition to CPS SMP setups, also try to initialise MT SMP setups with
multiple VPEs per CPU core. CMP SMP support is not provided as it is
considered deprecated.

Additionally, rework the code by dropping the err variable and make it
similar to how other platforms perform this initialisation.

Co-developed-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Signed-off-by: Sander Vanheule <sander@svanheule.net>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/generic/init.c