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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0CD21C54E67 for ; Thu, 14 Mar 2024 14:59:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=H3tEarlwY73VPa+NKagrUpX5pcza8zlAXnlWir7RuLY=; b=Zr5ksal5y5Xydq MMG+L4BSxfSbudguJ3HwOAgp5oUyyI/nO6wiy08y8TMWCAgTKwEB5qMb6yzNolEL09VtpL3Bv9HFg WqO5dwsVvlo5ZVKKQgXtU+uYrtkf0Ps9VrTO81qEFJCUma4Vbpf1TF5EEtRAs7hqtgW0DLkVhys7t NC/aoQUxq2pjJQ+g5wtUrkykYtAWICPiWyjJx1r1zTbSDZ6QlXfP/3y2kv5/R5IA919xdXD5fElx+ DsAIJUWqHVh0pCmSmroM8aqCQ6iRNp/rp30YDHQofhNRFGFke4KmRowhX7arizyP4A7cfue4+iRWc 4xa1VOTngK2Q9OCXJRgw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rkmYQ-0000000EjQc-2Qvg; Thu, 14 Mar 2024 14:59:34 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rkmYM-0000000EjPe-1LNH for linux-arm-kernel@lists.infradead.org; Thu, 14 Mar 2024 14:59:31 +0000 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 535281007; Thu, 14 Mar 2024 08:00:01 -0700 (PDT) Received: from bogus (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 147DD3F762; Thu, 14 Mar 2024 07:59:22 -0700 (PDT) Date: Thu, 14 Mar 2024 14:59:20 +0000 From: Sudeep Holla To: Mathieu Poirier Cc: Abdellatif El Khlifi , Bjorn Andersson , Sudeep Holla , Rob Herring , Liviu Dudau , Lorenzo Pieralisi , Krzysztof Kozlowski , Conor Dooley , Drew.Reed@arm.com, Adam.Johnston@arm.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org Subject: Re: [PATCH 1/3] remoteproc: Add Arm remoteproc driver Message-ID: References: <20240301164227.339208-2-abdellatif.elkhlifi@arm.com> <20240307194026.GA355455@e130802.arm.com> <20240311114442.GA82865@e130802.arm.com> <20240312173252.GA38992@e130802.arm.com> <20240313171756.GA82165@e130802.arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240314_075930_471295_D277E924 X-CRM114-Status: GOOD ( 32.34 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Mar 14, 2024 at 08:52:59AM -0600, Mathieu Poirier wrote: > On Wed, Mar 13, 2024 at 05:17:56PM +0000, Abdellatif El Khlifi wrote: > > Hi Mathieu, > > > > On Wed, Mar 13, 2024 at 10:25:32AM -0600, Mathieu Poirier wrote: > > > On Tue, Mar 12, 2024 at 05:32:52PM +0000, Abdellatif El Khlifi wrote: > > > > Hi Mathieu, > > > > > > > > On Tue, Mar 12, 2024 at 10:29:52AM -0600, Mathieu Poirier wrote: > > > > > > This is an initial patchset for allowing to turn on and off the remote processor. > > > > > > The FW is already loaded before the Corstone-1000 SoC is powered on and this > > > > > > is done through the FPGA board bootloader in case of the FPGA target. Or by the Corstone-1000 FVP model > > > > > > (emulator). > > > > > > > > > > > >From the above I take it that booting with a preloaded firmware is a > > > > > scenario that needs to be supported and not just a temporary stage. > > > > > > > > The current status of the Corstone-1000 SoC requires that there is > > > > a preloaded firmware for the external core. Preloading is done externally > > > > either through the FPGA bootloader or the emulator (FVP) before powering > > > > on the SoC. > > > > > > > > > > Ok > > > > > > > Corstone-1000 will be upgraded in a way that the A core running Linux is able > > > > to share memory with the remote core and also being able to access the remote > > > > core memory so Linux can copy the firmware to. This HW changes are still > > > > This is why this patchset is relying on a preloaded firmware. And it's the step 1 > > > > of adding remoteproc support for Corstone. > > > > > > > > > > Ok, so there is a HW problem where A core and M core can't see each other's > > > memory, preventing the A core from copying the firmware image to the proper > > > location. > > > > > > When the HW is fixed, will there be a need to support scenarios where the > > > firmware image has been preloaded into memory? > > > > No, this scenario won't apply when we get the HW upgrade. No need for an > > external entity anymore. The firmware(s) will all be files in the linux filesystem. > > > > Very well. I am willing to continue with this driver but it does so little that > I wonder if it wouldn't simply be better to move forward with upstreaming when > the HW is fixed. The choice is yours. > I think Robin has raised few points that need clarification. I think it was done as part of DT binding patch. I share those concerns and I wanted to reaching to the same concerns by starting the questions I asked on corstone device tree changes. -- Regards, Sudeep _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel