Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1523188rdb; Mon, 2 Oct 2023 12:10:08 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFQg32cMwuujGXDoEh2FQUXlT8U7PQIyUMXfqp3dCvxelKYoQX7UN14Dn8jObP2p9dX1BDL X-Received: by 2002:a05:6a20:7485:b0:153:8754:8a7f with SMTP id p5-20020a056a20748500b0015387548a7fmr11887453pzd.4.1696273808302; Mon, 02 Oct 2023 12:10:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696273808; cv=none; d=google.com; s=arc-20160816; b=K4z8XzJP8AZQy07pwsm76tU9FVp9kQvJ1SBSe69KhW4+3dazS8N31Z635/FOunb2Gz nU1psB5wgIqok+SSm2nPiFRp/2gHP+kzQJtiVwpmoTqreos5NjDFej94SKRLo2p7QIVm GumowlwhyoERQuDurlcYUEN76aXOtSIpWns9vmH0UsyuX+YE0uVLpM0SM7cPj3n6Spn/ Q5nF2VnUM0kLzhQRMMqZVoKQY6H2UlljiS3uuPBwwtlPz2b10nNFtH0GRNXuUrtA8ygg eyrPRJAGs9zZl3qVSTnYJpU+QyEBaP1Tg/8IwD1qjwFMthwj8Z8ngqu6CmOs2c4H3dSE 9zQw== 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=zTlDx0KTHKTtTlsJBumhY93csPVjcrRp0nLBc3tJdlM=; fh=3Wij1Nyq0kk9iFJBGjsMqOGfirL0oXoeYA+XKMkEeWg=; b=nzUOws9RXnBupEkLGRE4afkivZX8Zg17XAnCLouOUK6Ni5AhQigPheWP+yP6xrWqkF uNifwGO7dmtDdVRur4zX81kRKRXPZ1uEszgbcvzkzVWH3iQ0Eq7GI0fGSBt/l9ExCiPi DoMKw0CdmkLdJdIBbuCsoWJw8EwHzGCtUhQE6J7r9emCG7PGB3DbI1OJtfcB6Ozed8J5 rR4VytazP/8RP6TWa2JGK/VzEHMBwAMheYXN0rmk6bBdERoN1SOI4UDMRBzNzeEW9tai R74Dtq/AN8/cF7IuQg/wPagDVj0g+Q1+rP1LTOHkVjJJARUPkoreoB2zZipvqRshpXtF iVWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=fiKynsK1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id u16-20020a170902e81000b001c5bab14164si29743735plg.60.2023.10.02.12.10.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 12:10:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=fiKynsK1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 9621C80266B9; Mon, 2 Oct 2023 06:18:28 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237377AbjJBNSA (ORCPT + 99 others); Mon, 2 Oct 2023 09:18:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237358AbjJBNR4 (ORCPT ); Mon, 2 Oct 2023 09:17:56 -0400 Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD4FBB7; Mon, 2 Oct 2023 06:17:52 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPSA id E02331BF207; Mon, 2 Oct 2023 13:17:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1696252671; 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=zTlDx0KTHKTtTlsJBumhY93csPVjcrRp0nLBc3tJdlM=; b=fiKynsK1fjCZZ9G2S1+KRE0vhdh76oJ+LiUU0GeS3NKEvPbRTGkr2mv1wHVliey64yBqKY K6c+hPmoidqUYbCUOdJsxW7oJuTu94iaWFKEcPuQNBmKkJVN7ADOTy8oIjZcJLeSgMDWF6 wVKH4UGnfdss7pUlGndLHbHkR3n/eueWUG8AxVG2Xnkj2IDt3zOtAZWiaWwIsIB6XIxaJQ GngXEdep1kjRWyBmlGkWF3xnUDDoW21A8h2AhTiaCm5Dg42OXl98RuKfxYmj5S+pwp3UGr oG214GDayhaml2TTCewWAp241EkKPNRry7q7gDwY/NxqEJ72iKOCtSKT4w060Q== From: =?UTF-8?q?K=C3=B6ry=20Maincent?= To: Cai Huoqing , Manivannan Sadhasivam , Serge Semin , Vinod Koul , Gustavo Pimentel , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Thomas Petazzoni , Gustavo Pimentel , Herve Codina , Kory Maincent Subject: [PATCH v2 0/5] Fix support of dw-edma HDMA NATIVE IP in remote setup Date: Mon, 2 Oct 2023 15:17:44 +0200 Message-Id: <20231002131749.2977952-1-kory.maincent@bootlin.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-GND-Sasl: kory.maincent@bootlin.com X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 02 Oct 2023 06:18:29 -0700 (PDT) From: Kory Maincent 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 (5): 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 sync read before starting the DMA transfer in remote setup dmaengine: dw-edma: eDMA: Add sync read before starting the DMA transfer in remote setup drivers/dma/dw-edma/dw-edma-v0-core.c | 22 ++++++++++++++ drivers/dma/dw-edma/dw-hdma-v0-core.c | 43 +++++++++++++++++++-------- drivers/dma/dw-edma/dw-hdma-v0-regs.h | 2 +- 3 files changed, 53 insertions(+), 14 deletions(-) -- 2.25.1