Re: [PATCH v3 0/8] ARM: sun9i: SMP and CPU hotplug support

From: Nicolas Pitre
Date: Mon Jan 15 2018 - 16:00:53 EST


On Mon, 15 Jan 2018, Chen-Yu Tsai wrote:

> Changes since v2:
> - Do away with the MCPM framework, directly implement smp_ops
> - Some debug messages were clarified
> - New ARCH_SUNXI_MCPM Kconfig symbol for this feature

You should use ARCH_SUNXI_SMP instead to avoid confusion with the actual
MCPM code. Ditto for function names as Dave mentioned.

For the ARM to Thumb switch you could add something like this at the
beginning of your entry code:

#ifdef CONFIG_THUMB2_KERNEL
.arm
mov ip, #1
bx ip
.thumb
#endif
[your code follows here]

And make sure that code is word aligned.


Nicolas