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 88578C433EF for ; Fri, 11 Mar 2022 18:22:20 +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=rlRWC/r4OQjFzhA8f/taPfv3VRF8AGtGs0hP20+eqws=; b=Zn9jev8Bhc493d vsNQU/75UOF/Po47rvGDzCZrMrd1bVk5e151ojgj+uUTpOdVq/VxToe4LwNIH8WX4v9mtEqJ5fjZz TLMvv623QwUXsJzO4cl6TcjU9ugD9jgn2pVLQ8ARraCFhc9ameJ5clNgv9IXD4owOjqhPk9IQV8na gtZ8BbeWEF+7DqFLk6cuLkg3zMxOm/nFTCShvsVvLsCfR3qWO18D5zEboR48PlLhYTOUPzbhtnvFg na2VTtRl14G37AY80d9QL3Xzvh01BBoXDYZhLalfMR0uE56vUPPMRdXRraoWTT9u9iPxxRLoB3lJv bdSWzkKMKw6WgE0jsakw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nSjsl-0000dd-4q; Fri, 11 Mar 2022 18:20:55 +0000 Received: from mail-ot1-x32a.google.com ([2607:f8b0:4864:20::32a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nSjsh-0000cu-0X for linux-arm-kernel@lists.infradead.org; Fri, 11 Mar 2022 18:20:52 +0000 Received: by mail-ot1-x32a.google.com with SMTP id x8-20020a9d6288000000b005b22c373759so6821625otk.8 for ; Fri, 11 Mar 2022 10:20:49 -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=0XCZSSYUxWjjomwnD2lYhbaRZ7zlD7qdfMOSwCQW09s=; b=kHEPz0z7I7YdLzYk85vXvqchzpmoZwlqoWPvcV2+BaluB1OfX+kOGhpYd2j/KddU4m qjRn/G1N3B2vja2ivGtvs4TETE3JVjjO8pLaJ7e1dW72zQatLr3VUNJ8EHDNR44a5vVV GYr9ywtSB/boUN+35ZDjRF8aa6Pen6Zm+DaFHceR42V4HzXO+Kughg16fU+KcbccfQXB xkmledf3aV+2Re5azWXmv54ti0E0n3TfaXV7vmXZAIbvi45vqyZMXy9YtmqBuUA48HXD ApacltuXr4jhv1yO4wx21vOPBLlUz29h6AO50OGlD9Mbf7/X6yNSQ5JbYb9vfMtWZtTT REQA== 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=0XCZSSYUxWjjomwnD2lYhbaRZ7zlD7qdfMOSwCQW09s=; b=c76HmWjK9iGwmalIvoXFudU2CbH4/EFNxJHzLN1wLBDrJeuf4Xs7qSn/xSTu7ocugO tdKdgIE4Xxo5tZYySafTyz8B1gxXlHv4wgLnha6ec3uOatfCbWXhTaqo9uvCrhVmHL39 g/AJcy4hXIxwtiyYtzujbOt4C2kojmePuP4KJ3dA6B+4CH8ZH2zHCBE1UmtEkgCTWJgQ XDdg1FFNpRF6x6rlFFrL6q/9OLdoEK0VZHoBYnESfjyRCF2eBLr60lbVhJ85C1G+3KDf wYPAcLAAY+YRIqhGN5uHPDv3qpn1eMvFXCAhFFE1dvha85Q5WaBaXuWCzuhFPLRZdaph zRgA== X-Gm-Message-State: AOAM530BwX21K37C24++1e58kLR/DX0LLaG53u1UDMveBBGho9rqlUE6 xO/sjctboDTkpPXEycNeGUKPTg== X-Google-Smtp-Source: ABdhPJys4u6YxWXymBZmswZzl4L8tNx1NsVBadm2bVHFPU2mgJp3qwIQkLI+5i6YhRQsTFerFhScqA== X-Received: by 2002:a05:6830:34f:b0:5b1:f8fe:f957 with SMTP id h15-20020a056830034f00b005b1f8fef957mr5499792ote.153.1647022848767; Fri, 11 Mar 2022 10:20:48 -0800 (PST) Received: from builder.lan ([2600:1700:a0:3dc8:3697:f6ff:fe85:aac9]) by smtp.gmail.com with ESMTPSA id ep36-20020a056870a9a400b000d6bd82a92fsm4167829oab.18.2022.03.11.10.20.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Mar 2022 10:20:48 -0800 (PST) Date: Fri, 11 Mar 2022 12:20:46 -0600 From: Bjorn Andersson To: "Peng Fan (OSS)" Cc: mathieu.poirier@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 V2] remoteproc: imx_rproc: Ignore create mem entry for resource table Message-ID: References: <20220308065754.3355-1-peng.fan@oss.nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220308065754.3355-1-peng.fan@oss.nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220311_102051_168511_5D20F8B2 X-CRM114-Status: GOOD ( 17.23 ) 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 Tue 08 Mar 00:57 CST 2022, Peng Fan (OSS) wrote: > From: Peng Fan > > Resource table will not be used for memory allocation, no need to create > rproc mem entry. Can you please expand this to cover why the "resource table will not be used for memory allocation"? Regards, Bjorn > > Fixes: b29b4249f8f0c ("remoteproc: imx_rproc: add i.MX specific parse fw hook") > Signed-off-by: Peng Fan > --- > > 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..f2bfc9077c19 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 (!strncmp(it.node->name, "rsc-table", strlen("rsc-table"))) > + continue; > + > rmem = of_reserved_mem_lookup(it.node); > if (!rmem) { > dev_err(priv->dev, "unable to acquire memory-region\n"); > -- > 2.30.0 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel