On Thu, Dec 02, 2010 at 04:28:40PM +0000, Catalin Marinas wrote:
You do realise the function called from architecture independent code is
called 'smp_prepare_cpus' ?
What if a platform, for what ever reason, wants to have 3 CPUs,
numbered 0, 2, 3 ? That's the reason why the code which sets the
possible and present maps isn't in the ARM core code - Eg, we don't
know if a platform wants to keep CPU 1 in AMP mode to run some
special software on it.
I don't think it's worth it because I think trying to considate this
is going to cripple the code structure in the future.
What we currently have is a nice sane separation of the core SMP
support from the platform specific parts of the SMP support.
BTW, is it worth making sure that the IC and SCU standby mode bits
are set for A9 MPCore ?