Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp595367pxf; Thu, 11 Mar 2021 10:10:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJwXASXcYSEDXbCpFN5zLsGT+Hg2NGxqpVYXg3ZtiqupFkdyC//GKflpNV3aL66dz/zl+lYf X-Received: by 2002:a17:907:971a:: with SMTP id jg26mr4409226ejc.317.1615486235059; Thu, 11 Mar 2021 10:10:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615486235; cv=none; d=google.com; s=arc-20160816; b=kGX2xexHCTVWncpYYY6yaq0XMhfm71B5/NTC/Ox+RxOGy5kgyvjYc1gPA0R5+Gl8f/ 0LJ2ldnJkOifuSbR5o9cGZzVnUz011XwQfK+Tucx1rGtzqFH1DhDOviJ7GIcmanu7DsZ gPMYEAShpuMnwTEqsWIJHP3kJCMjGL/CAOf8nx1D0Whc5Ysq/Acv8LGtdaTm6efc5ngy GcQRsZLniY5pwrmgLoaTnHtLNltsxzVMHZRTiIohWoec0Nrct+EKE+ondn4PST1NhdjZ 74qnM1CiEcAClcF2o40e5mlCoh8wUKTid/zE8nPU6T7BDGRSyrdkoH6AI7JfcYcqwBIV kfMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=BAkVYaDZXDvqzd+93q6mQyCc1QCzmHmhvWDJslwlLVQ=; b=ZaM7omsjH8sl7mjeeuLRbjKnXw995LSKLFXw2g8DbcezENPV6zavfIZdgA6K27dQQA +0Nazp+Vaw7sHCDzCGYzKSQ88DIcA/PlandLPIGbBxu7jyfuUrJPi7WbqJL7JmccrYZf yOS7PW2/LV5oYiM827MkcN7ZhFbZii8h/In5fBba9jXbQSli2ryBdhZpfySmplb96dGE G5EVqpTIHxunA4s5W3E114AVBKe/VMfnp7TqsO2GR6YNcEP5pZ0M0J1IJkimm2P0oz9G 1j25aWAd7g3VphFDUTLghn9pxJNd7/YoezxntyldJi8CoW8aFHJlzRPvCtlTOHVoH6Al 8DOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZpwaJSeD; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f9si2266996ejk.446.2021.03.11.10.10.06; Thu, 11 Mar 2021 10:10:35 -0800 (PST) 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=@linaro.org header.s=google header.b=ZpwaJSeD; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229675AbhCKSGo (ORCPT + 99 others); Thu, 11 Mar 2021 13:06:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230233AbhCKSGe (ORCPT ); Thu, 11 Mar 2021 13:06:34 -0500 Received: from mail-ot1-x331.google.com (mail-ot1-x331.google.com [IPv6:2607:f8b0:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DDE6C061761 for ; Thu, 11 Mar 2021 10:06:34 -0800 (PST) Received: by mail-ot1-x331.google.com with SMTP id m21-20020a9d7ad50000b02901b83efc84a0so50171otn.10 for ; Thu, 11 Mar 2021 10:06:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=BAkVYaDZXDvqzd+93q6mQyCc1QCzmHmhvWDJslwlLVQ=; b=ZpwaJSeDKiTDoplyS5R3U3C6LU/TzxwkihHTdD24J5F3Gy7cHA4cHcaBGn76kCWLIK TFlFe/Jntcph5ybgEWjuxnSa3IdxAsUB7bh3FqO/C3nXDyDhapRBXtBdASbpLFSBWxT5 G0/+aodlizUHZehcYgPJDXIc/sDXnIhxzFBaRsK2dCYnSrcXYEr4kgDZd3qIyOBTM32h bYdj7+z26r6eLv+xcbYFOqLc6vsg/ZT+Kt9qagkR5QfNvsr8WPb5PhkHrhUZ7DwdfhiT MwCr36Tk2tfVTuN1Yz4H0HZQYLpCzEm9OXaZXdaci7gUzlcekzX+cY9c0+QZTZcRDFqv HKXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=BAkVYaDZXDvqzd+93q6mQyCc1QCzmHmhvWDJslwlLVQ=; b=VxXgSSk27+TBhBmMs6iLfHKVqmcAPAklpYIPuujuVKSVu1wBZFu7UB7DFx8pOAVI9u T+dCRriFDC1xPpX29kAGB4fWAVgD9EwyDKn0xABY+Jt9JRmdSp17D81LwIZD2ljIWnO1 nWWT7VAeGxQPhJRf6NfAv8MFkW3QLUos2WOXAq6Uv6PvA7kHRAMhm1mrCQB8RJxoIJaX izPfauUGTzbOWK3cekF4XENK2GLQRk69zoVlzZ0yiF3l0uSViUqugUjUXt/G6mD4kyBA KFzRyBG8DQggXM66xWqRv1R7L6pKgeYPTdKoYgVMiotXif2eh9lu8yNDz1mE6oPLqdMY WD5g== X-Gm-Message-State: AOAM530Cd/zEmqTXqoM65Ev0wBuLge94Xyis7iFHN40R7rE1D5VFdsEZ zA0KOkpcnQeMHQpZfEoajnZS4+rtrZxrbA== X-Received: by 2002:a9d:86c:: with SMTP id 99mr91856oty.71.1615485993381; Thu, 11 Mar 2021 10:06:33 -0800 (PST) Received: from builder.lan (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id f8sm774478otp.71.2021.03.11.10.06.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Mar 2021 10:06:32 -0800 (PST) Date: Thu, 11 Mar 2021 12:06:30 -0600 From: Bjorn Andersson To: Mathieu Poirier Cc: "Peng Fan (OSS)" , "ohad@wizery.com" , "o.rempel@pengutronix.de" , "robh+dt@kernel.org" , "devicetree@vger.kernel.org" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , "linux-remoteproc@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "paul@crapouillou.net" , "matthias.bgg@gmail.com" , "agross@kernel.org" , "patrice.chotard@st.com" Subject: Re: [PATCH V13 00/10] remoteproc: imx_rproc: support iMX8MQ/M Message-ID: References: <1615029865-23312-1-git-send-email-peng.fan@oss.nxp.com> <20210308160815.GB3977653@xps15> <20210311173818.GB1113417@xps15> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210311173818.GB1113417@xps15> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 11 Mar 11:38 CST 2021, Mathieu Poirier wrote: > On Thu, Mar 11, 2021 at 01:26:25AM +0000, Peng Fan (OSS) wrote: > > Mathieu, > > > > > Subject: Re: [PATCH V13 00/10] remoteproc: imx_rproc: support iMX8MQ/M > > > > > > On Sat, Mar 06, 2021 at 07:24:15PM +0800, peng.fan@oss.nxp.com wrote: > > > > From: Peng Fan > > > > > > > > V13: > > > > Add R-b tag from Rob for patch 1. > > > > Drop the reserved memory node from patch 2 per Rob's comment. > > > > Mathieu, Bjorn > > > > Only patch 2 not have R-b/A-b tag, but since Rob's only has a minor > > > comment, and > > > > addressed in this version, is it ok for you take into remoteproc next > > > branch? > > > > Thanks. > > > > > > As much as I want to, there is no way to move forward without an > > > acknowledgement from Rob. > > > > Rob has gave his R-b tag for patch 2/13, please help pick up this patchset. > > I really wanna this feature in which has been for a long time. Then > > I will move on to add new stuff. > > > > This set looks good to me - Bjorn will likely pick it up shortly. > Certainly, I'm just waiting for tuxbuild to get back with some build results before I'm pushing the new branch(es). Regards, Bjorn > > Thanks, > > Peng. > > > > > > > > > > > > > > > V12: > > > > Add maxItems to avoid dt_bindings_check fail Rebased on top of > > > > linux-next > > > > > > > > V11: > > > > Per Rob's comments, fix memory-region in patch 1/10 Rebased on top > > > > of Linux-next > > > > > > > > V10: > > > > Per Rob's comments, fix patch 1/10 > > > > > > > > V9: > > > > Per Mathieu's comments, > > > > update the tile of yaml in patch 2/10 > > > > update the Kconfig and MODULE_DESCRIPTION, I merge this change in > > > patch 8/10, > > > > since this is a minor change, I still keep Mathieu's R-b tag. If any > > > objection, I could remove. > > > > Add R-b tag in Patch 10/10 > > > > > > > > Rob, please help review patch 1/10 and 2/10 > > > > > > > > V8: > > > > Address sparse warning in patch 4/10 reported by kernel test robot > > > > > > > > V7: > > > > Add R-b tag from Mathieu > > > > vdevbuffer->vdev0buffer in patch 1/10, 7/10 correct err msg and > > > > shutdown seq per Mathieu's comments in patch 10/10 Hope this version > > > > is ok to be merged. > > > > > > > > V6: > > > > Add R-b tag from Mathieu > > > > Convert imx-rproc.txt to yaml and add dt-bindings support for > > > > i.MX8MQ/M, patch 1/10 2/10 No other changes. > > > > > > > > V5: > > > > Apply on Linux next > > > > Add V5 subject prefix > > > > Add R-b tag from Bjorn for 1/8, 2/8, 3/8 > > > > > > > > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatc > > > > > > > hwork.kernel.org%2Fproject%2Flinux-remoteproc%2Fcover%2F20201229033 > > > 019 > > > > .25899-1-peng.fan%40nxp.com%2F&data=04%7C01%7Cpeng.fan%40n > > > xp.com%7 > > > > > > > C18c2709725e14cbab54408d8e24c6492%7C686ea1d3bc2b4c6fa92cd99c5c3 > > > 01635%7 > > > > > > > C0%7C0%7C637508165016988280%7CUnknown%7CTWFpbGZsb3d8eyJWIjoi > > > MC4wLjAwMD > > > > > > > AiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata > > > =bwlT > > > > uTk6iRuZke6SMhuyB2gxniStfxnX%2BKlVgm7MZuk%3D&reserved=0 > > > > > > > > V4: > > > > According to Bjorn's comments, add is_iomem for da to va usage 1/8, > > > > 2/8 is new patch 3/8, follow Bjorn's comments to correct/update the > > > > err msg. > > > > 6/8, new patch > > > > 8/8, use dev_err_probe to simplify code, use queue_work instead > > > > schedule_delayed_work > > > > > > > > V3: > > > > Since I was quite busy in the past days, V3 is late Rebased on > > > > Linux-next Add R-b tags > > > > 1/7: Add R-b tag of Mathieu, add comments > > > > 4/7: Typo fix > > > > 5/7: Add R-b tag of Mathieu, drop index Per Mathieu's comments > > > > 6/7: Add R-b tag of Mathieu > > > > 7/7: Add comment for vqid << 16, drop unneeded timeout settings of > > > mailbox > > > > Use queue_work instead of schedule_delayed_work > > > > free mbox channels when remove > > > > > > > > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flkml > > > > .org%2Flkml%2F2020%2F12%2F4%2F82&data=04%7C01%7Cpeng.fan > > > %40nxp.com > > > > %7C18c2709725e14cbab54408d8e24c6492%7C686ea1d3bc2b4c6fa92cd9 > > > 9c5c301635 > > > > %7C0%7C0%7C637508165016988280%7CUnknown%7CTWFpbGZsb3d8eyJ > > > WIjoiMC4wLjAw > > > > > > > MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sd > > > ata=xQ > > > > > > > ReFFdUT2ZLhWyT2Vt2v0frG0xKq2psP1ExnLx%2BLXw%3D&reserved=0 > > > > > > > > V2: > > > > Rebased on linux-next > > > > Dropped early boot feature to make patchset simple. > > > > Drop rsc-da > > > > > > > > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatc > > > > > > > hwork.kernel.org%2Fproject%2Flinux-remoteproc%2Fcover%2F20200927064 > > > 131 > > > > .24101-1-peng.fan%40nxp.com%2F&data=04%7C01%7Cpeng.fan%40n > > > xp.com%7 > > > > > > > C18c2709725e14cbab54408d8e24c6492%7C686ea1d3bc2b4c6fa92cd99c5c3 > > > 01635%7 > > > > > > > C0%7C0%7C637508165016988280%7CUnknown%7CTWFpbGZsb3d8eyJWIjoi > > > MC4wLjAwMD > > > > > > > AiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata > > > =BWGP > > > > > > > gbVtOjOa%2BriGryGp9sh2CSY%2BhMESdGD%2F7LvPJ6w%3D&reserved > > > =0 > > > > > > > > V1: > > > > > > > > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatc > > > > > > > hwork.kernel.org%2Fcover%2F11682461%2F&data=04%7C01%7Cpeng.f > > > an%40n > > > > > > > xp.com%7C18c2709725e14cbab54408d8e24c6492%7C686ea1d3bc2b4c6fa9 > > > 2cd99c5c > > > > > > > 301635%7C0%7C0%7C637508165016988280%7CUnknown%7CTWFpbGZsb3 > > > d8eyJWIjoiMC > > > > > > > 4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000& > > > amp;sd > > > > > > > ata=XkGYIxBgrHLwV7R3bro87N6fL7777Wa5rOAZdVjCoZs%3D&reserved > > > =0 > > > > > > > > This patchset is to support i.MX8MQ/M coproc. > > > > The early boot feature was dropped to make the patchset small in V2. > > > > > > > > Since i.MX specific TCM memory requirement, add elf platform hook. > > > > Several patches have got reviewed by Oleksij and Mathieu in v1. > > > > > > > > > > > > Peng Fan (10): > > > > dt-bindings: remoteproc: convert imx rproc bindings to json-schema > > > > dt-bindings: remoteproc: imx_rproc: add i.MX8MQ/M support > > > > remoteproc: introduce is_iomem to rproc_mem_entry > > > > remoteproc: add is_iomem to da_to_va > > > > remoteproc: imx_rproc: correct err message > > > > remoteproc: imx_rproc: use devm_ioremap > > > > remoteproc: imx_rproc: add i.MX specific parse fw hook > > > > remoteproc: imx_rproc: support i.MX8MQ/M > > > > remoteproc: imx_rproc: ignore mapping vdev regions > > > > remoteproc: imx_proc: enable virtio/mailbox > > > > > > > > .../bindings/remoteproc/fsl,imx-rproc.yaml | 90 ++++++ > > > > .../bindings/remoteproc/imx-rproc.txt | 33 --- > > > > drivers/remoteproc/Kconfig | 6 +- > > > > drivers/remoteproc/imx_rproc.c | 262 > > > +++++++++++++++++- > > > > drivers/remoteproc/ingenic_rproc.c | 2 +- > > > > drivers/remoteproc/keystone_remoteproc.c | 2 +- > > > > drivers/remoteproc/mtk_scp.c | 6 +- > > > > drivers/remoteproc/omap_remoteproc.c | 2 +- > > > > drivers/remoteproc/pru_rproc.c | 2 +- > > > > drivers/remoteproc/qcom_q6v5_adsp.c | 2 +- > > > > drivers/remoteproc/qcom_q6v5_pas.c | 2 +- > > > > drivers/remoteproc/qcom_q6v5_wcss.c | 2 +- > > > > drivers/remoteproc/qcom_wcnss.c | 2 +- > > > > drivers/remoteproc/remoteproc_core.c | 7 +- > > > > drivers/remoteproc/remoteproc_coredump.c | 8 +- > > > > drivers/remoteproc/remoteproc_debugfs.c | 2 +- > > > > drivers/remoteproc/remoteproc_elf_loader.c | 21 +- > > > > drivers/remoteproc/remoteproc_internal.h | 2 +- > > > > drivers/remoteproc/st_slim_rproc.c | 2 +- > > > > drivers/remoteproc/ti_k3_dsp_remoteproc.c | 2 +- > > > > drivers/remoteproc/ti_k3_r5_remoteproc.c | 2 +- > > > > drivers/remoteproc/wkup_m3_rproc.c | 2 +- > > > > include/linux/remoteproc.h | 4 +- > > > > 23 files changed, 393 insertions(+), 72 deletions(-) create mode > > > > 100644 Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml > > > > delete mode 100644 > > > > Documentation/devicetree/bindings/remoteproc/imx-rproc.txt > > > > > > > > -- > > > > 2.30.0 > > > >