Thread (5 messages) flat view 5 messages, 3 authors, 2007-02-20

Re: [RFC 2/3] zImage: SMP hold

From: Geoff Levand <hidden>
Date: 2007-02-20 14:32:10

David Gibson wrote:
On Sat, Feb 17, 2007 at 05:17:04PM -0800, Geoff Levand wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help