Message ID | 1612774571-6134-10-git-send-email-peng.fan@oss.nxp.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:b18a:0:0:0:0:0 with SMTP id t10csp4519479jah; Mon, 8 Feb 2021 01:15:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJxyyuLFV0AGQhTUJULtkGUOMHf1hYjq0Vqi+W47U8UzX8tyYym+lZPB4paEWVaf+BuzeVZo X-Received: by 2002:a17:906:296a:: with SMTP id x10mr15774615ejd.240.1612775728845; Mon, 08 Feb 2021 01:15:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1612775728; cv=pass; d=google.com; s=arc-20160816; b=QNyjhyBf78853RTRCtTrRJpRp7/eq/VEGwZ7k7yPoJ1WdeIM/0TJT5Dk0x1b6dWPiZ yPooJ78OzlLkhfMaqDnqGRXWIccKyg4MwYxVBHUJckIa7qbiO/MW0s1wLmP4cmK/U2hj uWkIQLbvS3Xsir7Qr40p4lRxIkkQjYYu9a5XOnjJaC5XaaBXskZywwpQxXXPsGJLMuRX FF9CXCLhSfx4NCcNYK/jA8ut8Fk/jjcyUQYyquDFz58I6TB1o1e5g/ZI/gTUUWjP6vm0 pSiJfz/2w0MLsZlgmnG9agq/Wtfk1lRl/l8LR5in2NfuaSg4rOzvuYwxT2h5tnom/REK Ukuw== 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=WdrTZ5FAsAreEf+4lbnxDPh+S/OAHxTmU69wNdXrsMuIP/zU+YK81y4kgVLL9ypPiq OhROXCH4pdJrD5duMXbSC0fqyZxh/IPtq6itq60VEKF2QfrxcspVNBHmFUrVz6RqoEul L8Vz0AZG3KKCTFGRFO0eFCHzgqQHpbSK8DI10A1cR6E08vgfKWhfFRoeK8y94M89wmNX meBzvNMNSW5Z2z4cEPoIuES5uP6xbrc8kQJyPWpa3Qt9HMu2vt+XtqqRpjSScUA8K927 BidPf+uXNJpSQ5bOLEnkBDF1Ar0w2doX47uJnHhsKCBDrK/eREgjrkq11tm+VjMbpIcg rZPA== 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 devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: <devicetree-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hk6si11031618ejb.204.2021.02.08.01.15.28; Mon, 08 Feb 2021 01:15:28 -0800 (PST) Received-SPF: pass (google.com: domain of devicetree-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 devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 S231532AbhBHJNp (ORCPT <rfc822;semen.protsenko@linaro.org> + 6 others); Mon, 8 Feb 2021 04:13:45 -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 <rfc822;devicetree@vger.kernel.org>); 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 <peng.fan@nxp.com> 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: <DB6PR0402MB2933C8D7EA69080C563C54BEC98F9@DB6PR0402MB2933.eurprd04.prod.outlook.com> 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: 6hcoGq63AqMWfBaVMaUPsEh7qR0V09cPhMUlB8ZOJ6nw0nXcJ7JRrTYQt32zyRLeXZatu0yESQHO11C6lugJKPPnh/jt2eTavUbvVaEFCAuOoigd08ceufn1ObxaqyX5xLRdCV5xJ2e9ARYmxOM8TZ43OPqEpYm82E0ZkYMexoMr88UZlycd5YKZVb16UAzf88tXaQRl7N8cbwU6jQzrX6tvsEY06XaPQnCHxL3jSwL2oeS8SDxheuyUlD+Zx2mCz7DZ+bhLX+splxSZwr5Zbq7zJzstnHffCUYYR5HVjS237dyNzcMSkUxE3H+wMOwd8mS9n9CDljFxG2HdlG3NtnJbrw54p5EkSzHQMxI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rossTenant-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: <devicetree.vger.kernel.org> X-Mailing-List: devicetree@vger.kernel.org |
Series |
remoteproc: imx_rproc: support iMX8MQ/M
|
expand
|
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");