Message ID | 20231116222743.2984776-1-Frank.Li@nxp.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9910:0:b0:403:3b70:6f57 with SMTP id i16csp155576vqn; Thu, 16 Nov 2023 14:28:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IE3K7z31CbqdCfSv9ax3ckmsuY/2IF9Skn7Xs9GbEN2UnOM1y/7RosdwiSZCK0Of125xSeo X-Received: by 2002:a17:90b:1b51:b0:280:1dfc:1302 with SMTP id nv17-20020a17090b1b5100b002801dfc1302mr18416143pjb.17.1700173733334; Thu, 16 Nov 2023 14:28:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1700173733; cv=pass; d=google.com; s=arc-20160816; b=o/gCiO7ulQ0dpFj3F9WMq2ZpRDgXW2CGjUNgdVR+EVXZlmIvfoPUQhoz93F3CvnZlB 2aE7cY/6X2aOgoNDxIf0GamtP/R4scnDT501/d8WKeVSOxDedIPUw3DLQKLrtoZfJvvS JEmWQbsFXLHG3W4XNiJ4ebERciHNDVOjxeBr7vTx8Jlf1sM7Smt2x4nDqjjyZGasiADy OJXnvmYm0UJqn8XZBXXCvvzC2qPccmJ6qetoI7CYEcU0fUqIG+SQ49IBpEj4BnEQETm9 zv/euI61CQpqx8bMDNn5hOjhKhTvbmz+owtCU3aNFD59OAre6ULMZhxdbUmiDwCS+PcG JnMQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :message-id:date:subject:cc:to:from:dkim-signature; bh=GOqp2hX+xz1yu312sraVbtYWLD9796KDcven75a2Zd4=; fh=WwdwxswekiDlcDQNcHvu2C9Zy8N9YQStHu/6mj4Dj6c=; b=HGjK2b8vZOZZDdltfdfIEiCykkq+bIpctDrXLdmToGxnuhQgssl+I/DwKiDfHqb4JZ 3fZt2rcRXbzyRNQoI+LDs7j1Fx9Zz2nUGVaBqOemw/qTgW0oNMQejbwZI5fOpjP48Jsi zNn9GFFhlEIANcNfGRtUKI3+0rB1PRKcwCey/nTXRsb+IqSgQh4ZtAnReAjw0K8Xv+CB ymHV91A/YFv/caqjpMFOr+B6u2z4Nt+XtNhyAlUgdDbdQvbT5NXwfu0wpoxQyLTvFX7E CQLYYL9XHQMJpuCluAit2uwgup+AUcQZL7Jucu7dPoDECcfMvxMekBLelzuRFWs5812U CP4Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=FxoG5pqx; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id m1-20020a17090a858100b0027cf8287c5csi2955117pjn.62.2023.11.16.14.28.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 14:28:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=FxoG5pqx; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id EAED8802123C; Thu, 16 Nov 2023 14:28:43 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229723AbjKPW2K (ORCPT <rfc822;jaysivo@gmail.com> + 30 others); Thu, 16 Nov 2023 17:28:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49422 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229379AbjKPW2J (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 16 Nov 2023 17:28:09 -0500 Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on2040.outbound.protection.outlook.com [40.107.13.40]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4350B9; Thu, 16 Nov 2023 14:28:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kwDwkPuI3FEZ5pjnC1usMetC5J4OnCoNCrL2+FE2Yj2y2VmlrK3t3VEvdjda5NJCS4OVfheb75GvBCUZo2B+8shi6iik6ff8EjJIZFNIP00uACMVygxk9k6OJkH6hvLCvMK3YNNaMueXMVpns4LDjji9gjCd8w7hCtG/fgmoczpFotdfi4WlpMmIlMCtSh7Ra3TusnhCc+8XFzGoQo5smQ+T/xgqkgw3+rGeaWdn+MUN7HpXT6fleGJy+e/SElx+bFWCxVG0tWXmLxxc8hL/0G33UtTRbgbV7JqnYtbB90ZeEngjUnSTiFEwRFXlWccykPxm24Ma6OiGfMYuYbhyeg== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=GOqp2hX+xz1yu312sraVbtYWLD9796KDcven75a2Zd4=; b=BK4wLF7HHYkZJH2OWwue5YeGYAup7+OdEURoRZgaQcg0B4fv0ECj6vgI2/a6LahyZLHzg0GDLZAf1D1c3TLAqVVipQH4dn4jPf2AD4Wc45jspYBaBERbt/28AvdnPEXNHlbx0ONvXS4+2fNmyN1+xZZJH75tu3ifbyJnFvGM9R+phQv+ox0vccJzhtZaWz7OXkyVr7yy9D0yzupof+4fYPt5QRS/KhSs5iHJ3/QQjs97tawSjl/tsCt5+2qJxelNgCx8CXAUtZSrhluYpvdh9tcXL1ncWbVSPcqedijHMxAbfUncqtnbmAhqfB833kR8W1uNMNM/iRr0aQ7vhw4q7Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GOqp2hX+xz1yu312sraVbtYWLD9796KDcven75a2Zd4=; b=FxoG5pqxWmX4ZJ/c1WElkI8QhFGJJx+Dwid3txFzRNq92tv4X5KanPAcNTh1KvdvLRPtWA5UFUJyh+l/H+OVzskp9S1XtObb6Ce7QvJZxACSVFIOraTsaxm7d5dOJHSwLepQAPKaJkPlED5qv9664414q95VExyej4v7M1Jl/N8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM6PR04MB4838.eurprd04.prod.outlook.com (2603:10a6:20b:4::16) by AM9PR04MB8857.eurprd04.prod.outlook.com (2603:10a6:20b:408::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7002.19; Thu, 16 Nov 2023 22:28:01 +0000 Received: from AM6PR04MB4838.eurprd04.prod.outlook.com ([fe80::c048:114f:b7c2:7dcf]) by AM6PR04MB4838.eurprd04.prod.outlook.com ([fe80::c048:114f:b7c2:7dcf%3]) with mapi id 15.20.7025.007; Thu, 16 Nov 2023 22:28:01 +0000 From: Frank Li <Frank.Li@nxp.com> To: frank.li@nxp.com, vkoul@kernel.org Cc: devicetree@vger.kernel.org, dmaengine@vger.kernel.org, imx@lists.linux.dev, joy.zou@nxp.com, krzysztof.kozlowski+dt@linaro.org, linux-kernel@vger.kernel.org, peng.fan@nxp.com, robh+dt@kernel.org, shenwei.wang@nxp.com Subject: [PATCH v2 0/5] dmaengine: fsl-edma: integrate TCD64 support for 64bit physical address Date: Thu, 16 Nov 2023 17:27:38 -0500 Message-Id: <20231116222743.2984776-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: BYAPR02CA0071.namprd02.prod.outlook.com (2603:10b6:a03:54::48) To AM6PR04MB4838.eurprd04.prod.outlook.com (2603:10a6:20b:4::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM6PR04MB4838:EE_|AM9PR04MB8857:EE_ X-MS-Office365-Filtering-Correlation-Id: 63a81dff-e38a-45e4-21a6-08dbe6f34adc X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 9i/7yDaUm1iX38bxkXIosZL6TYTqsi9a39WTbov1+GxV43SPz+X1TTCv39WFvciJF9LI7ywoF79H5tkPmgpabegzps3s1WYrBFc71K+KgYmJPUd8K8r+UsGurykwNZLqaul9XYzGQzeC+Fxzl9K/zBFNOoOcp5UX9VYxxQ2APOgWeB9s1ATmOnFtriO+ZA0LuwH9s0/aLb8PmV8D27I1Gpb576HzQPW/XNVSX4ALFFlO8YSy2uHx7d2FNgUXRDnVoURjt2MSu+/oNffYjgog7+SKbdMnAnmy4lsaSjbTfTTUXoqFZxYQtthntLdxt1CflpSpy6XTM7iedrpEdxGjSZytfbMF8sGe9KifWq5AVCYoyrhu1caH00nomHGiWRTx/8d1DCpUCBffyMz6tQOpnK6R4BBaZxOywwHU32frNDsFqsDHJey0v3ku5ifwAJ8Xq5x8o43JfjxpiKVedvrG/eIXfFz4FSDRDxfwGhE7yfFOMna2BDUb7bYACuwzfto7v7CC/aVYPJ2C05UF5hc0WK8T4YIJt07zlDB58r1EDWERMUjQ4zfRom19oOrt8gv2PmfIXc8BiWAbqC3c1/B19k2wVYMcKEya/mf0M+XLIrNgR1hHe0RUTBTxQJ7ck8z8 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM6PR04MB4838.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366004)(346002)(39860400002)(136003)(376002)(396003)(230922051799003)(186009)(451199024)(64100799003)(1800799009)(6486002)(478600001)(6666004)(2906002)(2616005)(6506007)(5660300002)(52116002)(86362001)(8676002)(4326008)(8936002)(4744005)(6512007)(66476007)(66946007)(66556008)(316002)(41300700001)(83380400001)(38100700002)(26005)(36756003)(38350700005)(1076003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 6FMh6BZqCCKHprcwe9+fRfK+6gF3LUHqq9sSRQTChO+0FOJ4FO+YjZtTm63TWtGlTnR8SkTVidQEzJprzXb70I4w9HfE9BcEJCeHmwLILe+2ZcGbZX0dWnw9aj79KeG7djijpDvmjSuX9KTMyRd2pvahyORuhj5Qa2hytAtZDgJKLEpkde2pCFOQ8RlSZJumcaNFbFQIuZkuRApA2+hUO6VwzCP7ig0nb+LCak9375g4iDN46DBiEyF8wUFsm7Q3ynnurSaxO+chjEAzKbiRN4QVMsIEP7LnQIjIMNViPqGkQAFLGJpM8k3RzfftIQHGHcOh7kUAAAuYh72KD3DzsZpg6ciJ+J9WxCFFU4H6LyZr/U+9dKGHiUFWYl955a+P47chP9ir0MbJnGR+PYgcfOsvRxCqL03w7/1SAj86TlDVj71FO8uNdp3irF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FnJ62sluYhvL+GJB6p7GnSyN6kQcAtCPqQ6FKZ8o4ZqRE9KBXa/sbXnpuVLWjrJKd04MFuQADbJj X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 63a81dff-e38a-45e4-21a6-08dbe6f34adc X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4838.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Nov 2023 22:28:01.3748 (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: 6yP2zqaoSwEF5P8BAnloue7MoQLSK80mbCup5x2S2w8eCa6LTZCRFVIqiuLeDXTRrpncpi99meFe+H2IDXDd3g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8857 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 16 Nov 2023 14:28:44 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782761372539260563 X-GMAIL-MSGID: 1782761372539260563 |
Series |
dmaengine: fsl-edma: integrate TCD64 support for 64bit physical address
|
|
Message
Frank Li
Nov. 16, 2023, 10:27 p.m. UTC
Change from v1 to v2: - fixed mcf-edma-main.c build error. - fixed readq build error. readq actually is not atomic read in imx95. So split to two ioread32\iowrite32. It needs read at least twice to avoid lower 32 bit part wrap during read up 32bit part. first 2 patch is prepare, No function change. 3rd patch is dt-bind doc 4rd patch is actuall support TCD64 Frank Li (5): dmaengine: fsl-edma: involve help macro fsl_edma_set(get)_tcd() dmaengine: fsl-edma: add address for channel mux register in fsl_edma_chan dmaengine: mcf-edma: force type conversion for TCD pointer dt-bindings: fsl-dma: fsl-edma: add fsl,imx95-edma5 compatible string dmaengine: fsl-edma: integrate TCD64 support for i.MX95 .../devicetree/bindings/dma/fsl,edma.yaml | 2 + drivers/dma/fsl-edma-common.c | 101 +++++++------ drivers/dma/fsl-edma-common.h | 134 ++++++++++++++++-- drivers/dma/fsl-edma-main.c | 17 +++ drivers/dma/mcf-edma-main.c | 2 +- 5 files changed, 198 insertions(+), 58 deletions(-)