Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp520727yba; Fri, 26 Apr 2019 04:23:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqzbrB5F6vWOUrJNMB72RSTFOaOoPrMYxZ/n2+gVGFTejcxPcai/2Np0cWKgKUiGX298YSYy X-Received: by 2002:a63:2a8f:: with SMTP id q137mr43278234pgq.31.1556277837310; Fri, 26 Apr 2019 04:23:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556277837; cv=none; d=google.com; s=arc-20160816; b=NBJIlqrz40KIGDqekJv3vLPBs8WBZJWS0J/767GTTFSbNHeXKHHj+UmMAn+2lmaVf+ phVw2X5zmkm+8EIZOXQr/UkloNY4FAcx5flbpam2YQ75uLEWZET0NHep9b2H/u5bY/2c iYKLNJBOZU5aCF1dDcQxYFsdzslB0jOeoiWpAKe962Ul/aSlGh7L7OGqQDu0raxy8shV Hq9IBgvxCFI9+W1P3XDOdr0d+u5tiFeNqCKl0X6uRa32+9+49qkmahX/QlUiuPbtHDue kehL5/L4tch2c0NL4gqql/iN4yTvIgy7+b9+GL8zg7LiUCGCW4c4wQh/GUQKkZUUt5a7 3ZOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=8nsqQGZZS1AMki/lt3e8NKX4dDrKQSaF/LnC06XUXJo=; b=oNrJXnzo2++tGtCuV6gNCmNc2ec/bh5RmWZE9+3C1omcX+ZsO2FoyQySc2O+285Net mVuKtGLJzV1DxHH0WDNdYOraHg2A7YLpEaqnTiQ7iqKY0nuKPBB+ZGDI4BpUb70NQKUS xsUdfLYg5Pt8RsjHX4dbvmWnGqSMxprAEkmQ4ivXQ9e5IfCqJFVoCxk9tOLbibD90SYn kdrsg34ZgLWf4Tv3OWl9NdFaMuLLY9CxSJBM1anpT/XUoUVxvOrPjfYowgpvqOzGJWJY U4TGoZMLl1+Sl10vGLWOB7OMywHOYrNnlxE29uPmSIFUGeZgoclWGK6NeAv4L9cvrd/U XT5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=t+6KkdQq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 41si26102072plb.164.2019.04.26.04.23.41; Fri, 26 Apr 2019 04:23:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=t+6KkdQq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1726231AbfDZLV6 (ORCPT + 99 others); Fri, 26 Apr 2019 07:21:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:59138 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725901AbfDZLV6 (ORCPT ); Fri, 26 Apr 2019 07:21:58 -0400 Received: from localhost (unknown [171.76.113.243]) (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 EA3C4206C1; Fri, 26 Apr 2019 11:21:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556277717; bh=UTTAxG+Jg2VAeqcLpeFJKIEKlZAfzGGDG25z5H78rAM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=t+6KkdQqRKDBxuQwEWECujbYKroyxMsUN1ZGCNldId/wYNBxex9hZZXZn2uJKXoRU 3vJAtRYLJFg7/3fvBkY2lkHFdXFIlVzUUk+NOrKPvpv1zWCvMWKhnNGVbVMj1QJPIS 7MAHS3/Z9G0fs1D+9HoIpeYne2/hwhOjoncJtc/g= Date: Fri, 26 Apr 2019 16:51:51 +0530 From: Vinod Koul To: Sugar Zhang Cc: heiko@sntech.de, broonie@kernel.org, linux-rockchip@lists.infradead.org, Dan Williams , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dmaengine: pl330: _stop: clear interrupt status Message-ID: <20190426112151.GQ28103@vkoul-mobl> References: <1554289582-43695-1-git-send-email-sugar.zhang@rock-chips.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1554289582-43695-1-git-send-email-sugar.zhang@rock-chips.com> User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03-04-19, 19:06, Sugar Zhang wrote: > This patch kill instructs the DMAC to immediately terminate > execution of a thread. and then clear the interrupt status, > at last, stop generating interrupts for DMA_SEV. to guarantee > the next dma start is clean. otherwise, one interrupt maybe leave > to next start and make some mistake. Applied, thanks -- ~Vinod