Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp850118rdg; Wed, 11 Oct 2023 07:17:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFNGZw0uuRDTkD5p5E4Y1e/PScV76m0/DDv5pqV3zyPIP1RijPNimOIhey7W76rB5O4/k2v X-Received: by 2002:a17:903:1d0:b0:1bc:844:5831 with SMTP id e16-20020a17090301d000b001bc08445831mr22910231plh.57.1697033863164; Wed, 11 Oct 2023 07:17:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697033863; cv=none; d=google.com; s=arc-20160816; b=YFoVfHqUUwMchcIkszcBCEf9ZlHlhdCoW1Pljmmve6GBqv3TYsAGSPmnFfnS9tDzUz aBT+aS9oMdqvTXi8V9TOU53/fsP8CSDHZv4w2OJ+fiuKAMbvL96uY3P/WGz8mHPZbWrI BLLpBAmaRijrTprZzaYubvl3UqpVS/yRskgg4CYhhXsgtLy31EvKLslOTEwUp+zFtDqV Y7MixaaWbh062ndZlf9UEW0Nw6k0bhEPNuGC3wbXgUMTVpKAokAE26fzWtPC/jgM3742 jp2Am0zAc5mtt/SUwn6ljLKaPuRUyrr3GR2+4waJNVU1+NfkqsfTgCBBJJflUfDhzNZV D3Cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=e5QGQHyYORanbuZrCZozt9X9hGMoQ81zeXHxbNIo+JY=; fh=Fko32OqwGgI5WpcqYpp5KigXgtelsKMiigtnZERCGL8=; b=gA4+likMLcCADXJ4koCJHwq/ErKWywmltgLqQCRznANQ7t44GmF+Oyy4k7rB/cTy6K qTkjz1DmpbifHYovpBP+pTOeqHowv9DC7witLUpFEPdFi/1A6ADw0r648oqeDdgwC9hH abqmxZyXrgy+efxjBG8mDGHgci/6p1tQMutW2yoJ+w0UA+ZY+qkKjjhhbtJYef0yXRPb C/aDgwXFIEL/KsQX6y731eeE3U/XZrlvKCzcLis1W8PL+guUjPDhE4HErM5e+pf3TrCv l2E98g5qFYsgr8p8QOId461S4IYuRnIUpbS5+dwDemlv5SNXtdF5+1nrondc4e3Zb0xG +cJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="d3/E4RkA"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id n3-20020a170902d2c300b001b9d5f07068si15369933plc.585.2023.10.11.07.17.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 07:17:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="d3/E4RkA"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id 983EF825024D; Wed, 11 Oct 2023 07:17:36 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235069AbjJKORW (ORCPT + 99 others); Wed, 11 Oct 2023 10:17:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235063AbjJKORU (ORCPT ); Wed, 11 Oct 2023 10:17:20 -0400 Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::223]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5513C90; Wed, 11 Oct 2023 07:17:18 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPSA id D50FA60003; Wed, 11 Oct 2023 14:17:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1697033836; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=e5QGQHyYORanbuZrCZozt9X9hGMoQ81zeXHxbNIo+JY=; b=d3/E4RkAKlTgf1CAFOLdIGxjx3kHWQz1q3TxLFM1D/dD7oi5iBMIZeWX4OzSZK5TwMuNhj YI7NEXQ8OjvplUFPAUwjnkY7o3D2Nc9JXkk2K/MPNF/ASHkCFeGGzyk48klgt/kJW0bPaB yPMPBt1IIbwovB/xV2C+kxuEi+VUXrlf4yGNce1IP+MMSQtosQD23+VuMVylse7gcj87i+ O3c2qS8eMXWY6UnUlulVxpwd7rj2aOs8G+ORz96/zDG84+2FyLBnyB6QGfK1jlJdBmaCxG 8x1OrwezwTm7y/BPtRXewsarso5l+PsIr8sOoZW1O2b4gMAzJ1iJnV8KbkvB0A== From: Kory Maincent Subject: [PATCH v4 0/6] Fix support of dw-edma HDMA NATIVE IP in remote setup Date: Wed, 11 Oct 2023 16:16:56 +0200 Message-Id: <20231011-b4-feature_hdma_mainline-v4-0-43d417b93138@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-B4-Tracking: v=1; b=H4sIAFiuJmUC/42NWw6CMBREt0LutzWl5SF8uQ9DSFtu5SbSmrYSD WHvVlbg55nJnNkgYiCM0BcbBFwpkncZqlMBZlbujoymzCC4kCUvS6YrZlGlV8BxnhY1Lorcgxw y3Zi6tReUup4gz58BLb0P9W3IPFNMPnyOp1X+0j+kq2SciQqRm67tTGOv2vuUq7PxCwz7vn8Bn BIlb8IAAAA= To: Manivannan Sadhasivam , Gustavo Pimentel , Serge Semin , Vinod Koul , Cai Huoqing Cc: Thomas Petazzoni , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, Herve Codina , Kory Maincent , Manivannan Sadhasivam X-Mailer: b4 0.12.3 X-GND-Sasl: kory.maincent@bootlin.com X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.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 (lipwig.vger.email [0.0.0.0]); Wed, 11 Oct 2023 07:17:36 -0700 (PDT) X-Spam-Level: ** 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. Changes in v2: - Update comments and fix typos. - Removed patches that tackle hypothetical bug and then were not pertinent. - Add the similar HDMA race condition in remote setup fix to eDMA IP driver. Changes in v3: - Fix comment style. - Split a patch in two to differ bug fix and simple harmless typo. Changes in v4: - Update patch git commit message. - Link to v3: https://lore.kernel.org/r/20231011-b4-feature_hdma_mainline-v3-0-24ee0c979c6f@bootlin.com Signed-off-by: Kory Maincent --- Kory Maincent (6): dmaengine: dw-edma: Fix the ch_count hdma callback dmaengine: dw-edma: Fix wrong interrupt bit set dmaengine: dw-edma: Typo fix 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 | 17 +++++++++++++++ drivers/dma/dw-edma/dw-hdma-v0-core.c | 39 +++++++++++++++++++++++------------ drivers/dma/dw-edma/dw-hdma-v0-regs.h | 2 +- 3 files changed, 44 insertions(+), 14 deletions(-) --- base-commit: 8bf914570650ec5858e18554d70d2838cef01de1 change-id: 20231011-b4-feature_hdma_mainline-b6c57f8e3b5d Best regards, -- Köry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com