realtek: use upstream recommendation for secondary CPU start
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Sun, 18 Sep 2022 18:30:39 +0000 (20:30 +0200)
committerSander Vanheule <sander@svanheule.net>
Sun, 18 Sep 2022 18:38:56 +0000 (20:38 +0200)
commit3f41360eb70c775764408b6dd353d83fa6cab943
tree03664a86191290d5737deb905ff692e65c858d5f
parentbcb5d6b21ba574db1d02385b494eb01fe46bf8aa
realtek: use upstream recommendation for secondary CPU start

Currently we fix interrupts/timers for the secondary CPU by patching
vsmp_init_secondary(). Get a little bit more generic and use the
upstream recommended way instead. Additionally avoid a check around
register_cps_smp_ops() because it does that itself.

See https://lkml.org/lkml/2022/9/12/522

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
target/linux/realtek/files-5.10/arch/mips/rtl838x/prom.c
target/linux/realtek/patches-5.10/309-cevt-rtl9300-support.patch