Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1913980lql; Wed, 13 Mar 2024 11:39:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXJprjNJZapag1z2/4UQWD1eDpR4cCH+ORq9D4BK/TUIkBQdSsM9L+WR8FpAl/yoA8d/n7hRpNz23k5wF5cCF6zlmd3qbIfqU39oEM6aw== X-Google-Smtp-Source: AGHT+IGozZ8v7gcI2WbecbEldshaM+d49yKeqkaFtyJclwUW8QBMZ7qv4vzBWxvJHCYN/eYXLksN X-Received: by 2002:a17:90a:6986:b0:29b:c9ac:c563 with SMTP id s6-20020a17090a698600b0029bc9acc563mr3944089pjj.19.1710355165906; Wed, 13 Mar 2024 11:39:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710355165; cv=pass; d=google.com; s=arc-20160816; b=zhxEcqTvELeSE5DQHTGifWYlCSEpGx15mH1yXM1obfWXchC3vYnHJqr9Cb/kx4PClj P/39mNqVxUYSBSWU3Cr6iYBZiDL6D05LjQjOiZt42Weh6lOsBknji9nKm3fuTy+KMOle 1ePM/brHF3fhj/a6Cwd6v79KbwNgUgrel/L60BLV5hjk0ue8zD+6wdkrmwfXSQahAhYH ykIXgP56u/KYORFGlYDAB6YwJ5tTcPCGYYDpTp3bUOsLJTXQFmtI/kCtQ35v3yqIip6s bGeob7Gy4gi8Q+dlxuL+YbVouZbulxNGAHCu6OczgRKC78fcgDTRwM94J5dKzbCeLyQY Fn2Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=fyd+NhtBy55bv4bBZxa29NJWhKMZQmJYFYy+9Tv3Xis=; fh=nrk/BI/eMFTW9rd/bcH76DG5pmyl+0289CMN3HW2+pc=; b=F4YQ9Ozsf+oOxkm+fjdkx3CLbIcrQEp5tYxLPu+pSRthmH9l0SDlHDsPg1ORZMbcuK nqrbeEjF5cYMCecPlR0UfkS4JR3rc7pkGjU8StBV7A/jSr6GOfXwMwIp6jeV1NkCQwfH qm10wIhaYIs4+xbp8lhPb03dU3O22mRxFaKbvEKrpMhVy9+eob+1hYPWlWT6DyAFA7T5 ZRmJfUFCQGotpdTV66qfxYxhYseKuoSG9hjYI2c3n2hYX+0isXUjI/TKT2S1k0jsVyfK DM9yfq+yZiOBfjpGqkvVo+m/O+bCebtrsidIh+WUYrE09CUjGnn+TIeT+KIRhGNcpf1s 2I9g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-102250-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-102250-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id gk12-20020a17090b118c00b0029bc5917d10si1909068pjb.58.2024.03.13.11.39.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 11:39:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-102250-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-102250-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-102250-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 1179A28B604 for ; Wed, 13 Mar 2024 18:35:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1FA877F7F9; Wed, 13 Mar 2024 17:18:12 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B61CB6214A; Wed, 13 Mar 2024 17:18:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710350291; cv=none; b=QQKpstsG6/s6k2e28Otoqm0XBFOV0FUVoAWimg7aP2yeI/425wuZrj02ctXsTlyw+7tYrS67KpRzcleO5HgFQudV+Ub9KCqJAW75CoBXOTBhFC4PSnbUZSGVy9J40MFQ+/MdELHR3KGaFMJxzkYc+0XuPSZ0/FML9sB8o0BLhl8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710350291; c=relaxed/simple; bh=zl6GKPcZg55Qgo0Jw2HJS2kTGuEm21jcqfYQXWm9yxo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=lM4MEYWMbKrMYCKwFgaVk4ntwxNidKJqPixmUKAk/7tTjOAfVeSm0KSoLW3ry2TjPr5rHOKT7fsJU/b4/sIVvZfgJLInPnkIHkm+39QMMRsFLoTuUVeUYTj6cN650S39ZzKXaiO25arPGwxJ8nq0hcZz9ZO+pM4Yqgsd+0uldw8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com 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 A78411007; Wed, 13 Mar 2024 10:18:45 -0700 (PDT) Received: from e130802.arm.com (e130802.arm.com [10.1.32.25]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id B79A03F73F; Wed, 13 Mar 2024 10:18:05 -0700 (PDT) Date: Wed, 13 Mar 2024 17:17:56 +0000 From: Abdellatif El Khlifi To: Mathieu Poirier 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: <20240313171756.GA82165@e130802.arm.com> 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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. Cheers Abdellatif