Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp5305599rwe; Tue, 18 Apr 2023 05:16:01 -0700 (PDT) X-Google-Smtp-Source: AKy350bllKy4pnFeHa3M+CtNwdk+PqIi4MZquOm/zGZFjF1094wNSCLTnRsE3DRmrhxvWlYa+V8o X-Received: by 2002:a17:903:32c3:b0:1a6:a375:cb44 with SMTP id i3-20020a17090332c300b001a6a375cb44mr1941257plr.39.1681820160856; Tue, 18 Apr 2023 05:16:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681820160; cv=none; d=google.com; s=arc-20160816; b=mTrQaNqjrbluPa5NUDiiiHO60J7AD9wVOS8kzv4Owqkjr6eXTfIfeqj3o/ukCWbxD2 3lZRdAKS4f1/xkk6+pnV0WWJ1gKIXDxV0P+sVeJLH0oWZ7XzT5I5/Aypt9Uuk6T7mGdB PCMYVgIJLo84U287uNLmyYCfp4n8ly8JxfCneh1yb1JQVT2TgsZNJoCZ9SRTSSGYaZHJ IjGHXoxJOCdRrkol/5uwWhNrqwp+9a06/1tN+zvx2nastcJbdWx8zwZG8JkC03dau+9T SUwl050YvXZmcCbdqqLBsYKLdfc/+oQtQhjOLZyaAEEHvwyEMEXUPaUfDakw9ju0lI9G lT9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id; bh=5N1jgtIHB+90wFkX5eLrwZMzovkLZAucsrhs35NjlC0=; b=GJhofHSLzcq0Suas90sv/jcG1qs/bfFdQb10wuP6g+XUyiOuLkakNmELuyVDdOigCo bUCScsZncp8EqynOFhQiBqqbxMI+b2mS4mAP3goUIGx6MIFkT910l9HtE/ABMuleJB4k 05kGnGbeRIW54djkgMLxHNse9CN6YooL8+v+WTrw17ULh3gQSTYgW7ZkZ63ZbdM+ZL6f kkADIonm/fmjlzGW2qk3HCQ5fWHNl0XKpXeUgp3ehasFiJVU6FCP5kkzGgNVU4SBhmk0 pnJxg92bug56lFNfPUTVcXdy33nYCAzrPJ9nBp97UfxUbeLYwUr5aOQgKSzGlo3ZMRBQ BAyA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h88-20020a17090a29e100b0024715c041c3si13773488pjd.137.2023.04.18.05.15.46; Tue, 18 Apr 2023 05:16:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230491AbjDRMPA (ORCPT + 99 others); Tue, 18 Apr 2023 08:15:00 -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 X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 > > >