[PATCH 1/4] ARM: SCU: Add generic routines for secondary CPU bootup

Russell King - ARM Linux linux at arm.linux.org.uk
Sat Jul 31 11:41:34 EDT 2010


On Tue, Jul 27, 2010 at 09:11:40PM +0400, Anton Vorontsov wrote:
> For CNS3xxx we want to reuse the original ARM approach of booting
> secondary CPUs. This patch turns VExpress' code into "SCU library",
> so that now platform code can call the generic routines.

I'm not sure this should become a "SCU library" - the name seems wrong.
When you consider that the SCU is the 'snoop control unit', which has
no relation to how secondary CPUs are booted, it makes little sense.

The secondary CPU boot protocol has much more to do with the boot
loader than with the hardware.

I also suspect that we can get rid of the 'holding pen' stuff and just
rely on the IPI being sent to the intended target CPU.  I don't think
anyone has really updated this since the initial ARM SMP implementation.



More information about the linux-arm-kernel mailing list