Message ID | 1615029865-23312-10-git-send-email-peng.fan@oss.nxp.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp228639jai; Sat, 6 Mar 2021 03:39:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJxcPyFwWyD53IAWX0QrwYngvuz8m0eQ40sl+N8vogeZ+uXwuTHQYO0vZo7q2zqDdjjlY1iq X-Received: by 2002:a17:906:4d44:: with SMTP id b4mr6623196ejv.338.1615030761849; Sat, 06 Mar 2021 03:39:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1615030761; cv=pass; d=google.com; s=arc-20160816; b=w08XZTKGAzO1V41RBe52I/CG1iLybgRsHnnICzBDoUjDMb3LtTQKW/4fElAhOsZuGZ uijWEyXKrOSLF9hIFw+iw+zU//1rgFDLXXVndo91oRo3gwWPl28qx+hYiwXwlFZjV43Q /igLdSkY/NGdJZeSPtudnC0V23rwWXa3rtoOMI+de8toXtkqNCffX3fxRqVLA0p+4ggU DsCIYRfe8/hjQxfqGaUhFq4O+dYHMUY4tnF+stFgTHp7xQOq7f+TvJ5j5gRQ0KbjRM7a Kmp0+jaNJisfRvvFDhZSu3KmUe3QfPs3ojI3J6TpMyodDV4iZmI8xL6/ArbIcmMOGhsG SUAQ== 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=BfNuxwdv9Fwq22e6g7k0dCpoVtxXX+BGjUDM1QVmpbVQP905yn0+klcDoNrUzsEAXl CpfRe8gw/+HS27aY8vpLFvwsovRDnrwwTwMIh67CrRQFAHSoXmMJQXE4LBDA9olF3+U/ 6rokolbWqliF+KQGXUdjibGTTIoMDc+KuUcggx7f0bbs+FCBxhV9YUQU4uVurDLr45Zp Bv0HE0qNQVZJZ/5iJ4pFeByMCt5V5Sz8gNjFwD06z7tYD7gOrjsnNZmwODmGROrlh+i3 Sq18BMefxLOCGMGIk4EirUHjgiy3KSxAOHf4jaqqxrwsOdfOZdNVHE/2faEJ0Ri84W41 Ukfg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=RDOFaQPx; 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 hr14si3277015ejc.394.2021.03.06.03.39.21; Sat, 06 Mar 2021 03:39:21 -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=RDOFaQPx; 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 S230514AbhCFLit (ORCPT <rfc822;semen.protsenko@linaro.org> + 6 others); Sat, 6 Mar 2021 06:38:49 -0500 Received: from mail-eopbgr60058.outbound.protection.outlook.com ([40.107.6.58]:23865 "EHLO EUR04-DB3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230242AbhCFLib (ORCPT <rfc822;devicetree@vger.kernel.org>); Sat, 6 Mar 2021 06:38:31 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ljGxP69S1g25FYS02xjNsOLx42CSRsR545JxW+YXdlk2vuhimOW7DKSt5BVDeBW66FtLPzsuJ8a4/cL6BI7WgnB68/hSO9EbqHQQCMn8niMJxjMerT3tjdEU6trTaAScGBQHz9PoBU+CexJ68NYb9S2vyIQoOl2Izi4cGK53+TrbfamnjiUFlSodqUrbMsZs+yRJJ2JufhaxbqUiRTHUF6ATW19clEf/ZJrULrv42q33GQewCgRGBoO9kKB9hDLfu+Wi//4jqpblRG56T7mmUeIJPRynt3ByJ+lJu3cXbTMCn/53vKgJEcU0ZGsFMpvTUN0QEBeWaey09RV8KUPQJw== 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=QwrFqGFLiQukB/QYjb0ogzj7qZSGRaUziUfLpMZJcT50Jl2WG1hEpx5QbIcxFgpFydBSUlILLoJsEZNui6S1Zv0EeQhIR/9VRsO7a72JbrlWzm8yWZGKxk9PYBBncFPwi9fouNvwUjmZL7Ws8KgSVzAGCwjO2J37chNTQkEqAraEwNNNxjNZtBpKhjkDuWiAQWWqRhTy6CzjbyKgiHyaZnRHI8MFza2X5j2PvPGA2bQ+Y0FBcfDOuW3xmoNQe7JctGIJNzck7fbfnkldgxHnkkGMH4UXjMNpLzwJ7urWOFFx/z9mD8dxcvPguJNwWZfmKU7WYgzTuggsNJ1WqTvz5g== 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=RDOFaQPxB00pgq48OfTONTDbvUrL2WqQHIzREMag9+lVYVCo4M/EHLLWQg2uAT9K4f2ICKQjtQcJ0RZir2h3jQaJKcQgV5029OAU1A3bX7hKmbpyRo3VUGEU6OzxKkQs0NMLfkUjN6BWCSJ2jIXTHKATCmu2tY96Ebeo5oAwXxU= 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 DB6PR0402MB2757.eurprd04.prod.outlook.com (2603:10a6:4:94::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3890.28; Sat, 6 Mar 2021 11:38:28 +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.054; Sat, 6 Mar 2021 11:38:28 +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-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 V13 09/10] remoteproc: imx_rproc: ignore mapping vdev regions Date: Sat, 6 Mar 2021 19:24:24 +0800 Message-Id: <1615029865-23312-10-git-send-email-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1615029865-23312-1-git-send-email-peng.fan@oss.nxp.com> References: <1615029865-23312-1-git-send-email-peng.fan@oss.nxp.com> Content-Type: text/plain X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: HK2PR04CA0047.apcprd04.prod.outlook.com (2603:1096:202:14::15) 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 HK2PR04CA0047.apcprd04.prod.outlook.com (2603:1096:202:14::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3912.17 via Frontend Transport; Sat, 6 Mar 2021 11:38:23 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: d3515234-38d1-491b-602e-08d8e0945c1c X-MS-TrafficTypeDiagnostic: DB6PR0402MB2757: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <DB6PR0402MB2757E9CAF3C740CC5F96A564C9959@DB6PR0402MB2757.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: 1Suq1Bp4OnT9r1xDp3N54UEHAQC6fF6TWZPq5TuW578Ns/PdclgpQIPU9VUFW0sN9DLbuVcx+TH9dB4qUoCCx8bACjxIat5e6mci29ekPUTMy2rV5Q/IMVKKCbhuLkvodnpvjVjyEiG4PSrfPqrl+BpeS9W5TlbxdCd09EXo75jHMge037mr8PUMyCT8GKqT8hzo6UD+zNNdbtzMWXkSv/sLH8gac/A3lK/Sc73neqfGT3BolpIt4XE3S+DHY0fqslBy23+59WzCSksQKkuYUEdjm+nl+++8JhNTxzV4ZnCWSn/cwL1iyP/CLxLt8hx90yWhm1MbWhGX8jhA3po+tlJWvanwN3GM0wVK1DnQ69pQhsdEw2PNfSBc6GVRCNsGzzz8hHFcp4LTTtvoybZiHG08a1KW7NZhzIrpnftY95nJZ415l5xTT5K8pAVys75eBxbJ+YhblKdFhLlS0cR/lhiz4ytj2XsOtjq36lzEFrQq5YwW1QwqF7Nn30GlGzzDilP5bjBQHoki4THqC2tKY5nxmGyIeYGJoH93P6I0ApBWw972x/SkyhhKWlydG1Z3L39Af0LltgfN5QP2wE7jBA== 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)(366004)(39860400002)(396003)(136003)(346002)(66556008)(956004)(186003)(7416002)(66476007)(16526019)(26005)(66946007)(8936002)(9686003)(5660300002)(6512007)(478600001)(2906002)(2616005)(4744005)(8676002)(6486002)(69590400012)(52116002)(86362001)(6506007)(4326008)(316002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: GeheP+I+HkLKq0DsWbGdLXXJX82mmhVODmaKWpmJl+2zR/NwNz448xX98AmgggL65yHoALwI3fIjgF6gZ3/Jp5nzIYlGM5CTDyslu/0JA3KKqCuwPhUFlllC4xAQk5aVhYPgP+y6xTRRmYbqUZwGXUPTn/D4Vv98jv+eYfzkFKY9VY5nUbIBePbtZGyUoMFW0yIAomUiLg6rMPK4MN79tH9qwAF8dBpONPpEAXeJuDcu0hUjVT7XUqZE7NjsxiohPJthCa0lTLvSKD8QEtk0owOFE7ogoUgzC/nB57puQ+VTQY6qNuAYkr5tfVpFmZlcyxF6G68Jbeesv1l/j4C3Tg2dX1rLUerLoE8pZqgWUShKcp5N+8ZarqdSldX6ZOEk0j3Pbg7yZIfiTZAsD8sKlLmN7ZZUACMHkGOS2M7BlqrOoJ+aJVGtogdoC6y5sgvWQbQnqAkN15JIxrbbL4xtEUr+Pryjw3lrEO0OSOiJvlL83O+Xpj0R80AA8ePu4AZrDhgrc8+oP6WVh2aoMTRkpYI4njrT8ZxbDvMk2eb63pfXC5zXJu3g6/FWkH9Sbbv4TeEaAx/mUQGMaDYhVqrAVAUHbkWb1cI9ivY26VwY5JawuICMJWyiQEl5/puHvsTXf9/iGIY4scicNgKBHBLW1TNan22KY24RI45AFTVmrakX4d4+PEES42utLegNH9THIOdBR4KsciXAErbfDgmDiS5NtpESDhnF/0CYB3YW2VX1GrXtIpwfwPpeQfIpn2RuIBAZ/YLRoGtGwDluQ+Ha9i04Ef0jo1D98buAZu1IYDHdOJ1ZopsSsOxDwSgUvaW4WjsCufe34lPPienPYKOc5YHAaZU3/4GQlKGqJ611d/T1hLGnm7hzAZicdvngSaUZ3STeCe0GdHsZpXYIiaXz6BIs8wLX9shqJV+uzSJehrj9exNh2UicPAJ5ofDBna5/w12DlC68pmGdmMEtU2lyRAimaUKr7jSiAg2tCCv/q4PXKb8P2OvrbtdGYbldl3U5XP7AVMxpfp6whbXpKvfEdbJZx9C2mAZV9inoSjMW1JeNKpZNq053kN/DDVzib13iLClSce9p3E2oTKLTGLoFoZl9kRuEvCLm/5M2aG96orxAL2suizWhCZp5TSCEbXWPxPEv0Vcehh79mXUo7/Inz4h/2s9/xfHkOfZBVkiFWYJpr0y9yhBBHbZv41C3H2BbpNqB4KqpNZfoYHyvrpTmvqJ/o/yos/W23K8VomddexTQyzRu9dN4G7Qoxq0xilLS/nl/geqiWS/a41goaccs8NpVn/R/gS/EiCoXUycLzsz+uOmkP2QsoQ2ZNdw0d5I3 X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d3515234-38d1-491b-602e-08d8e0945c1c X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Mar 2021 11:38:28.1798 (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: /Qz9UDj+oyTCpltncc8bp1AUGq9hAnfcCqsKBlSeKWSPnA0swXTCz8RzjKpXvqZzlqONQt2yH6z4wGLkiwgkeQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0402MB2757 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");