On Fri, 2011-12-16 at 15:29 -0600, Scott Wood wrote: > It would be nice if we could eliminate all usage of the boot cpu dtb > field -- it's easy to forget to set it, especially if you're not making > an AMP config. The default -1 means this patch would break booting with > such a tree. > > If we don't want to record the PIR of the first CPU to enter as the boot > CPU (is the concern implementations where the CPU node's reg is not the > same as what's in PIR?), how about just having a variable that gets set > before releasing secondaries? If you're in the boot entry code and that > variable is set, you're a secondary. Or, use a distinct release address > for secondaries rather than __early_start.
Of course you can only do that on processors that have a reliable PIR :-) Cheers, Ben. _______________________________________________ Linuxppc-dev mailing list [email protected] https://lists.ozlabs.org/listinfo/linuxppc-dev
