ARM: mstar: SMP support
authorDaniel Palmer <daniel@0x0f.com>
Tue, 1 Dec 2020 13:43:30 +0000 (22:43 +0900)
committerArnd Bergmann <arnd@arndb.de>
Wed, 9 Dec 2020 16:45:40 +0000 (17:45 +0100)
commit5919eec0f09214901b09faeaf6341addebc57a89
tree16397de3597a073bea7cf74a586bcc6a66b9ff43
parentecaafac1eb73de8209680ec030769a2def4801e5
ARM: mstar: SMP support

This patch adds SMP support for MStar/Sigmastar chips that have a second core
like those in the infinity2m family.

So far only single and dual core chips have been found so this does
the bare minimum to boot the second core. From what I can tell not having
the "holding pen" code to handle multiple cores is fine if there is only
one core the will get booted. This might need to be reconsidered if chips
with more cores turn up.

Signed-off-by: Daniel Palmer <daniel@0x0f.com>
Link: https://lore.kernel.org/r/20201201134330.3037007-11-daniel@0x0f.com'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-mstar/mstarv7.c