Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5358954rwd; Wed, 24 May 2023 00:03:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4LMjYlpnX2Nbs82tOdfcCsY33FdDlAr0k4ZPRsrmqLrbFBDq4KEXa4u7LcNiM1GGeFSsWh X-Received: by 2002:a17:90b:300f:b0:253:30f9:1849 with SMTP id hg15-20020a17090b300f00b0025330f91849mr14674015pjb.12.1684911834747; Wed, 24 May 2023 00:03:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684911834; cv=none; d=google.com; s=arc-20160816; b=lIaU9YIubdm51vuZkHI8x4FDOI6cw/VGQ7NAwiyX7VQ9sG2/mVxjGsmoVlVTc7WzrQ 6rrioLSjW+jghm5uhhlYUVqPt9kuOOAFlKvtUTLevmhUIw/ByOxOnlgYizPMcAEZYeiB bZfBC9H6YQaqVjrHsyKBRHfosiwXv02FOpVVU/Wkl109zuCNfTDYuSXAuaH6yVtjpLvf X+wtdd/jZWIr4tBCCT2SS8codbc+bjgik1Bkdzf1Hz3ODFHPUe67lU+ItHz7fhfNqEPW LD9lI6AZtki9ZC/zM0ZCsvsrGXY7EWrUcCmDh7qcc0Er/UseY2O8UcFD5ehPQH2LAO46 O4Pg== 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=O1hSU4B6W+LC3kt3JyZ6o9nUDY34TI81+9/qN0Vc53A=; b=QzBrc0B/Y8tbzbsofMUCWgB1LbYM7XE+JrnN9f6hLALPfxGSfBj7UKj0voYpAnO9dy v4zjLUVB0ybqOEM4AhpvTkqmkg6bLbKi1SXoUJlIwkBjJ4PnuXqnRWObzdZw1DZmpkm/ SE1qx/dlIiEPWkgJfhu0a6cA8pPbEDwexn9VN/1/4+hLsdaqSBu/RbXoG3fZil8KmX9D S2dbC1QSq65EA7vJ4P3jekaVuYP1rdRBqOLdXa5lcL67muKr+oayT9ml0wdaIPFKhzes LsyB8aCgMHtaaGxuKGXxLlhurlPocUtW0bJ/9EhkKqKAUqhwhA627lE8WC2FmkQVcsdT RY+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Pmy70/a2"; 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 cl9-20020a17090af68900b00250ce1755e9si844886pjb.14.2023.05.24.00.03.38; Wed, 24 May 2023 00:03:54 -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="Pmy70/a2"; 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 S239464AbjEXGwj (ORCPT + 99 others); Wed, 24 May 2023 02:52:39 -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> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 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