[PATCH 05/10] ARM: zx: bring up the secondary core

Shawn Guo
2015-03-16T07:23:29Z

On Sat, Mar 14, 2015 at 10:25:03PM +0100, Arnd Bergmann wrote:
> On Saturday 14 March 2015 19:49:40 Jun Nie wrote:
> > +
> > + /*
> > + * This is really belt and braces; we hold unintended secondary
> > + * CPUs in the holding pen until we're ready for them. However,
> > + * since we haven't sent them a soft interrupt, they shouldn't
> > + * be there.
> > + */
> > + write_pen_release(cpu);
> > +
> >
>
> Why do you need the holding pen on this platform? Is there a firmware
> bug or just missing hardware support for proper SMP power management?

Arnd,

As this is how things are handled in vendor's kernel, we thought the
hardware might be lack of SMP power management. But we will check with
vendor to see if there is any level of hardware support for secondary
core management, so that we can save the use of holding pen.

Thanks for the comment.

Shawn