Subject: Re: [patch 24/33] powerpc: Correct __secondary_hold comment

From: Segher Boessenkool <[email-masked]>
Date: Mon, 18 Jun 2007 18:56:58 +0200

> How does this text sound?
>
> This code starting at offset 0x60 is used to hold secondary processors
> before the kernel has been relocated to its linked address.  Any
> platform or pre-boot environment may transfer secondary processors to
> the kernel by copying the first 0x100 bytes to address 0, and then
> instructing the secondary cpus to branch to address 0x60 after placing
> their hardware id (as specified by the device tree) in r3.

I think it is a Really Bad Idea(tm) to make this part of
the kernel ABI.  Can't you just make the secondaries enter
the kernel by jumping to the normal kernel entry point
(with some flag set in some register I suppose)?

Segher