Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1260546rwl; Wed, 12 Apr 2023 10:10:32 -0700 (PDT) X-Google-Smtp-Source: AKy350Zrd8b3oZMiB4k4sXGciN4pyV20R3ax9UqNFfyeg9SSfFxwEr5p7WVT8D5z37uDDUSNDQKb X-Received: by 2002:a17:906:b014:b0:90b:53f6:fd8a with SMTP id v20-20020a170906b01400b0090b53f6fd8amr13976838ejy.10.1681319432111; Wed, 12 Apr 2023 10:10:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681319432; cv=none; d=google.com; s=arc-20160816; b=i80zl/Uxv+wRXCpNVksQfI8TihISvNHska2vNAA3pngpQ86SpXCxowIJBkvY5viKMU E7M1/klw5DgzUrPjSuAD+in/a5P/52ede6X9a4PxUj/KivvGBn1gejuUnShHwMpheh+f 13eBraU1S9Mj6yoar9rX7tc39w9FBY5JQKG+hXrmhYe3FxCdHCQAZZ5nLwyNeaLJ+Mbi 6cDYBlcfCKov8/RBneRu55H/xLLN6DL1nCRykQwaFu1XVozkm5aqXZyy3H6MOdqWeXTl WcDsNxN54CeNCiHG2bpK4J/H1MNA613bCHbHTqMXhk/svjxnnGI/yt3a+u+WrqVmXq+3 LwQQ== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=WwIOy7adKpDcwnIfgFQdAe8N3zm08fLCK6ZV80IOtLk=; b=WsTdeAIP+T9aSpbTUSriAm4Myurb0p0K8lbj6QlDZGCtchXSiQ4ZJCDA4iiUvJgxD/ NfvKAXFzJnp7h2A3kK0Wr9pLe1b17QkhUE7D/q+S4n/eQyo2Sh4bxWT59RWJXv0M7rC4 JrnAeDyw4ETIPeO0DmVbvVeC/rFfzteZeX6cmgJTOfa7fKCravH08xJiqKjGSSOOvLLR vTp1/ATzVPnwINxSbblv4OgfkKuU3XFtlfyrfA0wBWPem/MioMWqA/YKueGDrDoeRNCG YZLK+PYl/LM4poHIdaR13OV2IpAH8OsF6sozXDVO3ZwTfPv/vIOvnOG24Vz7k8RFC1dG YVjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nj3lE1Ts; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h20-20020aa7c614000000b005066b3e94d3si119971edq.653.2023.04.12.10.10.06; Wed, 12 Apr 2023 10:10:32 -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=@kernel.org header.s=k20201202 header.b=nj3lE1Ts; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229950AbjDLRAU (ORCPT + 99 others); Wed, 12 Apr 2023 13:00:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229661AbjDLRAS (ORCPT ); Wed, 12 Apr 2023 13:00:18 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B110493FE; Wed, 12 Apr 2023 09:59:57 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 333526377F; Wed, 12 Apr 2023 16:59:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0685AC433EF; Wed, 12 Apr 2023 16:59:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681318796; bh=waL1SUStoZYoO7jMUcgEhhUZnXTPiR4HX3xLSQqTvB0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nj3lE1TsmBurSn1IxeNk9HCoQTJjmeSjZDCF6F4SDJgsLJvlnv1KsBDkWQg1BXLHL Q9QTZccm4JtJ2NCp3HXrx5sioJxS5DWjrDHgcJkRl1BaNPs+bJhW443y+h+ctKb+Hj Sv70nuch0Wz7Vua1IpkvuZ8kiyC82KD7lHKKjLnJRAdH3tPprlZ0xf/ZE4MKGyJ8hr F/MWJaWrxf50ZiQQ5biQ40MdFfHwRFes+VkqgEp7UWokKzGdpYnTiyd5ncJuXQCs3W e5VTJp6CrYaj5DKyxwPRI1wDQmB7TVN+xWghLePXgeJLtOC7jgiLh5g/J58WH9zfHJ EjLTFj2ZH3sWQ== Date: Wed, 12 Apr 2023 22:29:52 +0530 From: Vinod Koul To: Cai Huoqing Cc: fancer.lancer@gmail.com, Gustavo Pimentel , 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 v9 0/4] dmaengine: dw-edma: Add support for native HDMA Message-ID: References: <20230324021420.73401-1-cai.huoqing@linux.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230324021420.73401-1-cai.huoqing@linux.dev> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 24-03-23, 10:14, 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. It fails to apply, pls rebase and resend -- ~Vinod