Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1352218pxb; Thu, 24 Mar 2022 18:30:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyrjm2RMnEDSLdJvKFQpLdWgrmhjJ5IaWDBVl95MLxjjkKiPcU218cMuH3F1SW1pBK7yJnI X-Received: by 2002:a17:90b:4ad1:b0:1c7:442c:9ecf with SMTP id mh17-20020a17090b4ad100b001c7442c9ecfmr21568108pjb.240.1648171804512; Thu, 24 Mar 2022 18:30:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648171804; cv=none; d=google.com; s=arc-20160816; b=k9bgAWNi9ushge6W3lDROb5vkJo+N0pa+LOF3P1OlBG4/cf5//Zi0CaQE6fI0Spi9D nT699l8/RVWYuSHVCU1w94fGTwWrj2fdYvUW/qb4jijDIR7Du3z1W7patoFQz1ycn5cX 7H5fwFvE+LX8YhA/rmi72VxLQGSIr3t31ESRV+h2ljh6bHUU+e1edZ8EXdwoo29a21JQ +3/hasOVl+YVy7GP0vQzZ9rMU98ifGaBWuRDdQTRPcsaOsS3WNPGxlWZORzsh+h1x2zW gq8z7FM8gg6/BpanSDSwFAbdCFRGmkYcNR/+64Nj0vmVFqSBDQHDcCrJl57pAKeVi7m7 E0Bw== 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=8rZfGXhxPnCPDkK85iJOEuPuLqVvxqMTkD5qg+n6vFE=; b=B56BX33CEbWosJ+cH0o93LXytRyj2pUe79ufJdo7GC54+JOVEAphpUt3J+imBEsCLC lbE5fDN3cXf3Xx8K8TvyhLLcZ4AxeYIafZSm+Lt/IyoiHyZCLRhZxQzC7LnacayTnBjT 7BxSsuangNE+mO5Gt4BAUc+ncnzWA+pmDgfXKt9QtL0AXldqBZo4sj+Cf4CRNeGuUlUW fjAcy9WKoAcTXdHnd+V6//tlYEtKQfGhCWlsD24nUPYpFeT/RjgUUIk82B9s2Xlv02dD 6bEfVkUJvKvbP63YnctKBcztSz+k0V2uLy25oBsRA1KpT3nAt6caidzhxWow/zqg9c1F k3WQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pkEOCiut; 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 8-20020a631548000000b003816043ee49si915159pgv.62.2022.03.24.18.29.50; Thu, 24 Mar 2022 18:30:04 -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=pkEOCiut; 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 S1351222AbiCXPNI (ORCPT + 99 others); Thu, 24 Mar 2022 11:13:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243416AbiCXPNI (ORCPT ); Thu, 24 Mar 2022 11:13:08 -0400 Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 570F5A94F2 for ; Thu, 24 Mar 2022 08:11:36 -0700 (PDT) Received: by mail-pf1-x436.google.com with SMTP id y10so858032pfa.7 for ; Thu, 24 Mar 2022 08:11:36 -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=8rZfGXhxPnCPDkK85iJOEuPuLqVvxqMTkD5qg+n6vFE=; b=pkEOCiut+ZAQ5lJHTD6mEO3U8qX21+b0ADJvqP9I8NdNzs+hijc/igpJyUHZvQNz33 Dd3LYuhKBfR2uGsCEHbMLPF5Eeb95XBStH/BXNMSWWbeHmhdJLV8eh+8tVxC0an1O3aR MpH2dlXc+nxiOGxB6JQyVs4LdjUeuT1Q1QdNFfg0ZCM4q+xox1t/Q5oPuxpg9cR1mlvx Et21nx3xZpw9WO8OSYUNsgUlZgRcG5ZwyCx4rSTHEWPCLM4w6cRJuhBl1Aq29rFmKKLF Y3RPyifxi6LksLivRdY9VHzVKWDge2mGn+mZgyPPRAFmzU9O8rnfgarGbu8DvrT9zKjH UWdg== 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=8rZfGXhxPnCPDkK85iJOEuPuLqVvxqMTkD5qg+n6vFE=; b=OoYh7/eWq5pwRSST1znEhql6TqtTq9/Nuky1E9QpFAXm0AhAVSHr/5a+CBmKi7zYp+ jDhYkf3/0WOtkP/UfoPGuF74/m5osm30jgcG+sSmdrfdapyoSZePallJ3RSnG0Z8I2Pz /VVp0IZFKgWxqBrM5AGzScUuxi2ErGntc0YQQxQ+ZsRKrbVL//OMm/im8C9Xp+044R/B FSwyiT/MMKl4O19UU4e3tOEBVBZsW+s8SNTwCNaLXQ/SKyInq7TSPJ5Mj7a+1aGwmuWX 2wLKJTjURCevOSB74ha+32Ae149fJd2wki3Dh0OQ0Dvj2cSgl8DkByeCZyBGGcNx0OJS N2uA== X-Gm-Message-State: AOAM530Ku+kfSR4bjStkp5dwT1uLxC5FV6pQ9LCIv8aP0vy72pWtj2px Pdr2HjI9MWZOgXz1WHRrsP0zYg== X-Received: by 2002:a05:6a02:10d:b0:381:f4c8:ad26 with SMTP id bg13-20020a056a02010d00b00381f4c8ad26mr4335657pgb.135.1648134695746; Thu, 24 Mar 2022 08:11:35 -0700 (PDT) Received: from p14s (S0106889e681aac74.cg.shawcable.net. [68.147.0.187]) by smtp.gmail.com with ESMTPSA id x2-20020a63aa42000000b0038265eb2495sm2943406pgo.88.2022.03.24.08.11.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Mar 2022 08:11:34 -0700 (PDT) Date: Thu, 24 Mar 2022 09:11:32 -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 V2] remoteproc: imx_rproc: Ignore create mem entry for resource table Message-ID: <20220324151132.GA3514576@p14s> References: <20220308065754.3355-1-peng.fan@oss.nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220308065754.3355-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=ham 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 Tue, Mar 08, 2022 at 02:57:54PM +0800, Peng Fan (OSS) wrote: > From: Peng Fan > > Resource table will not be used for memory allocation, no need to create > rproc mem entry. > > Fixes: b29b4249f8f0c ("remoteproc: imx_rproc: add i.MX specific parse fw hook") https://elixir.bootlin.com/linux/v5.17/source/Documentation/process/submitting-patches.rst > 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 >