Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754508Ab0K3W0F (ORCPT ); Tue, 30 Nov 2010 17:26:05 -0500 Received: from caramon.arm.linux.org.uk ([78.32.30.218]:33631 "EHLO caramon.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754217Ab0K3W0D (ORCPT ); Tue, 30 Nov 2010 17:26:03 -0500 Date: Tue, 30 Nov 2010 22:24:57 +0000 From: Russell King - ARM Linux To: Anton Vorontsov Cc: Kukjin Kim , Srinidhi Kasagar , Tony Lindgren , Catalin Marinas , Jamie Iles , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, Colin Cross , linux-tegra@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 1/8] ARM: SCU: Add common routines for secondary CPU bootup Message-ID: <20101130222457.GB9424@n2100.arm.linux.org.uk> References: <20101130171626.GA6165@oksana.dev.rtsoft.ru> <20101130171658.GA24034@oksana.dev.rtsoft.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101130171658.GA24034@oksana.dev.rtsoft.ru> User-Agent: Mutt/1.5.19 (2009-01-05) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1527 Lines: 31 On Tue, Nov 30, 2010 at 08:16:58PM +0300, Anton Vorontsov wrote: > For CNS3xxx we want to reuse the original ARM approach of booting > secondary CPUs. This patch factors out VExpress' code into a common > file, so that now platform code can call these routines. > > Note that this patch doesn't convert VExpress platform to the > generic routines. Plus, there are also a lot of other platforms > that might benefit from this change, but we'll convert them via > separate patches. I still think that we can do better with this - especially once the crappy situation with the hotplug CPU code gets resolved. The SCU does not require the pen_release code. What currently requires that is the hotplug CPU code to allow offlined CPUs to be re-woken. If these CPUs can be properly shutdown, and brought back online via their reset vector, they can be brought back online via the same method used for their initial boot. What that means is, as we send each individual CPU an IPI, we don't need the pen_release mess nor the holding pen, and all this code can go. If all that code is tied into a generic "SCU" support option, then we have to ensure that _all_ SCU using platforms can use this method before we switch to it, rather than doing it on a per-platform basis as we can now. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/