Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1757024rwd; Fri, 9 Jun 2023 01:28:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6yjwstLbd49JoILpbXYcdek6ZRluJXjvynhdfVGkI3ug6Aq6ocVEYMAsTtlBkzw5YQBlrw X-Received: by 2002:a05:6a00:1a94:b0:65c:8195:e6a2 with SMTP id e20-20020a056a001a9400b0065c8195e6a2mr564211pfv.1.1686299307441; Fri, 09 Jun 2023 01:28:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686299307; cv=none; d=google.com; s=arc-20160816; b=ZX8WYn/FixcqukD2frrVM08dmLa50cRlkT8dke5ccB8OeLtMTr3Irm46WpD18Lc4c7 b9Hi7lFyPlsnBB0kB6HQXVxn3s9KHczUV8XBsRE0XMH4CR+7FAhtRhgLxuNh0ERHfFD4 /ARuDDohrTd5HVWyzF2SJof90j4X10bnpMmhKS59bSmkrivGFpU46sUQ9pElw47/XT+E cNbT7aaRCYviAut7Y1RczaU2dQzH6XARp9ongjJf9nKAR2kmfQAdDNaz6PMrVxTmKEMb GJ8rQmhF9preDsB9po9hWCeQZLWJu6FP+6JeFHtDv7eUV7x9RGVgXBcPY/V1+Nr/sB5J S3WA== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a5-20020a624d05000000b0065024e5049bsi2092929pfb.334.2023.06.09.01.28.13; Fri, 09 Jun 2023 01:28:27 -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 S240230AbjFIIRk (ORCPT + 99 others); Fri, 9 Jun 2023 04:17:40 -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 ); 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=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 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: X-Mailing-List: linux-kernel@vger.kernel.org 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 (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(-) -- 2.25.1