From: Ian Campbell Subject: Re: [PATCH v2 5/6] arm32: enable PSCI secondary CPU bringup Date: Mon, 2 Dec 2013 15:09:59 +0000 Message-ID: <1385996999.7108.112.camel@kazak.uk.xensource.com> References: <1385982538-17855-1-git-send-email-andre.przywara@linaro.org> <1385982538-17855-6-git-send-email-andre.przywara@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VnV8P-0005W3-Gn for xen-devel@lists.xenproject.org; Mon, 02 Dec 2013 15:10:07 +0000 In-Reply-To: <1385982538-17855-6-git-send-email-andre.przywara@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andre Przywara Cc: xen-devel@lists.xenproject.org, julien.grall@linaro.org, patches@linaro.org, stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org On Mon, 2013-12-02 at 12:08 +0100, Andre Przywara wrote: > @@ -109,6 +110,9 @@ int __init platform_specific_mapping(struct domain *d) > #ifdef CONFIG_ARM_32 > int __init platform_cpu_up(int cpu) > { > + if ( psci_available ) > + return call_psci_cpu_on(cpu, init_secondary); > + > if ( platform && platform->cpu_up ) > return platform->cpu_up(cpu); > Make me wonder why we don't either hardcode init_secondary in call_psci_cpu_on or pass it as a parameter to cpu_up, but regardless: Acked-by: Ian Campbell (FWIW if you were to change things, I'd be in favour of hardcoding on the PSCI side) Ian.