Message ID | 20230609081654.330857-1-kory.maincent@bootlin.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp796074vqr; Fri, 9 Jun 2023 01:32:52 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7zQe85pv7sLVYqD/KK1v5V74Kwx6KpkeAeRXTibMwll/fenZRxmb42XOrVBjkJnQvBoM6o X-Received: by 2002:a05:6808:25a:b0:39a:bf2c:2e01 with SMTP id m26-20020a056808025a00b0039abf2c2e01mr788502oie.53.1686299572708; Fri, 09 Jun 2023 01:32:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686299572; cv=none; d=google.com; s=arc-20160816; b=jURAuahJWmqyxRRvF/PATr9y7/Rv5lBq1KBoNqBqOdfsHD+oeMvhfgCFozu0VJ1Ywc E5YKmgvjOPcnSOK0OfhrW0tlQVLKBGri+JlJQwwvUlXbr1/xwF86mio4sPGT5jAAKNDI F1DCxnnyetHtXNZByAlu6S++tFnbjjw9BI5yC0xbOQxEB7ElGLyk7+LEvrLa07Qg0kcB d6XwLcdl5TJKC5DLueaskIbgtae8i82mb6iVkAnydZy4tJLB80FUCtmksucRymToKC2o aF98IoDAFv/+Z8sMFhupn9F+U4zEGDqLIGJhkJ9jWTqZackpa5DEdfTWylglN8B5LFmK NyEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Ex6LdIdKwwSp7v20YeX6YqUlcckFZIlUK3H78VaVgeU=; b=flngEtQD1Zjtvpxep5SEFQ8ECyN1oHP8Or/KR+fhjd86j85l4z/RBdiJYptF6nsWzC 9MS42VKFO+ff6YyGfZxHKRjIJ5fS7SG/kOD5ljmpzzCV4XZaDsvYSh17S+mHovrmzFq1 78s97Ye4IK9tsRmTBaIoiOOO0DrQyr0NBFggj6o48aWEGQHkvI93HD4VZq85rUNM+ZNX X3ecxOt/YRzTOPBL+1PUllARHbWXAt8b/Q0FzO/2YtFn0eOzFXF3W7Akro42JEY16srE i4JCjW/KCwKCcgFwkIYmrgdSVDtha9GtoHvnl+WaGmRcxrR6/xY1KAVoDl8G/0rJ5WfU JrPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=DpVXxOJw; 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=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x1-20020a17090aca0100b002536713c7basi3958853pjt.55.2023.06.09.01.32.39; Fri, 09 Jun 2023 01:32:52 -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=@bootlin.com header.s=gm1 header.b=DpVXxOJw; 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=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240231AbjFIIRl (ORCPT <rfc822;liningstudo@gmail.com> + 99 others); Fri, 9 Jun 2023 04:17:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240176AbjFIIRf (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 9 Jun 2023 04:17:35 -0400 Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::226]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1AF0F35B5; Fri, 9 Jun 2023 01:16:59 -0700 (PDT) X-GND-Sasl: kory.maincent@bootlin.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1686298616; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=Ex6LdIdKwwSp7v20YeX6YqUlcckFZIlUK3H78VaVgeU=; b=DpVXxOJwU8/YuZqdB9Omoc6INTySlWfL4wFxYiokbczMotgp3wKr0VQIntQo8iuwJ3cbrr +VA9cdS9cRaNEFPLlQdygdtAlBcI/3C2VC4OKNm4/qvcQ7TBtTgeS/KXYBKSEFwj2HkRQ0 8Z4F4JXlhDxcHXTHcIJAWAETi7MfZsLNwFd/mgKdN0FN8QzMbddaNswIenh4OlsT3vaDbl h3NGDiunQ5ExcaZGka2Q9wFYJtOms276Gv1ZNqsyyzFENWQfclhNgvOdnmerRl9eK4fX3L NiKb0L88DNvzvsu8fEdtoXZ0IwUqnbZbIV9XFHn0KxLl2K3bG1DwPbvKYPedew== X-GND-Sasl: kory.maincent@bootlin.com X-GND-Sasl: kory.maincent@bootlin.com X-GND-Sasl: kory.maincent@bootlin.com X-GND-Sasl: kory.maincent@bootlin.com X-GND-Sasl: kory.maincent@bootlin.com X-GND-Sasl: kory.maincent@bootlin.com X-GND-Sasl: kory.maincent@bootlin.com X-GND-Sasl: kory.maincent@bootlin.com X-GND-Sasl: kory.maincent@bootlin.com X-GND-Sasl: kory.maincent@bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 193CDC0005; Fri, 9 Jun 2023 08:16:55 +0000 (UTC) From: =?utf-8?q?K=C3=B6ry_Maincent?= <kory.maincent@bootlin.com> To: Cai Huoqing <cai.huoqing@linux.dev>, Manivannan Sadhasivam <mani@kernel.org>, Serge Semin <fancer.lancer@gmail.com>, Vinod Koul <vkoul@kernel.org>, Gustavo Pimentel <Gustavo.Pimentel@synopsys.com>, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>, Gustavo Pimentel <gustavo.pimentel@synopsys.com>, Herve Codina <herve.codina@bootlin.com>, Kory Maincent <kory.maincent@bootlin.com> Subject: [PATCH 0/9] Fix support of dw-edma HDMA NATIVE IP in remote setup Date: Fri, 9 Jun 2023 10:16:45 +0200 Message-Id: <20230609081654.330857-1-kory.maincent@bootlin.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768213260394370452?= X-GMAIL-MSGID: =?utf-8?q?1768213260394370452?= |
Series |
Fix support of dw-edma HDMA NATIVE IP in remote setup
|
|
Message
Köry Maincent
June 9, 2023, 8:16 a.m. UTC
From: Kory Maincent <kory.maincent@bootlin.com>
This patch series fix the support of dw-edma HDMA NATIVE IP.
I can only test it in remote HDMA IP setup with single dma transfer, but
with these fixes it works properly.
Few fixes has also been added for eDMA version. Similarly to HDMA I have
tested only eDMA in remote setup.
Kory Maincent (9):
dmaengine: dw-edma: Fix the ch_count hdma callback
dmaengine: dw-edma: Typos fixes
dmaengine: dw-edma: Add HDMA remote interrupt configuration
dmaengine: dw-edma: HDMA: Add memory barrier before starting the DMA
transfer in remote setup
dmaengine: dw-edma: HDMA: Fix possible race condition in remote setup
dmaengine: dw-edma: HDMA: Fix possible race condition in local setup
dmaengine: dw-edma: eDMA: Add memory barrier before starting the DMA
transfer in remote setup
dmaengine: dw-edma: eDMA: Fix possible race condition in remote setup
dmaengine: dw-edma: eDMA: Fix possible race condition in local setup
drivers/dma/dw-edma/dw-edma-v0-core.c | 23 ++++++++++++---
drivers/dma/dw-edma/dw-hdma-v0-core.c | 40 +++++++++++++++------------
drivers/dma/dw-edma/dw-hdma-v0-regs.h | 2 +-
3 files changed, 43 insertions(+), 22 deletions(-)
Comments
On Fri, 9 Jun 2023 10:16:45 +0200 Köry Maincent <kory.maincent@bootlin.com> wrote: > From: Kory Maincent <kory.maincent@bootlin.com> > > This patch series fix the support of dw-edma HDMA NATIVE IP. > I can only test it in remote HDMA IP setup with single dma transfer, but > with these fixes it works properly. > > Few fixes has also been added for eDMA version. Similarly to HDMA I have > tested only eDMA in remote setup. FYI it seems several patches of this series has been categorized as spam. I think it is because the code of these patches are quite similar. Köry
Hi Köry On Mon, Jun 12, 2023 at 10:59:42AM +0200, Köry Maincent wrote: > On Fri, 9 Jun 2023 10:16:45 +0200 > Köry Maincent <kory.maincent@bootlin.com> wrote: > > > From: Kory Maincent <kory.maincent@bootlin.com> > > > > This patch series fix the support of dw-edma HDMA NATIVE IP. > > I can only test it in remote HDMA IP setup with single dma transfer, but > > with these fixes it works properly. > > > > Few fixes has also been added for eDMA version. Similarly to HDMA I have > > tested only eDMA in remote setup. > > FYI it seems several patches of this series has been categorized as spam. > I think it is because the code of these patches are quite similar. > > Köry Thanks for notifying about that. The entire series landed in my inbox. So no problem has been spotted on my side. I'll have a closer look at the patchset sometime on this week. -Serge(y)