Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp3256986pxb; Mon, 18 Apr 2022 20:52:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzK4eeNlnEdIYlxzJHolpWwnOvz2UmNBBkqGChR0TQ6RXjSoyQt85ibJc9/s9IWpnZ2LzEs X-Received: by 2002:a17:906:6a1d:b0:6ef:8745:bf91 with SMTP id qw29-20020a1709066a1d00b006ef8745bf91mr9813965ejc.76.1650340332592; Mon, 18 Apr 2022 20:52:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650340332; cv=none; d=google.com; s=arc-20160816; b=G3MR9N/tr4MAxtgojEHMx6IN0TqzPD78dW/UnKfNnRFgLI1D8jR3V4Fs2ROMMH9q6T 92a3x8nWNEuqoVpV53l6sHclV5McM+QNJEbU01kI5HGvj0XavcW3wpLoMUFN+tGTfJae fnRR7H443HvW1UWcxERR/5RbCQhE9xaNSlmCRfMAS5yZESOCdnAFPLZdgrJNS0fE9nb4 3BZ8/5GcW/getvZenAMfOk2piRgwfheaIVhYWKE6Fe2bof053KF2jiqky1lRiD79gvL8 3uomz7e6iyFD624rTe50b+I9STA/aeo0anSSYPYTU4ayve66NoJLuzKmv9/5/MYyLfyo Ccbw== 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=BvtRLSGlIqgoZJw83CHbKmm9w5RaBORQkePsPwp3Jcs=; b=uvTC8Ywpzc8GzHrsqXpvRz5fteIPz04Pqfajjtp5iqm2f0k82W17CVjk2NL5toIwoH bxHcdZ1Fz2UdSj8jtWq1TwRmvJztcFE4o+DM+cwDTzKXHeNYqNV51INUY6euhIBOcqy3 4EE7oS8Xuywc3oLQslxCFY19GNn02zmqjpxrqdwlrdrekgXGqXLPFtTsU+Y9xTTunUbq CkoEqnWHJT0+LVbVpqTvGCGIXsta9FghIgw67FuhUZZ9Ig9jZ1bONQq2J+pqfT1aGQ3Q N7buGUJ/qLMf8lO3YMFyiAAGxIEJHZjVFHM06F1RUlR86fsGuwMQS8J1dVoHruNN+iOO X4rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=X4HUkGNZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id eg25-20020a056402289900b0041d76d48108si6990663edb.229.2022.04.18.20.51.42; Mon, 18 Apr 2022 20:52:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=X4HUkGNZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S244701AbiDRRQC (ORCPT + 99 others); Mon, 18 Apr 2022 13:16:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243486AbiDRRP5 (ORCPT ); Mon, 18 Apr 2022 13:15:57 -0400 Received: from mail-pg1-x529.google.com (mail-pg1-x529.google.com [IPv6:2607:f8b0:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 593812BB28 for ; Mon, 18 Apr 2022 10:13:13 -0700 (PDT) Received: by mail-pg1-x529.google.com with SMTP id t184so6981742pgd.4 for ; Mon, 18 Apr 2022 10:13:13 -0700 (PDT) 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=BvtRLSGlIqgoZJw83CHbKmm9w5RaBORQkePsPwp3Jcs=; b=X4HUkGNZmS19IamCaufLPwvkr3VU3muJTy0uqV5g7ZncQwXZXwPRIPzafxazChGNEO ybOPX5th1MG/Yh4Yz1AYYEXYUO1Km9yplsj4dJUgklqGMwCcUAJo+voR9rMmHwE28Lm/ TIHSSMmO6CjeQWVmvdyA9zhyPjvF5wnXzN01hFDq8nqhN4iJW+KLB58OFFV91GkgEig8 38brj/8xk4X5b7UkhN2nVvDuccfkk7KvvWk+JROL/vggq0uL2noWR2Zxih8fX6AdYzxh Iq4Ye/qp4Z4iCOcRuFSskjr57JNOXttTftidMDZGNvCaK3+CvUxVdqWpFHuQadh2LhUI GWHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=BvtRLSGlIqgoZJw83CHbKmm9w5RaBORQkePsPwp3Jcs=; b=pwjobDvfaJ/wKpd8OL3WZy7gQl7nGRHLxZKjsglwQSrSdyIhQjAjziHEs5+4Hz2UtI HG3ZVYhJbjFL7GyQ7ppDFdlnq84TTu3umjBN8QDEYGEQ60y7LqTI75Wcc4ahjOZHsbK4 ISZ6SESV1+ebmFqMFvvlHctMElD/usTiy9Vmz8BgfE8Lfs7Ptj/9RcGaQSb5aCj5cWYh A0NXnubQgFWNl8z43QMwbqihI4op+Dq3n0VP+oW5v4dU1X0ibbhyYH47+tyf8dIZulhx Gb/vfDSTWnauAgeuq+NhcTGMItIlPKc+CfsmArPYNQZVX/x8+TvacwFLwkWPAp/ahGF+ /g8Q== X-Gm-Message-State: AOAM533/H+zVoBlSwAInJ3a48+CoHwdfGNV7g4z1rrHyAflWI09LhJDI xS79HAzStZOgtipct52ssdD7nQ== X-Received: by 2002:a62:1c8d:0:b0:4fa:8dcb:6da2 with SMTP id c135-20020a621c8d000000b004fa8dcb6da2mr13217641pfc.19.1650301992571; Mon, 18 Apr 2022 10:13:12 -0700 (PDT) Received: from p14s (S0106889e681aac74.cg.shawcable.net. [68.147.0.187]) by smtp.gmail.com with ESMTPSA id u26-20020a63471a000000b003aa1ad643bdsm1809062pga.47.2022.04.18.10.13.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Apr 2022 10:13:10 -0700 (PDT) Date: Mon, 18 Apr 2022 11:13:08 -0600 From: Mathieu Poirier To: "Peng Fan (OSS)" Cc: bjorn.andersson@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-remoteproc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan Subject: Re: [PATCH V4] remoteproc: imx_rproc: Ignore create mem entry for resource table Message-ID: <20220418171308.GA952787@p14s> References: <20220415025737.1561976-1-peng.fan@oss.nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220415025737.1561976-1-peng.fan@oss.nxp.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 15, 2022 at 10:57:37AM +0800, Peng Fan (OSS) wrote: > From: Peng Fan > > Resource table is used by Linux to get information published by > remote processor. It should be not be used for memory allocation, so > not create rproc mem entry. > > Fixes: b29b4249f8f0 ("remoteproc: imx_rproc: add i.MX specific parse fw hook") > Signed-off-by: Peng Fan > --- > > V4: > Typo fix > use strcmp, not strncmp > > V3: > Update commit log > Update Fixes tag > > V2: > Add Fixes tag > Separate the patch from https://patchwork.kernel.org/project/linux-remoteproc/patch/20220111033333.403448-7-peng.fan@oss.nxp.com/ > Address typo > > > drivers/remoteproc/imx_rproc.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/remoteproc/imx_rproc.c b/drivers/remoteproc/imx_rproc.c > index 7a096f1891e6..91eb037089ef 100644 > --- a/drivers/remoteproc/imx_rproc.c > +++ b/drivers/remoteproc/imx_rproc.c > @@ -423,6 +423,9 @@ static int imx_rproc_prepare(struct rproc *rproc) > if (!strcmp(it.node->name, "vdev0buffer")) > continue; > > + if (!strcmp(it.node->name, "rsc-table")) > + continue; > + Applied. Thanks, Mathieu > rmem = of_reserved_mem_lookup(it.node); > if (!rmem) { > dev_err(priv->dev, "unable to acquire memory-region\n"); > -- > 2.25.1 >