Message ID | 1615029865-23312-4-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 g89csp228396jai; Sat, 6 Mar 2021 03:38:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJzy0QJwyvZj+a+RSAYwyKV+h5u7PkHiK4EO4tqwyvzZI4ud4EF/APzGx05i6aEtYimllcwK X-Received: by 2002:a17:906:e84:: with SMTP id p4mr6515659ejf.30.1615030728913; Sat, 06 Mar 2021 03:38:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1615030728; cv=pass; d=google.com; s=arc-20160816; b=E6CKQGz87kYeJ17j8WsADNvobN/zx3ZZ+MaihoI1Kv94C9SyXmzm5RXs4qDw2cQRNh e7NQl8n5iXkK2ykyzVlLVIVDQ5VX+lISKHzVWBRvvQY6ZNcRFlau6oPCe70YSwEIICVI uAjAS72yla5SO4cU/kJtv/I94NPZsUIxs8yRL4DdKLo4Hv9DgYnjEdghiJ/bjtFEedOm Dts0Gx3FOwp/99wwjx7oLR7wFnLKXrVfpklBqtCrPMUAQAWX/S27nOJACFOoiWNunT8I ntY2QPPNNBDspprll3LZZrGO4k9tkdf6QU/P0zQ0lknB6QqYlpfvHug6I7dSE0WF5Zib 4zjg== 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=W5NMJUQHhqlIBk6+zvQQfgYzD4wXEfXAk3gjaY/qhfg=; b=F4icTBjC2f/CU0WSIT5iwuxcxmuuzm2a3gzl/Ch4Ownc7aYGi692ihHhvu9qPDria6 QgimQ381RaY9QWbKaycGjGdv0m+pWtkl3UGM1Dn1HPjQ+6AwORJaXNSi5SpXDSyad30N +7H6EyEyBeVOPjyRcFrLjVkADIRNByFi3OhDvvlB0KP5DD5Rh780MjCZ+rr63BjcGyJD wV9KhEkBGfILsYsdHwO4GKkcNtiu99QxqJKRicK2H71FjtYIdCZ7OMfHVO2S+Y+TA0ai YB0PYhOwQ91Cb+SA5Rn3OSWVeNaORp/wAXQvHSMM6io5U1TQrbIscvd1hs+QHTphSadg wbwA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b="T/PFtnEM"; 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 q3si3186237edv.223.2021.03.06.03.38.48; Sat, 06 Mar 2021 03:38:48 -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="T/PFtnEM"; 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 S230429AbhCFLiM (ORCPT <rfc822;semen.protsenko@linaro.org> + 6 others); Sat, 6 Mar 2021 06:38:12 -0500 Received: from mail-eopbgr30055.outbound.protection.outlook.com ([40.107.3.55]:60971 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230238AbhCFLh6 (ORCPT <rfc822;devicetree@vger.kernel.org>); Sat, 6 Mar 2021 06:37:58 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QxQ7if9OtEeT1Cl6dBXY1619iiU14ZTtk0GrmlXgVHjNUMDrN72UggKXSyK5fPRh8hZo+u5rEWoeUvxwoXRSOV19RQGhkD8DUCctd7pGoVBQQ2x6V1dHibFK3OB8e6v3eS3J3Zwr/n0GAw+yfH4omKjuxJp9YhECDqOOYlqn5DJkP1PfTj6+8tbDKnhzSJm/4Tzb6yezvjnVmZpKLP3qA8o8P84+UCZlcm6YnqWrNPZMJ1vfO2VcYVcgBizJ0h8vPYzsJr2SzDns8Hz9VNMGLIr/CAge4ktlBhjX5xVELB2SO3Tjn3U63NNQ2XUk5+yR/kVulSHQREoTBHTiBUVCmQ== 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=W5NMJUQHhqlIBk6+zvQQfgYzD4wXEfXAk3gjaY/qhfg=; b=UzK2TqrbiWnypVDPoct0r/fm//LGAo2JBsgXA+JhzrV3Zi2NePALqS98rrpM6W6gUtYkPUulqBwgbXQ0ucvv/XNLBS0xXEqQoHYnqDAoOTrQd5WWh/I4rIgTf+AMAOA+LZ8h83DRIaSVbM0AwWtnuBgA1VnBFAaGRIstt9+ojJ4WzkBDVV9XhtG1QEmsMf736ThXtSJtno1a32paHhRjQV4w9/zlcqeO8bwS3U/o6C6C48n23FlihHRiZCy9SXKyoQ9whpoQ0rG5n6cyvjdmd07yvbgylKQcvpFA5PFEBXHAHd1wgcAcrGe9D6Z+8xNbI3GMsnKZc7LKVbnimPKL4w== 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=W5NMJUQHhqlIBk6+zvQQfgYzD4wXEfXAk3gjaY/qhfg=; b=T/PFtnEMkszEmUT1ivzncPdjSu8ZgeQyQe9mungd/32E2PTsc72Lgqfk21Sd+r+WGO1Jw//BXmz4yFrKI2/kIf52EBVg6eNLpsNsD9WueluS8V04Q3qrQUlBxNJOL/qLSdY0pCBTPyZpIUSLmQLuVzyODwIJSPjnCYgwLFdVIoQ= 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 DB8PR04MB6618.eurprd04.prod.outlook.com (2603:10a6:10:10e::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3912.17; Sat, 6 Mar 2021 11:37:55 +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:37:55 +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 03/10] remoteproc: introduce is_iomem to rproc_mem_entry Date: Sat, 6 Mar 2021 19:24:18 +0800 Message-Id: <1615029865-23312-4-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:37:50 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 0ae9d832-db2e-4598-acc5-08d8e09448bf X-MS-TrafficTypeDiagnostic: DB8PR04MB6618: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <DB8PR04MB66183037160263853A7B384DC9959@DB8PR04MB6618.eurprd04.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:1091; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: iDqCUMH7XYHp7Xp/3UuvELbMwYzOEt/y3lEKjo6xpZlLAgMCkBF41nFgnlj0X2dvNoBOAWTByDs/HM22WjHO35EFz8ImFLu6of3NBncSFchb1Yr8t5ZEGEXlyoQl04Mq15Apc6XIa7wEeYa18pX33iDUrJsuxhIc1Q/aIUcQ6PSEO5xNMTG626SangR61fDYiktmYRlzuvt0eNCc8VkV3r0L05jVNP5Qg/+UpOVINgHtfdtzgalRGZJPJJkjkjhON+hN65FkIO9aILkZcPR/IDd57eggjAmipXAQ625GkdYnu3nJlIW6KnTIGyyBi5u5HM9mrx1bTnkPZQM417tuW+P4Mel3CdKYQO31JCsP9amqeqHUuJq8I/R6nlKNRWSEpJMQedgu+Dtl01o99rk5ovOLREuQhfonxBIzbeUlWcY4oeF70VO6jyN682tbak3S5/O0iDXqW6r8DSScJuxPC6bBLtez2u6KuV0oLgB6SUsYjkT57tsSrMQeh3dGZ04VrNNGZsHrhwHixqFAJ7x1m19jAguNWOdYofDNcGlsZ4SH24SGtax+TYFwLVV0lhJ+WLrkVJMTvf+o1dAozSQ3Wg== 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)(346002)(376002)(39860400002)(136003)(6486002)(9686003)(6512007)(2616005)(956004)(8676002)(6666004)(69590400012)(86362001)(4326008)(66946007)(6506007)(4744005)(7416002)(2906002)(52116002)(186003)(16526019)(26005)(8936002)(66476007)(66556008)(5660300002)(316002)(478600001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: Cdh2pa87S4Om0n0IV8BdR883tkwDPuEKEHoXvuhXdauWLKpMEbuN7bYX8UvQ6SQ9IgzHUUgDZl5balOgQpU+bYI6hy37atjrXyeFmHTv/XUKzQaVHEup+/zGwcVtOs0LGsYcrgIA9SasxlFLLZhjgIjNqGNVyrIIo159f9bt9p1Vcsqhq2+gXFOkFq2uToM0X+pheSYEPT3dkmFAyCZBjkUvvdkKmOkkYZ/Ho7+NCott696lJNmFklf8ReMwnelzBwvWUzWz2CK9Bmbv78iYvHvwB8mHJFlchqTA7FFluM+B5NLmwU3hQc5+uLBdagvu2vpn33WSs7cTa0Yrwyj+z5uQZvXP/PQDRxg1NQxmOYJQKtyitwUWNTu0wDSMZqiaW5q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.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Mar 2021 11:37:55.7056 (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: gUR+o+SQapa/JZNLBB4+xlOZ/fs/W5pGS0el1v28ffHJ993b6pdTC3O+hMaU2Mfxz77i5cVV3TPPceKQhM6ZCQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6618 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/include/linux/remoteproc.h b/include/linux/remoteproc.h index f28ee75d1005..a5f6d2d9cde2 100644 --- a/include/linux/remoteproc.h +++ b/include/linux/remoteproc.h @@ -315,6 +315,7 @@ struct rproc; /** * struct rproc_mem_entry - memory entry descriptor * @va: virtual address + * @is_iomem: io memory * @dma: dma address * @len: length, in bytes * @da: device address @@ -329,6 +330,7 @@ struct rproc; */ struct rproc_mem_entry { void *va; + bool is_iomem; dma_addr_t dma; size_t len; u32 da;