Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3853732pxb; Mon, 8 Feb 2021 01:37:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJyVC3Y8PGoSl8EgRN2yrCtlhKXwkAz6fydo6AnnDz8n1zpIte6VWybnybWUzWg1yE7SQ+k2 X-Received: by 2002:a50:bf42:: with SMTP id g2mr16354627edk.101.1612777056236; Mon, 08 Feb 2021 01:37:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1612777056; cv=pass; d=google.com; s=arc-20160816; b=bw2JBfSN/Kloa1kEMX3bzS1ohZv9O+opDHm/xQthev7VbfNtubGiQKOX2IIhXHA/mW ATsdK2EzItcNR0kp7R5l7ICekDdTWIzCP+M1+9J+VooKjGasWBqH5vhJqmDiVAgjIATS ZYRhlijsvpzxHwv0fHqRal1HwOxjmHi3kYj3ePk6sgaNYaiXcW/RzQfNNXE3IzujM3yu +o4M2H3rhuaWSMi+chuixr/LEQKqRyuOURtTSvc8HjHYujyefL0+asI1EROmfPmltqVB UYgyYK4ShTaITqIaEejgj7QV1BhUxHnpF8RubJfOAV69KA+n1yBTzcmvg3Ks44MNZpvo ongQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=ylGtRczgykA3LROiqvT5P1IRIRg5xXAemZjMRiCZwqI=; b=g7oYhVtYHgjh+99DQzmVLuBk6ivPzZIWoNwvUNToLzykSC4Q5hyAofzDX10Jf9hNJU GgY7Ue3kXQw14a2/4rgL4gVVnaIFOcnJ/xQazonSlmnDm9tfHCj+Km7yLq77ipJBS5xS GEPL8CwYhxbl6CfuJNTD5u13CvfXG3weUUWU+3ZSWNj6wPxq1CXOYZ9kxnqibR7Bgp3V ZPHD4Ow+paG2//3ET63mjUBvkrRyT0n4aavXoK9q+xVYwaMyFiCptRBqNU2neRkJhQJt yNnwAH9bcM/j2LG2gMgmkdKdMwiftOyPaYY+4Vp0lHoryucDnaqGiuWepDdvv2R5fkjJ GFDQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=QcKG7efV; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bz20si11446954ejc.631.2021.02.08.01.37.12; Mon, 08 Feb 2021 01:37:36 -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=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=QcKG7efV; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231731AbhBHJdJ (ORCPT + 99 others); Mon, 8 Feb 2021 04:33:09 -0500 Received: from mail-am6eur05on2040.outbound.protection.outlook.com ([40.107.22.40]:52193 "EHLO EUR05-AM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S231433AbhBHJM2 (ORCPT ); Mon, 8 Feb 2021 04:12:28 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XpWP9A1tpWXbg0ONPuETcPTsSo1DJmTL2s0kCcKpav5HDtyXsxSbZgCYsHXNMAgLDZKqMevW4evBOy0Hl/kpHjM9j4jYlJp5KaJ0yEYPZZpC1y3TKIDwOPxrPBViOb4Lwihac1xo6wGfhRNEI/cYWOknoJIG/PvvvipaSPWYMStQrk7cDXbTCigiZrxvA9y4bpreaRdWY/VEU3nD53fRxpmnTP5nIU8bnEOd3foBE8s7pgElq8UWcve67e9BrWyeq+FaMXl7FONk+REGywbDDEGGfhhDYZK6LLqzt+MZToXlpXy8oefsFK5EQuCLu9hBmEkHHjTJMpScd82uCFjGQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ylGtRczgykA3LROiqvT5P1IRIRg5xXAemZjMRiCZwqI=; b=WVy6NlKkoSYfn310GLFw9f3D2mCiblJvlRgzRERiR2txh3dWuN814XGNe4t1Cw2anuIqvVkf05vUe7bN8o/7yTuKU14H4nojW76XUheGsQcHiQWAZW2sTcqcYtkTdgzLNhrnedkCeRqpkFJGd6H7tWAAsYENLYC7378TZW9T7xAx5VD53+I6H8aiH9MRSLZ8LjjWJx8Z90mXicA1lt6YxBBVHFn/u6LLz+W7isHN2EfV6euVmOt1fAfqhXCO572YbsJBSpWWAXBQKsMqYQyfs8hTFl7fxyL9nQnlWDbxdwW3uwwTkUol3SWAHRBcm0PuTCk/UligOFHZns5m8u3Kdw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ylGtRczgykA3LROiqvT5P1IRIRg5xXAemZjMRiCZwqI=; b=QcKG7efVRVY6bx6zk/meN/xuHtE0yr3CaVwCuhT1fL4zlyQcSxLK/QD7gKjbz/+ycYUpYtXGj6VZCbcGDZ8ByG/vl/wuRJXp4MtgoHROvgyoQA2LyJNB2qw82UUdY9QXr6YH5aZqFZaSY44CrgvOxu/gjPbBMsKl7TnHX3xClNI= Authentication-Results: wizery.com; dkim=none (message not signed) header.d=none;wizery.com; dmarc=none action=none header.from=oss.nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB6PR0402MB2933.eurprd04.prod.outlook.com (2603:10a6:4:9c::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3825.20; Mon, 8 Feb 2021 09:08:30 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::d58c:d479:d094:43d0]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::d58c:d479:d094:43d0%9]) with mapi id 15.20.3825.030; Mon, 8 Feb 2021 09:08:30 +0000 From: peng.fan@oss.nxp.com To: ohad@wizery.com, bjorn.andersson@linaro.org, mathieu.poirier@linaro.org, o.rempel@pengutronix.de, robh+dt@kernel.org, devicetree@vger.kernel.org Cc: 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, paul@crapouillou.net, matthias.bgg@gmail.com, agross@kernel.org, patrice.chotard@st.com, Peng Fan Subject: [PATCH V10 09/10] remoteproc: imx_rproc: ignore mapping vdev regions Date: Mon, 8 Feb 2021 16:56:10 +0800 Message-Id: <1612774571-6134-10-git-send-email-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1612774571-6134-1-git-send-email-peng.fan@oss.nxp.com> References: <1612774571-6134-1-git-send-email-peng.fan@oss.nxp.com> Content-Type: text/plain X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: SG2PR01CA0102.apcprd01.prod.exchangelabs.com (2603:1096:3:15::28) To DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.66) by SG2PR01CA0102.apcprd01.prod.exchangelabs.com (2603:1096:3:15::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3825.19 via Frontend Transport; Mon, 8 Feb 2021 09:08:24 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: e6234469-db39-4a9b-a8c1-08d8cc111a27 X-MS-TrafficTypeDiagnostic: DB6PR0402MB2933: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1247; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: UsQ+Wg79VRz9IlU2EKlVzB3s9BrhubtvVMdJf+g93VtSOjOxPepOj74+g1s5dLH0N1eYZ6F7Xx5SAQyaLwdG55fpPu/wHo1Hftuvf1AoeQvGWyR0LOXt4G2k1mDcllmBtBRtIRLtyuxvrsd3Ypke7K12PcHo0moCgWekDFFpBlCijs7Ikuz85PRwotA7BoEpdkGtJ3ZMNMjIa2+cfPv+8650R8aNphqtpuQOCeD/7XzZDIxpxtlm8BNDUUO+GjHHFJ8UMX9arKs1wOAsqHTNsF51hNtWTRMmTZQh9S8P6W295gFZRJZwh2+fowoQ8yZdDJTC/xH8hrK3pRbL4ah0W0mkuHtMqnC+w+7YqXb5BMwvCFe1E9IPK/yvtfROkGRLN9rq7MdO/yMHgvUcRNc3rZ7QxLF+Cp1/JbkWvFTN7uiPGX2ec+gJL4duR7XgpT0HK1lRur4/R3LDeWiYq2c6XA18QRhjnbzV8g9q6iYs2U9TIIhtYzPouJwJZVNekMqtt3IIiCvc0N9AQOEyzaN7jVTbqvEpFibxIGEbs7OLvAKDsj86iZqyjq75hDdcKdZ5KoqEIHZCLv9Rf+5DCk20XA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB6PR0402MB2760.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(396003)(366004)(376002)(346002)(39860400002)(136003)(7416002)(52116002)(6666004)(316002)(4326008)(8936002)(186003)(69590400011)(86362001)(66946007)(6486002)(8676002)(6512007)(478600001)(6506007)(4744005)(26005)(956004)(2616005)(5660300002)(16526019)(66476007)(66556008)(2906002)(9686003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?6hcoGq63AqMWfBaVMaUPsEh7qR0V09cPhMUlB8ZOJ6nw0nXcJ7JRrTYQt32z?= =?us-ascii?Q?yRLeXZatu0yESQHO11C6lugJKPPnh/jt2eTavUbvVaEFCAuOoigd08ceufn1?= =?us-ascii?Q?ObxaqyX5xLRdCV5xJ2e9ARYmxOM8TZ43OPqEpYm82E0ZkYMexoMr88UZlycd?= =?us-ascii?Q?5YKZVb16UAzf88tXaQRl7N8cbwU6jQzrX6tvsEY06XaPQnCHxL3jSwL2oeS8?= =?us-ascii?Q?SDxheuyUlD+Zx2mCz7DZ+bhLX+splxSZwr5Zbq7zJzstnHffCUYYR5HVjS23?= =?us-ascii?Q?7dyNzcMSkUxE3H+wMOwd8mS9n9CDljFxG2HdlG3NtnJbrw54p5EkSzHQMxIf?= =?us-ascii?Q?EtMlpXvlU4yhrVq5CyrSa5u4jcjDlDUAQilUDL3Wey4R/2lc3F0mQaPyKj5u?= =?us-ascii?Q?6fwcUM/G8LcumwpjuUfvBNjLlNyBZYO4kYcv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q8Dz8izY8FmfAS+LTUr86a?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e6234469-db39-4a9b-a8c1-08d8cc111a27 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Feb 2021 09:08:30.1770 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 0O4pJtpPr4ljgj28HQAovK9uyMDpDHRfKU1kGJ5kvvyfmm96WC7GxXI5mBM9/6cF0WV+EczMoyPEh/CKijyo3g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0402MB2933 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Peng Fan vdev regions are vdev0vring0, vdev0vring1, vdevbuffer and similar. They are handled by remoteproc common code, no need to map in imx rproc driver. Signed-off-by: Peng Fan Reviewed-by: Mathieu Poirier --- 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 0124ebf69838..3685bbd135b0 100644 --- a/drivers/remoteproc/imx_rproc.c +++ b/drivers/remoteproc/imx_rproc.c @@ -417,6 +417,9 @@ static int imx_rproc_addr_init(struct imx_rproc *priv, struct resource res; node = of_parse_phandle(np, "memory-region", a); + /* Not map vdev region */ + if (!strcmp(node->name, "vdev")) + continue; err = of_address_to_resource(node, 0, &res); if (err) { dev_err(dev, "unable to resolve memory region\n"); -- 2.30.0