Received: by 10.192.165.148 with SMTP id m20csp2049335imm; Thu, 3 May 2018 09:31:18 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpibHk3y8bWymrdMeZXx3S8/E5257KH1T3WARvZEriMuLopHAWFnFB+ohURxstoM4ToYAsv X-Received: by 10.98.99.4 with SMTP id x4mr13436548pfb.94.1525365078579; Thu, 03 May 2018 09:31:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525365078; cv=none; d=google.com; s=arc-20160816; b=YLh1eQ9QJ4K8wT19Tf0B5WAxovexBTqtN5JVk7tB9MWTu18FQw7KcaQtNM/KHQJHzh 18Phc7061RaBTE1DmwezCg0iNGsgGxAsi9BFzrt/hoUuschH/sLMJBRYFieKIqxgsbt9 a6pf8tP/3qMSv+ilLDZKmFrKi8vCT0WGVXQSHu5LadBGmqBK1h2/Nq05+WYSI/LXQoIf DfAqDeL6+ZU2k6QfhLelFRDKmDFlY7uPPrOBcX27Z2D/K8KfVsZxlE3jYoifZwlFU6sL 52NnA4g5AxU8RCm+CbqY2/MyqpfxdO81ZJDShrsbL40RVmmN9btex//3gumaDkvoNDqr sp5Q== 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:arc-authentication-results; bh=RvNJX0o8AkO8Twxo5bmVxM5emufoDYwHOTUMMwiW0Ho=; b=eBtBrvXhlGHAJGUfSzueHRjVxkiNoIqZ44IaVssJi0hFUB0mUfQBLh71S/zRI2/h93 tHAy6yzkMlYqBSS7HtyPmWGrxphK3uGqeeVSif3NIW42QJiaFzRj3+9VdTB2df4QWce7 zgbCMYqcAh0VIb+nOgMCoTyKuhjmYk2ATqUbR/msF4rzgkH6HG6LPBI/1zHd+l9wcQzF MVK8QJN3TXe1ANAy64jgUJxjASFk59RqvXKr1uWmLGhjKRyM+bGpYLtQ8+/xOA/aQiSy ZX4hFQ/UfXonmiE2LkshXFuy2VMKDcqhW0ZAORwKfjKZKOdHC36okiR8Y4I2GM5HkJJ0 LBcA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d6-v6si11471747pgc.140.2018.05.03.09.31.02; Thu, 03 May 2018 09:31:18 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751684AbeECQaj (ORCPT + 99 others); Thu, 3 May 2018 12:30:39 -0400 Received: from mga05.intel.com ([192.55.52.43]:21599 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751419AbeECQaf (ORCPT ); Thu, 3 May 2018 12:30:35 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 May 2018 09:30:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,359,1520924400"; d="scan'208";a="225557884" Received: from vkoul-udesk7.iind.intel.com (HELO localhost) ([10.223.84.143]) by fmsmga006.fm.intel.com with ESMTP; 03 May 2018 09:30:32 -0700 Date: Thu, 3 May 2018 22:05:22 +0530 From: Vinod Koul To: Frank Mori Hess Cc: Vinod Koul , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, Dan Williams , r.baldyga@hackerion.com Subject: Re: [PATCH] Revert "dmaengine: pl330: add DMA_PAUSE feature" Message-ID: <20180503163521.GZ6014@localhost> References: <2484918.HKVQc3yJkt@bear> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2484918.HKVQc3yJkt@bear> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Apr 28, 2018 at 05:50:58PM -0400, Frank Mori Hess wrote: > This reverts commit 88987d2c7534a0269f567fb101e6d71a08f0f01d. > > The pl330.c pause implementation violates the dmaengine requirement > for no data loss, since it relies on the DMAKILL > instruction. However, DMAKILL discards in-flight data from the > dma controller's fifo. This is documented in the dma-330 manual > and I have observed it with hardware doing device-to-memory burst > transfers. The discarded data may or may not show up in the > residue count, depending on timing (resulting in data corruption > effectively). Applied, thanks -- ~Vinod