realtek: initialise mulithreading on supported SoCs wip/rtl-remove-plat-setup
authorSander Vanheule <sander@svanheule.net>
Sat, 11 Dec 2021 18:58:53 +0000 (19:58 +0100)
committerSander Vanheule <sander@svanheule.net>
Sun, 12 Dec 2021 19:54:28 +0000 (20:54 +0100)
commita1fcfd4ccc97ec24933cbdb990b6425782ecddac
treef96dea9bbac39e4e5f62177783266b0bbe24d0af
parentb15f9bdf8a49e61b6ee6f1e862cc2766ade0becb
realtek: initialise mulithreading on supported SoCs

In addition to CPS SMP setups, also try to initialise MT SMP setups with
multiple VPEs per CPU core on MIPS_GENERIC. CMP SMP support is not
provided as it is considered deprecated. This is required to enabled SMP
on RTL839x and RTL930x devices.

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>
target/linux/realtek/patches-5.10/310-MIPS-generic-enable-SMP-on-SMVP-systems.patch [new file with mode: 0644]