[RFC 2/3] zImage: SMP hold

Geoff Levand geoffrey.levand at am.sony.com
Wed Feb 21 01:32:03 EST 2007


David Gibson wrote:
> On Sat, Feb 17, 2007 at 05:17:04PM -0800, Geoff Levand wrote:
>> Add SMP secondary hold helper routines to the powerpc zImage
>> bootwrapper.  For platforms which are entered with multiple cpus.
>> These routines can be used to hold the secondary cpus until the
>> kernel is ready for entry.
> 
> Could we have these functions in their own library module.  That way
> they can be omitted in the wrappers for strictly-UP platforms (many
> embedded), or platforms where the secondary CPUs are held in firmware
> until the kernel releases.

After some feedback, I decided to drop trying to support calling C from
the secondary CPUs.  That will simplify this to just a few bytes.  We can
think about optimization if another platform needs to use either the
exception vectors or the SMP support.  They are independent, but I'll just
put them together in in head.c for convenience.

-Geoff





More information about the Linuxppc-dev mailing list