From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_DKIMWL_WL_HIGH,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4C841C07542 for ; Mon, 27 May 2019 06:39:45 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2150A2054F for ; Mon, 27 May 2019 06:39:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ufHv0ouw"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="xP5ZOf0b" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2150A2054F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hkC1vdR0n9QZNi0mQuuZbOfVd8x9pHxopwMHsVzEAIM=; b=ufHv0ouwGADSHm D6+m/lCL8kO5OYIKtvxWYy7Jcl9SQBAu8erOzSyafVt740fJ0anev/6EUZCDTXzUlenshvLXiaGoC 9TcaWNSQ7I9/XmERSOtYsrhLYjskP+pbf1kAI5RA/62C0g1xMs1jHrt37rZkinzNaiHUMft5SWHjp 22A3/GK5nx27DDmu6m4x7nJLs7EbMwL1FVqiKNFgz6iIu1Mi9PmlAeXwWwfgN+5M5VicOOtl1W0iZ ZUQT34qLnBbzij04mAX4nI/ZcMaArUFckedbTSr6XuLcg73diC3WrZeC+gBJWZc//BgTL86MS6xcp JngXIW8iPGl9TFLlFXTw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hV9IK-0002J0-EN; Mon, 27 May 2019 06:39:40 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hV9IH-0002IW-4r for linux-arm-kernel@lists.infradead.org; Mon, 27 May 2019 06:39:38 +0000 Received: from localhost (unknown [171.61.91.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BCD6A2054F; Mon, 27 May 2019 06:39:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1558939176; bh=JT4KTsrIWgsbKhkPbSLThrwY2+w4AOrCa0jWApt18+k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=xP5ZOf0b4QiCw7NzBzQbzedrrWapYQKtZu//RoV7n6FD1I16KTQuswyZBWZHiHBHT I/lzbXFeC9Gg60JZUSxntpdJbi/m5DTKF71SwHwsE6GxgHiwQ0EADV5P8TMPINwCub zrbrDDzMTqbdN5dpVnFhfGWQ6DH6rrEbfQi4B2p0= Date: Mon, 27 May 2019 12:09:32 +0530 From: Vinod Koul To: Peter Ujfalusi Subject: Re: [PATCH v3 0/2] dmaengine: ti: edma: Polled completion support Message-ID: <20190527063932.GE15118@vkoul-mobl> References: <20190521093646.21836-1-peter.ujfalusi@ti.com> <19b0d346-5249-e832-8eea-685c8e7706e2@ti.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <19b0d346-5249-e832-8eea-685c8e7706e2@ti.com> User-Agent: Mutt/1.11.3 (2019-02-01) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190526_233937_207317_5A9069D2 X-CRM114-Status: GOOD ( 15.71 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: dmaengine@vger.kernel.org, dan.j.williams@intel.com, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 23-05-19, 13:57, Peter Ujfalusi wrote: > Vinod, > > On 21/05/2019 12.36, Peter Ujfalusi wrote: > > Hi, > > > > Changes since v2: > > - Fix typo in the comment for patch 0 > > > > Changes since v1: > > - Cleanup patch for the array register handling > > - typo fixed in patch2 commit message > > > > The code around the array register access was pretty confusing for the first > > look, so clean them up first then use the cleaner way in the polled handling. > > > > When a DMA client driver decides that it is not providing callback for > > completion of a transfer (and/or does not set the DMA_PREP_INTERRUPT) but > > it will poll the status of the transfer (in case of short memcpy for > > example) we will not get interrupt for the completion of the transfer and > > will not mark the transaction as done. > > > > Check the event registers (ER and EER) and if the channel is inactive then > > return wioth DMA_COMPLETE to let the client know that the transfer is > > completed. > > Please do not pick this up yet, I got report that it might cause side > effect which I need to debug to understand. OK dropped for queue -- ~Vinod _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel