From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 21DBAC77B7C for ; Wed, 24 May 2023 06:52:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231537AbjEXGwf (ORCPT ); Wed, 24 May 2023 02:52:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231889AbjEXGv7 (ORCPT ); Wed, 24 May 2023 02:51:59 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41C7AE41; Tue, 23 May 2023 23:51:10 -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 B1375638E9; Wed, 24 May 2023 06:51:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6EED4C433D2; Wed, 24 May 2023 06:51:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684911069; bh=SQgChDcw6HLiiW8+cWOlKH9uJ8KGAUmFWwGc0/oyPJg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Pmy70/a2keU9fBFBIbRvYksnt7YJ8/C1aPUk6iYC9AGC2xaG0JuUpdR+HkChT494N oWedZdtvErqqabp2DhYJjB0wfnyf6R4GC0bNINaGmc4JifjeBx8ojnOyZNtwDbdQ8E GAf+DWxagT9fhIINBfvpzq9ZBqxmvEPSJL7vhM5YGYzvzKFDtyvvuHtLfp+J7Cty8O bjZWGGX2wsiLYpv//XMZFtH+mZ9kQxrMG1hUi1ARhBNcMHa6iYm+SEHoFj785Y5Jp0 mft6j3KD+UBezEuuZmknMqF389jBm43Uc4tD3XpHr/VtHpLRoruKtBm4ikpmvhzbhV pFuE94THxBo9Q== Date: Wed, 24 May 2023 12:21:05 +0530 From: Vinod Koul To: Cai Huoqing Cc: Serge Semin , Manivannan Sadhasivam , 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 v11 0/4] dmaengine: dw-edma: Add support for native HDMA Message-ID: References: <20230520050854.73160-1-cai.huoqing@linux.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230520050854.73160-1-cai.huoqing@linux.dev> Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org On 20-05-23, 13:08, 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. Applied, thanks -- ~Vinod