Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp2202842rwb; Sun, 4 Sep 2022 10:24:03 -0700 (PDT) X-Google-Smtp-Source: AA6agR74qbcHDvyJ3aXxF4KiUz89Rly4iBIAemMAq0URWv/S+4xltpmWpwOVu9EGP5Av5ht1vAi/ X-Received: by 2002:aa7:dcc8:0:b0:447:e8b3:b4f3 with SMTP id w8-20020aa7dcc8000000b00447e8b3b4f3mr36618936edu.374.1662312242932; Sun, 04 Sep 2022 10:24:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662312242; cv=none; d=google.com; s=arc-20160816; b=JFQrcNXHnC6XoFJejktFtDP0VPN00EIrDYN8Pte/2prkgt0W4TN+seQng0m5/QJhAG f3sNV0dvvc+oJHNq49sMIlw8Sl95t6Ue+24wimOLm1WrjeMMYO5G3fbgj5c4x9AlpiQq HsgO8xoR7yfH2LA/6bHG0B6+gGS3cE21BEF/aNGMfDHgf5QS2miqPKn5mnV2t9uMo7YC YYD5pyDgj295QEvEaoi6eG9ZG01KIt6M+A8O2+OjsldVOK9Nlwqz7c0RJn31zt7NrGFD xmSYeRKhYAD24fDn/RdKYls6oUowJLg7XKtu8BQei4042OPrf69kdqblsB0fdDry5ZIt mHiQ== 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=eurA4zcxnvtPPhPVwAO80426X9bUz2Nj7y0Q1hYGmxQ=; b=mWr0qyAcjx1uOvvF9y4tYqeaxg9nfCbbYMC1byOww3hTeR3NgHcLPEP8qmuDQJfdk2 M1zJEf43Wfyw7hGwBryNX5gbxASDvgo7T3uCDPr41avJG3Ria3b8o7nfjKkgr+YL+iQ0 you/LhcU2J3lAU9JREsO6VuuIqxmBzk4HXYCw4Oi0cQdYNOP9TvLKWeVz1mqm3RTK0Vm GF0GsZa83Va9E4tsvKnAkKxxjPIo86GFqD4b1mMKMaq43HISfIVyVO524xxRcgdgK66W IPWZC+Jm5pJu/iOZzaJLtgkr9YHDTqaSPudDyI8+iFEFQAJ6ynInPt4E3QKuEUyxJjUt exVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Nptjcenw; 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 gt18-20020a1709072d9200b00741a1629d57si4286750ejc.627.2022.09.04.10.23.37; Sun, 04 Sep 2022 10:24:02 -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=Nptjcenw; 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 S234994AbiIDRSy (ORCPT + 99 others); Sun, 4 Sep 2022 13:18:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234216AbiIDRSw (ORCPT ); Sun, 4 Sep 2022 13:18:52 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4B0833E27; Sun, 4 Sep 2022 10:18:51 -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 6DBB360F6B; Sun, 4 Sep 2022 17:18:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3B243C433D6; Sun, 4 Sep 2022 17:18:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662311900; bh=mrk5pkJcHTTsmwCZFN9V23o4HfG3eXfOH8HbEbJtxJk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Nptjcenw/XHolTmJsfu437e63yq4FMUbBY1rW3hXzrzuqDuUBiqktWBlw4h9sg9kh 0ASWXE5IYedKw/F1BTPgeKgHnsjWPKUl7hav+YWDGfAKlQJn+TSu5a5Tcu9l8E68x9 T5JcNbMzHly1AG1sLTu0i2KjcUgxzstMwVQqgWoVspq31qEfo4d4M1jLHFj+a5BitX DNF0lV/ZMYL6Fu4sJ5MJLCgvPO57T3JgE2DlEuI/b04Av9PJRcFxip2JK7JKRtjpbk DYNSW8GGGnrcLjFVoa11pATgpI3MyEVMV9JNpE8yN/UVWgr5S7CJoTAlb9ZUXqhd4u J3pfF82X0paMg== Date: Sun, 4 Sep 2022 22:48:14 +0530 From: Vinod Koul To: Amelie Delaunay Cc: Jonathan Corbet , Maxime Coquelin , Alexandre Torgue , linux-doc@vger.kernel.org, dmaengine@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Marek Vasut Subject: Re: [RESEND PATCH v3 0/6] STM32 DMA-MDMA chaining feature Message-ID: References: <20220829154646.29867-1-amelie.delaunay@foss.st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220829154646.29867-1-amelie.delaunay@foss.st.com> 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 29-08-22, 17:46, Amelie Delaunay wrote: > This patchset (re)introduces STM32 DMA-MDMA chaining feature. > > As the DMA is not able to generate convenient burst transfer on the DDR, > it penalises the AXI bus when accessing the DDR. While it accesses > optimally the SRAM. The DMA-MDMA chaining then consists in having an SRAM > buffer between DMA and MDMA, so the DMA deals with peripheral and SRAM, > and the MDMA with SRAM and DDR. > > The feature relies on the fact that DMA channel Transfer Complete signal > can trigger a MDMA channel transfer and MDMA can clear the DMA request by > writing to DMA Interrupt Clear register. > > A deeper introduction can be found in patch 1. > > Previous implementation [1] has been dropped as nacked. > Unlike this previous implementation (where all the stuff was embedded in > stm32-dma driver), the user (in peripheral drivers using dma) has now to > configure the MDMA channel. Applied, thanks -- ~Vinod