Message ID | 1613392463-9676-10-git-send-email-peng.fan@oss.nxp.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:c80e:0:0:0:0:0 with SMTP id p14csp1048380jao; Mon, 15 Feb 2021 04:51:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJw7sd8qehPEiFnXANfju4v02L8+1YWt45GCB4HUbwLNZfDKSfKihJ3wlbVrzjZfCoFsZiTo X-Received: by 2002:a05:6402:3069:: with SMTP id bs9mr15389532edb.151.1613393469144; Mon, 15 Feb 2021 04:51:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1613393469; cv=pass; d=google.com; s=arc-20160816; b=wSVUNcf3gdMYh8eSV9+fNX8eQymJAIigUNA5BtQK03kHN9DztgFOEW4uAWzpHS41Pz n3ClkPtl3C0SuReLbvA7h3F7+uF4jAUWMfMSaASDa8UbMRklQkE7KKP+2bOw1EZSLqcs WXTgB9hM0m8GA3e5R4V/gGPHmkoci7RLXpsMugctsQQjlOLByOuDJXpXkfkGLlAtkpZe +ZIUb21cctYL3KbuFyOLv6bEr2lTgxkOkLt1y+z7dX7pI5ATtr0QGmVYcPn4neWrwvx4 U7NrktP9qXn2yaQtMqIPzWopMXtVoWXInpRQ1egVAiGaVtOaK6CIa9Ghqfw2NNrF1NXU Arhw== 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=DJ1gpRzzUQ66S0K9zQ6lXSQAknF08HTFL8AhEGs1dWcoRC0q6cdFZQL5f5mfNCf62I pQJiNPFjaT25SL7GpAUlqW9jCdMo57l6fcCZv+xsSR5QgvuiMNa6ShFOgaKW+snEDSoz RCqHGU2hNxkuBI3PeLU3+LeC+f3YbfMSDTWzpgf1v+WwtKtP+ihw03WT9dvK1m8iMWK9 MFp6wF5hqA1pmt742ZVv5beKOwANrTCTBZ2i+S1dHv4ubev1sHw5zgV8gJJivfIKaatR ZDowDPO2tQuepqK5X5QaERxjhdB/rRZj0TI32MlVht8kq0jog2F2mfMw+W4qeHzYq7s7 dVvQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=XkNXVhMo; 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 d2si12668468edv.274.2021.02.15.04.51.08; Mon, 15 Feb 2021 04:51:09 -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=XkNXVhMo; 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 S229870AbhBOMuf (ORCPT <rfc822;semen.protsenko@linaro.org> + 6 others); Mon, 15 Feb 2021 07:50:35 -0500 Received: from mail-eopbgr40044.outbound.protection.outlook.com ([40.107.4.44]:27717 "EHLO EUR03-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230223AbhBOMtN (ORCPT <rfc822;devicetree@vger.kernel.org>); Mon, 15 Feb 2021 07:49:13 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZtHpkHCFPOw0gKHSkCFPQEuwiWnKKk/4xPBMpnqQf0CzYhE7DC18i2HtE6kQrlVEtwN8IBoJrii1dqE/uaqdUzHUSjcqu1e23qfg9rgUuWdjsLWH8JQiWPIk+GoA8xTA2vCCwwQVjD4u5ZWqR3VDdYq72CkAO9RcEs084crx42IB9DMl1+SlobAfz0FX1mnkbgyK++L3KUjO4kKYPoC7lQuvops8kur6hlx/2i27LRWmpqZCTncTN3VpssbGFNd+g0ajzbfEVJJz6w2n5HKwkxUuHf0oLCfsoyOZduZQVNSkN/I6ds+TGoT6+GArhLJWBrwpwo92vrm3x4QUEBHS6A== 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=Q0fZZc2MpZQLJDbUPSCiKH5WQr8JfkwYqzwnSQIxys8LUzUAtu5F+muNJhArt/mtdpW20TUheqQPDhvSbomc7nGcQ4JisCDGkDwhzJ2/Eqkm8OJR4lBZWsAwhUiXXrUTJJcu9v6NnOa3C5paQpzS1cyKv6rPn2KlwEEcZXYIE4bUMD2XKfraDbYla+6ItqcXgSzoorH3QdZJBHxwTJMiVSVXfpkYcypj9T+4Np2+HkBNU7V2kAqJr6nezd3fMOjWCqi5cTCiEz5pktCxYC+UK8kbwbTsoy5o3xd232vlUfBazYwKx4c2eks2Vpfnuna9OSBEdTrjFwP4NljJTFhL5g== 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=XkNXVhMo49blUbChTgWqup2GFmUxOT2KFyNr0GDT/dD/MORsuKP71oHTnA+JKlRceEAxxd6c0QjTET5jZkQZclWJMPUbb1abzjkRHrh4xb+M1DP9hGUz7teuzZ3pkf1/YLJhv5IHk5TPMLGL+nOAtN1iJEoKx9/geGpi7JQFC0w= 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 DB7PR04MB4091.eurprd04.prod.outlook.com (2603:10a6:5:1e::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3846.27; Mon, 15 Feb 2021 12:47:14 +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.3846.027; Mon, 15 Feb 2021 12:47:14 +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, 15 Feb 2021 20:34:22 +0800 Message-Id: <1613392463-9676-10-git-send-email-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1613392463-9676-1-git-send-email-peng.fan@oss.nxp.com> References: <1613392463-9676-1-git-send-email-peng.fan@oss.nxp.com> Content-Type: text/plain X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: SG2PR0302CA0019.apcprd03.prod.outlook.com (2603:1096:3:2::29) 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 SG2PR0302CA0019.apcprd03.prod.outlook.com (2603:1096:3:2::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3868.12 via Frontend Transport; Mon, 15 Feb 2021 12:47:08 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 79cc3fd9-569e-4eec-b260-08d8d1afd14f X-MS-TrafficTypeDiagnostic: DB7PR04MB4091: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <DB7PR04MB40917F01B068C88FDA48E58DC9889@DB7PR04MB4091.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: bVoM7i2asLfAAOZrze0WAyYR9SmTpFMcqcK37MBTv/maPkxbLixDoyT/4QHpInqW9kjoI9QuHJHA87umvZNS6lNpkYIEMRqf0rgbFQD+rupzzjtSZKEPzBAJavI9WD1H1CmxXnepREGyCg9apAQKE4J06dPxtvenoE2th2tozm8D/Tm6B+HRoF/6gneDmspPDRy9s+DhZbW4zZFE7rBfeb7psTGj2fuxuY5ljGbO7g8HUiEn3WBEgNDVa/tAq92MhWYHVSM2hgD7cz9J2u4sWBLc21zH19i7mnLX2LGySlmCNyp0djqe9NCHUo6Sk+xj0VLOwjNWuE+Ys0zPEIKwwvGP/BXAS2B0bsmfsYBoO4XE3eNcJiLsvFqdQUWg0i6hkE+r1C4dgniFygj+RtIkB9+arM37F2hLCiJw3v5dmzY9e8LliJZ/APZp6lHbUr8oSBKs/pnrMw6dLnPgdhC3nSehccnG/k/Rv0GT2BB5kymExlLje7pBhCdl7wg0Y1xrbK+AhRZLrDh4VlR3fLZc/v/Z4zWat/gJtENvUpKvz2u+tJAzj+LdsYpOlIpAyt3UIxvLfaa/HTnyR2l/+3emtw== 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)(376002)(346002)(39860400002)(396003)(366004)(136003)(26005)(6486002)(9686003)(478600001)(316002)(186003)(52116002)(6512007)(2906002)(16526019)(4326008)(6506007)(8936002)(2616005)(956004)(7416002)(86362001)(66476007)(66946007)(66556008)(69590400012)(5660300002)(6666004)(8676002)(4744005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: t4GlAx2XRCteQ2yk9PzGMBgutBgLesWLER7cRUdstaYCkEN8odhaUM5arDvJ2I1zdqDZHJStY2UAc8BWlaRw8Hamk0g4Qmn5oUq95MUUPbnm5Fi17cG2R8kLxzZJtn1bwFnqL1kj+4v9J1Gh2TacV0DU2dXzN4JN4W+FX+umdJUpY8V1CQR56+Q1WRlOtBtXS3O3ucGRxIt/dVIlwwdiR5b0xxMMlpQg96q8nSHolypz+radPTVNJ+Qf4+gj3tt3gKmyYoC/JGz3xo94aaOFQKDdnq2lBZx0zY6V+vUW2EcISOglYsWEv0R1rvp2xsfGuBNyiV74JNFlOJOAD0ngJ35pTx5Np+5KWriwWw/RrsPNNf5IRbdgRG7Tsn2YSJC9YchgvvQnyMhG3kSvqbFluoqLowEG82jOW9EA/5SKWsqn3jRvoDIclFwVyvB90puTUNUUbukaYdrPZ/G129YxGYukFplRSGFo1g73jknpxua6bvfqwAVkTO7j/8Qf8wyEMm8PIUpt5gBocfIFLklCLescmUe498eVjUJ9w2SdC5DIXsTiAPNOSxgOasd2xjekJumvhhbS6QWfEuHhg6WyHetD/6B84tM21jTBMRnc2q/pqGuddqJvyiUGqV/cYjNxpUoQmjO/vLkY6PGGCrVjH7fvZg5NHzPW/Xe7D0evjPOfvbYjuXZo6qo1ugbubRSFci1s/Efr+QtIHvIyu3yuOz9wp2gEDnq0qJi9WDX8jzRVcXgxlmZ2Cvusa8nLKBmXHz9mp1J2qJbcguOZHp/Vp+bKLrhz4s2abbcJioWCtKFdDypGCccDdYvblLvW7X2AbDWIq6FPMn9wq0+m1pZOsOAnorU98z5D3sxZMQNao0uJH3e4HgmT1vhRNiS8TztJzxh/bg9uilPuQz9W3UhAEyNtKoMI43HRcnT2jPNRxV50zEfkVmGckxMMVCqSArSr/X78CvPDQH2YuYVadcx2DdRYA2f7QKaUuM4XuFxg541+j26z0wg6WnJ9Z1up+ab+CKv8whhpH2H5GjradfOM4vOykr1Okk+I9d8J6Uqwq4QycNuSA4AoOS0g0YEf6Txt3XrEeBgsQnIAZh/usZgztR4LMectdYM4+nEj3TjIdYqlAbPHLlWSnOfMs8LSiNEOWiVflPsJD0K3r16goqF7aFtLh/b+q9cH6imREia3XegIHYewMPLylZcPOYnXQHLr0ITrSKF3S9NYApuepn/ytCsY3n6HTSEMxpUsudRlVScWpRU9LM6AyCpmRs9l1Rgu1x10zsqHFioNauBNt09pzuxMumPVwVsphqVAIxqzbYE/g6tcGw1zZIz8LGQq8Acp X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 79cc3fd9-569e-4eec-b260-08d8d1afd14f X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Feb 2021 12:47:14.1614 (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: VkCa6BSDST64d2lGDREoli7yWxxQViZoPKEdjc0TGSxsNjYn17he2b2wf4zJ3HO5W9+Y/9SGXZoRAcwx1ENwkQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4091 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");