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 5CED7C54E67 for ; Thu, 14 Mar 2024 14:53:21 +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=zmBdkSxBUOmYNuZGLu6kOaSBWgmMtH2lUuU7dplin+o=; b=xrIvRyoxzOpZj7 dpYogjpX/cshGPMGLjCYKg2+RBM5MNzUSpBH75G5bPsqYRSsZbWLalDKAb7vQ/RxAc4CxYC1481HK /Zafhd7NvZfmmHJORHRUWc9u1WgjqBdtjxf1SjGM5YYl8pJf4Z7ffzDt3QVlVrEmB5zpeTz2sWE1r fKQtukPqLf9qFTgNO3m+lZQ7+gkdVZc8PHmC4voOX4+H9H8VHYeY1MHEo9ZBTib+0dUWAouTyR/48 6huJfZE884d2Sjxsj3f5+ZE209VvHAlqmLEnXDl79ipusIPcgp96YdXPTo2gue4mol+XlaW3MYxna roqpnZn+BXbCxPmi4eFw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rkmSC-0000000EiZV-3os5; Thu, 14 Mar 2024 14:53:08 +0000 Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rkmS9-0000000EiYm-219v for linux-arm-kernel@lists.infradead.org; Thu, 14 Mar 2024 14:53:06 +0000 Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-6e6b3dc3564so1024526b3a.2 for ; Thu, 14 Mar 2024 07:53:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710427983; x=1711032783; darn=lists.infradead.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=gQdGRCc8CvufO8pJrzg/EbeDXgOQDIEiNqPLlOCuoyM=; b=U26/yDFC1byRWwLhqyznghtGGFv4usaUckdC4SuV58gwEyVHng6BpEOxN0yVq9YzdM lXtgcvossfZK4GRHgfJj3bvLGoY2T0KwUt62kVUJt9m71eVnsn2AaxGoY9dJPbysZgMj CIyg4vpkBSomw81INJ1u2B/Batq9KHkVMOxtXpOPrVK0nr277rzzro+bebdjUOnOh+sy NYgW93Vp17d/OAHe5KCTt91UYCgZQ3D8crTAMyHDIAUrTKeCrQipn2XICEi//O+RwjhC p5bAz8yKBsJ6qJuF55vvGB7+YHDaOkt2oW0atTqvioBxQT4kJ50R2jxABRNnZRTGp2EW WIpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710427983; x=1711032783; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=gQdGRCc8CvufO8pJrzg/EbeDXgOQDIEiNqPLlOCuoyM=; b=k5kVtOBVyLV5Qy+cgEaN7Wlg4VrhaPdVM5T4q7CY1yPMaU0AvpWffIGcKJ6ws5d7Kj aWQ3i3O9ai589YPWC9+ss3PlhhUNxcC6IllpomOHTPB5jTbYSpz5i7cWQdd3UaGaR9CW CUPen/tJM/6WFiM1l5ZHpV5z5W1yGzPW4V9txhDWW0FuS4zHOABaiJKsPeMt6J8V0pi8 dWnlf7S5Y4ZCOxXZhbODde0PMQ1+SH6sCPS9Uk9o707fEr1Hunn2TQpERRT06FUves2i e6Mi4gNzk4Ec7s+uF/nOumnrrMgH+YBnUJwJHPzh2gwrgPbIEmVGLdx13KTvEx++W0cj 4HDQ== X-Forwarded-Encrypted: i=1; AJvYcCVnRLZjYNGeNHswcTJumKl6Orgt0ZDeoT1tYGQHOiDzeOqkZhCfbRt9AkpKCYzXohwnlYQWd0k54437S77rh7kX4wQ1ij0hxmdsnhh1kV7/hut/Mic= X-Gm-Message-State: AOJu0YyLD+LA+uTU2HbSIgiyr4EQzFuvoANZW+3ncUDzTuE9m9KKWvxh DAE4Zvr0T+W6Q95E3OFUmu20JcqZHnQXL3p1VIGbRWnTwDALogwq6p96zlzCUis= X-Google-Smtp-Source: AGHT+IHEMN+NstoSXqaYuO+a0b+IClYsaLbJ/T+IJD4cV0xAleMVWkTv6lKGty1MmRGzfPlPcDv1+Q== X-Received: by 2002:a05:6a00:39a1:b0:6e6:7af6:2201 with SMTP id fi33-20020a056a0039a100b006e67af62201mr1888318pfb.8.1710427982718; Thu, 14 Mar 2024 07:53:02 -0700 (PDT) Received: from p14s ([2604:3d09:148c:c800:7983:888b:1e31:65e6]) by smtp.gmail.com with ESMTPSA id fb12-20020a056a002d8c00b006e6b73eb992sm1543850pfb.118.2024.03.14.07.53.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Mar 2024 07:53:02 -0700 (PDT) Date: Thu, 14 Mar 2024 08:52:59 -0600 From: Mathieu Poirier To: Abdellatif El Khlifi Cc: Bjorn Andersson , Rob Herring , Liviu Dudau , Sudeep Holla , 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-1-abdellatif.elkhlifi@arm.com> <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: <20240313171756.GA82165@e130802.arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240314_075305_551424_DAC5E1E4 X-CRM114-Status: GOOD ( 31.33 ) 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 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. Thanks, Mathieu _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel