Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1549433ybt; Thu, 9 Jul 2020 09:34:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzKG7bq5f++PwerkvV89nci7XfjSf+CeCA5xyodQpkPjys92wcoXoRSihnaLYnmUsqj3Xes X-Received: by 2002:a17:906:a081:: with SMTP id q1mr50665169ejy.499.1594312477263; Thu, 09 Jul 2020 09:34:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594312477; cv=none; d=google.com; s=arc-20160816; b=tXt9Kmj0YGKgYN2oZgzzp+pmN7YzcHqyTkzM2fUOqhaP1Cf47mEBUYKGhD9HvnDmna pbTwX5ZaIohEDgPY0uDKCxuhB6/pi2QM222rDi+jH4+JJ5JMEiPxHC1MiV/YdygGpPnu PpCdFv8mDqlGGKfQJfx9PSLSU6T9xywBveb8tXV0prbg3qy6n+SVTwFC7qbaeCLzO+un YNQHHHJu3UG4O7xvTivBL+74OaiRgws9DJNETGtLTlBpJKeXAxrHSOez0zBL7K1yBEuv p8uV7I/OpFq0GwEu5dW02fNhs6moxqsoIdD1z1oXLdFOJymFUrvxqNWEd94LFg8DHXAg jjRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=p3WUOE1BFwyOWMLXIbNJG7i4gfk1IMbX9+3yZTZGgc0=; b=OZ/qqfW3awlD/m4T+dswYlQbimI9sEnYH+DFg3SSJS032g5OirHNQcvdGK+iTMkFBy fdBxykKximW/2mds7xNzthbA/wNXuCSRjQKzQwqNkNYi0cKwqWhanl9Quyr2kFe6b/Ko eyUXXTbeMhe1c8q0KgIfLKAleuvrj9D5JiBiBWKnAgNsT3N+X+EQxNoalJAHZT3EOBst AP4W37V31cgJq3D7cnvoge49XZkagFH8qFvR9rg+UUqaUKEbajbSHr2eCnsJA507kLM6 ykMIfvMDG4hfsItQGJtvaLaUUnxDV1OPP6Uf8rKJb8eWxVghWxI5hrDlm97fYKOzA/QO KhIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=hqw4zfkP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y25si2440865edm.63.2020.07.09.09.34.14; Thu, 09 Jul 2020 09:34:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=hqw4zfkP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728122AbgGIQde (ORCPT + 99 others); Thu, 9 Jul 2020 12:33:34 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:13612 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727074AbgGIQdd (ORCPT ); Thu, 9 Jul 2020 12:33:33 -0400 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 069GSsaH001240; Thu, 9 Jul 2020 18:33:27 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=STMicroelectronics; bh=p3WUOE1BFwyOWMLXIbNJG7i4gfk1IMbX9+3yZTZGgc0=; b=hqw4zfkPmSiAVjOKbFFXR17hj+FvjIVnsf2E+u1VCnJYTA6OnmCdgZwKUfsheROFR2Hx qYcNAOeoZFM9+ZZDyZtQb1FPYscHfRkQPmvzWx4xGetXakawhMyG8Ur3AgycMA7cGmnA bv94kxjz4a7W3M9FngTcznB9i4t5WZzfa2qUfy2ZdtcobyTM9CHIT5GcompPoMDFXAAA 6b7aBGykp3mw73mZOiJkv7s2Q5+jdYIPSD/j+T1KwvCVyUIZ8mBaNdhmga87SQHiDcKe XM6He93AZZ16Vfi+uibfAkV3IUmf1PIvPEjjkyoXUDSvts2dvtFaIUW9W0A/fYo96YHL FA== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 325k4cx04y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 09 Jul 2020 18:33:27 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 5E3DE10002A; Thu, 9 Jul 2020 18:33:27 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag3node1.st.com [10.75.127.7]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 51A5C2CA1F8; Thu, 9 Jul 2020 18:33:27 +0200 (CEST) Received: from lmecxl0889.tpe.st.com (10.75.127.49) by SFHDAG3NODE1.st.com (10.75.127.7) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 9 Jul 2020 18:33:26 +0200 Subject: Re: [PATCH v5 00/11] remoteproc: stm32: Add support for attaching to M4 To: Mathieu Poirier , "ohad@wizery.com" , "bjorn.andersson@linaro.org" , Loic PALLARDY , "mcoquelin.stm32@gmail.com" , Alexandre TORGUE CC: "linux-remoteproc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-stm32@st-md-mailman.stormreply.com" References: <20200707213112.928383-1-mathieu.poirier@linaro.org> From: Arnaud POULIQUEN Message-ID: <9d54383c-d653-cddf-7746-21f1001122ea@st.com> Date: Thu, 9 Jul 2020 18:33:25 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <20200707213112.928383-1-mathieu.poirier@linaro.org> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.75.127.49] X-ClientProxiedBy: SFHDAG2NODE1.st.com (10.75.127.4) To SFHDAG3NODE1.st.com (10.75.127.7) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235,18.0.687 definitions=2020-07-09_08:2020-07-09,2020-07-09 signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/7/20 11:31 PM, Mathieu Poirier wrote: > This set applies on top of [1] and refactors the STM32 platform code in > order to attach to the M4 remote processor when it has been started by the > boot loader. > > New to V5: > 1) Added Bjorn's reviewed-by to patch 06. > 2) Removed Loic's reviewed-by from patch 08, it has changed too much. > > Patches that need to be reviewed: 7, 8, 9 and 10. > > Tested on ST's mp157c development board. > > Thanks, > Mathieu > > [1]. https://patchwork.kernel.org/project/linux-remoteproc/list/?series=314523 > > Mathieu Poirier (11): > remoteproc: stm32: Decouple rproc from memory translation > remoteproc: stm32: Request IRQ with platform device > remoteproc: stm32: Decouple rproc from DT parsing > remoteproc: stm32: Remove memory translation from DT parsing > remoteproc: stm32: Parse syscon that will manage M4 synchronisation > remoteproc: stm32: Properly set co-processor state when attaching > remoteproc: Make function rproc_resource_cleanup() public > remoteproc: stm32: Split function stm32_rproc_parse_fw() > remoteproc: stm32: Properly handle the resource table when attaching > remoteproc: stm32: Introduce new attach() operation > remoteproc: stm32: Update M4 state in stm32_rproc_stop() > > drivers/remoteproc/remoteproc_core.c | 3 +- > drivers/remoteproc/stm32_rproc.c | 214 ++++++++++++++++++++++++--- > include/linux/remoteproc.h | 1 + > 3 files changed, 198 insertions(+), 20 deletions(-) > I tested the series with the [1] Minor remarks on patch 6 & 8. After fixing them, for the series: Acked-by: Arnaud Pouliquen Thank you very much for your work on this feature. Arnaud