From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E61B7C6FD18 for ; Tue, 18 Apr 2023 12:15:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230032AbjDRMPB (ORCPT ); Tue, 18 Apr 2023 08:15:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230434AbjDRMO7 (ORCPT ); Tue, 18 Apr 2023 08:14:59 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4979449C6 for ; Tue, 18 Apr 2023 05:14:25 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 81E6E1691; Tue, 18 Apr 2023 05:14:30 -0700 (PDT) Received: from [10.57.21.174] (unknown [10.57.21.174]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 511963F587; Tue, 18 Apr 2023 05:13:45 -0700 (PDT) Message-ID: Date: Tue, 18 Apr 2023 13:14:05 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: SMP enablement on Cortex-R52 (using PSCI ?) To: Ayan Kumar Halder , mark.rutland@arm.com, lpieralisi@kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Stefano Stabellini References: <1cb7d428-c047-1485-e39d-465806f6ef0b@amd.com> Content-Language: en-US From: Vladimir Murzin In-Reply-To: <1cb7d428-c047-1485-e39d-465806f6ef0b@amd.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 4/14/23 12:24, Ayan Kumar Halder wrote: > Hi PSCI developers, > > We have a SoC where there are 4 Cortex-R52 which is distributed in two clusters. So we have 2 Cortex-R52 in one cluster and 2 Cortex-R52 in another cluster. > > We wish to enable SMP on the 2 R52 within a cluster with Xen hypervisor (EL2 software) running on them. > > We are trying to explore if we can use PSCI for booting the secondary cores. > snip > > I wish to know how do we wake up the secondary core if PSCI is not supported. > It looks to me you need to provide/use platform defined method. I see that Xen provides struct platform_desc with smp_init and cpu_up callbacks... Cheers Vladimir > Kind regards, > Ayan > > >