Re: [PATCH 9/9] ARM: mstar: SMP support

2020-11-30 Thread Arnd Bergmann
On Mon, Nov 30, 2020 at 3:25 PM Daniel Palmer wrote: > > Hi Arnd, > > On Mon, 30 Nov 2020 at 22:42, Arnd Bergmann wrote: > > > +struct smp_operations __initdata mstarv7_smp_ops = { > > > + .smp_boot_secondary = mstarv7_boot_secondary, > > > +}; > > > +#endif > > > > So no hotplug operation

Re: [PATCH 9/9] ARM: mstar: SMP support

2020-11-30 Thread Daniel Palmer
Hi Arnd, On Mon, 30 Nov 2020 at 22:42, Arnd Bergmann wrote: > > +struct smp_operations __initdata mstarv7_smp_ops = { > > + .smp_boot_secondary = mstarv7_boot_secondary, > > +}; > > +#endif > > So no hotplug operations? Not yet. There are controls to power down different bits of the chip,

Re: [PATCH 9/9] ARM: mstar: SMP support

2020-11-30 Thread Arnd Bergmann
On Mon, Nov 30, 2020 at 2:10 PM Daniel Palmer wrote: > +#ifdef CONFIG_SMP > +static int mstarv7_boot_secondary(unsigned int cpu, struct task_struct *idle) > +{ > + struct device_node *np; > + u32 bootaddr = (u32) __pa_symbol(secondary_startup_arm); > + void __iomem *smpctrl = 0;