Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp4216921rwr; Mon, 8 May 2023 04:54:11 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4sipSeiWXdxmRM94un5KHji9kRBdVJ4mJk7Ap+szsjz01w4WF06ZoDxHBwCNH8xJPeXN59 X-Received: by 2002:a05:6a00:10d2:b0:643:96bc:b292 with SMTP id d18-20020a056a0010d200b0064396bcb292mr11430119pfu.5.1683546850746; Mon, 08 May 2023 04:54:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683546850; cv=none; d=google.com; s=arc-20160816; b=ZYv6P+e4iRhOqa5MjFPOrUIa5ThjVGUIKRl8rGbeWsTXCWtOlroXQQIhHLAEG/mY/f bkZDjkvHaZnGtEpzPPqqeZ6GSeruIIkMzhzyBMJONffIvPIfn1bruRSkiiQpqSPSHWcf 3WbQsRnVcktQO8MnkJwEpxiKX6vU9pr43gRzwv8htz4vQEJgmqva7thq3+dRzKOCnAlR +3SJfpPFjVwTEzwAq6eYnhVBAn40sS86rDxF2MzTsTgbsKWdtyPODmGIakS2GtI9Bkgq tVVtdM88RarZmR2CLHMZUH4ucr40jwEMRIjCY8NmyPpeQmLnK++HNdSKIGIQONyGxVLh JGmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:dkim-signature:date; bh=ElYf2a+Vf3tVF0EX4H5zzAhn5sjX7aaNhZ53YyFncJg=; b=APc2yAWgFNKrk0ZLLAOJ+IA2MXy7zJoWxMTLJSsFoX3rljMqvn9tI8RWInsQhoqiK1 gKZtlupj+MzP6d3ptjBvAVAW69Evd/7QaHlv8JwkuOgJNtnkIiMr4Z43GA4QvY2dPpGT EBTKsoW3zE83QRbpexwgwJNitWIcQTEhihRHJ5dti46Lg8CfSLunW5ciGtHhQIKUXTL/ hDcGWcXZMtjJLWZaVuihJr0J4cEawKlbv3KwM6xcuqtCVPhDVl9hh32K/tEPgyEXQTxz y230txgiyEFilFqQtimdd4eLbWNO3C2As5s4zVrFxyg3KPLHe8iWz8zMBSRQTSS+j5lB Nlsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=ES68el+r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w68-20020a623047000000b0063b13efdd06si8296775pfw.345.2023.05.08.04.53.58; Mon, 08 May 2023 04:54:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=ES68el+r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235758AbjEHL1o (ORCPT + 99 others); Mon, 8 May 2023 07:27:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235704AbjEHL1X (ORCPT ); Mon, 8 May 2023 07:27:23 -0400 Received: from out-7.mta0.migadu.com (out-7.mta0.migadu.com [91.218.175.7]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D55623D562 for ; Mon, 8 May 2023 04:27:10 -0700 (PDT) Date: Mon, 8 May 2023 19:27:03 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1683545228; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ElYf2a+Vf3tVF0EX4H5zzAhn5sjX7aaNhZ53YyFncJg=; b=ES68el+rj7HOKoaPk83JuJcSrCi+3BH/j+tQBfnaiunnqlbxHYkOfDJW9iXwiqRdiW6uC5 o25WWQaoGb5xT/eH+C2hto9iZZOKibDerDEdjq8GWd7V3Hi0TFMGf0LS3fARrBimQl114V JHx9GTqndCtyb+df4UErYKbjpCAVsE8= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Cai Huoqing To: vkoul@kernel.org Cc: Gustavo Pimentel , Vinod Koul , Jingoo Han , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , Bjorn Helgaas , linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, linux-pci@vger.kernel.org Subject: Re: [PATCH RESEND v9 0/4] dmaengine: dw-edma: Add support for native HDMA Message-ID: References: <20230413033156.93751-1-cai.huoqing@linux.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230413033156.93751-1-cai.huoqing@linux.dev> X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13 4月 23 11:31:51, Cai Huoqing wrote: > Add support for HDMA NATIVE, as long the IP design has set > the compatible register map parameter-HDMA_NATIVE, > which allows compatibility for native HDMA register configuration. > > The HDMA Hyper-DMA IP is an enhancement of the eDMA embedded-DMA IP. > And the native HDMA registers are different from eDMA, > so this patch add support for HDMA NATIVE mode. > > HDMA write and read channels operate independently to maximize > the performance of the HDMA read and write data transfer over > the link When you configure the HDMA with multiple read channels, > then it uses a round robin (RR) arbitration scheme to select > the next read channel to be serviced.The same applies when > youhave multiple write channels. > > The native HDMA driver also supports a maximum of 16 independent > channels (8 write + 8 read), which can run simultaneously. > Both SAR (Source Address Register) and DAR (Destination Address Register) > are aligned to byte. > > Cai Huoqing (1): > dmaengine: dw-edma: Add support for native HDMA > > Cai huoqing (3): > dmaengine: dw-edma: Rename dw_edma_core_ops structure to > dw_edma_plat_ops > dmaengine: dw-edma: Create a new dw_edma_core_ops structure to > abstract controller operation > dmaengine: dw-edma: Add HDMA DebugFS support > > Tested-by: Serge Semin Hi Vinod Just ping this patch. I have rebased this patch series, pls try it. Thanks, -Cai > > v8->v9: > [3/4] > 1.Drop an empty line. > [4/4] > 2.Update commit log. > 3.Remove unused macro > > v8 link: > https://lore.kernel.org/lkml/20230323034944.78357-1-cai.huoqing@linux.dev/ > > drivers/dma/dw-edma/Makefile | 8 +- > drivers/dma/dw-edma/dw-edma-core.c | 86 ++---- > drivers/dma/dw-edma/dw-edma-core.h | 58 ++++ > drivers/dma/dw-edma/dw-edma-pcie.c | 4 +- > drivers/dma/dw-edma/dw-edma-v0-core.c | 85 +++++- > drivers/dma/dw-edma/dw-edma-v0-core.h | 14 +- > drivers/dma/dw-edma/dw-hdma-v0-core.c | 296 +++++++++++++++++++ > drivers/dma/dw-edma/dw-hdma-v0-core.h | 17 ++ > drivers/dma/dw-edma/dw-hdma-v0-debugfs.c | 170 +++++++++++ > drivers/dma/dw-edma/dw-hdma-v0-debugfs.h | 22 ++ > drivers/dma/dw-edma/dw-hdma-v0-regs.h | 129 ++++++++ > drivers/pci/controller/dwc/pcie-designware.c | 2 +- > include/linux/dma/edma.h | 7 +- > 13 files changed, 807 insertions(+), 91 deletions(-) > create mode 100644 drivers/dma/dw-edma/dw-hdma-v0-core.c > create mode 100644 drivers/dma/dw-edma/dw-hdma-v0-core.h > create mode 100644 drivers/dma/dw-edma/dw-hdma-v0-debugfs.c > create mode 100644 drivers/dma/dw-edma/dw-hdma-v0-debugfs.h > create mode 100644 drivers/dma/dw-edma/dw-hdma-v0-regs.h > > -- > 2.34.1 >