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=-1.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no 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 18F56C11D30 for ; Mon, 24 Feb 2020 16:54:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E4FA621D7D for ; Mon, 24 Feb 2020 16:54:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582563245; bh=byy7hCZafPpLH8/tx/qwBqiyJfY1p33yc7vFxlR1K+4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=OyieMo9I9JQ+gVUE68abwifiyuY+srr+Xr/iD2s/hwNsLCd0WM7flF2zPzTFTi87p f8vrGQZCDJL0zmHqGMdOj1DAQ0E07dV3djX4aI1JFeCQnTzY4c/cnj81EioYqfviYX jDJ9con0Y7D0qEQpvoFGDkyXHd9UwAeP9GfJodiE= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727948AbgBXQyD (ORCPT ); Mon, 24 Feb 2020 11:54:03 -0500 Received: from mail.kernel.org ([198.145.29.99]:57282 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727108AbgBXQyD (ORCPT ); Mon, 24 Feb 2020 11:54:03 -0500 Received: from localhost (unknown [122.182.199.233]) (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 BBFD920836; Mon, 24 Feb 2020 16:54:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582563242; bh=byy7hCZafPpLH8/tx/qwBqiyJfY1p33yc7vFxlR1K+4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GZ0CQkrZc5F5qwpa5cShXPZQyAdst36hSPNZkja14vyc13yuTVXghEL0MrZz2CkGQ xX4adrmu9TQ8oKza7lV7Mtb+/rZGbalBo4NkkzZGnzCWXycdrEiGOBi/W0l4eaFvhi tC5xGVH3H7JpVARs4TucCgc0fHC/MSwNGe2adyPc= Date: Mon, 24 Feb 2020 22:23:57 +0530 From: Vinod Koul To: Radhey Shyam Pandey Cc: dan.j.williams@intel.com, michal.simek@xilinx.com, nick.graumann@gmail.com, andrea.merello@gmail.com, appana.durga.rao@xilinx.com, mcgrof@kernel.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, git@xilinx.com Subject: Re: [PATCH v2 -next] dmaengine: xilinx_dma: Reset DMA channel in dma_terminate_all Message-ID: <20200224165357.GD2618@vkoul-mobl> References: <1580283909-32678-1-git-send-email-radhey.shyam.pandey@xilinx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1580283909-32678-1-git-send-email-radhey.shyam.pandey@xilinx.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 29-01-20, 13:15, Radhey Shyam Pandey wrote: > Reset DMA channel after stop to ensure that pending transfers and FIFOs > in the datapath are flushed or completed. It also cleanup the terminate > path and removes stop for the cyclic mode as after the reset stop is not > required. This fixes intermittent data verification failure when xilinx > dma test the client is stressed and loaded/unloaded multiple times. Applied, thanks -- ~Vinod