Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp960536imm; Fri, 11 May 2018 08:58:22 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrm/c9Zduluojf0bKuTzuzArCOz4NNSTUpX7jtO9R/1+10Vov7fhclGUEEfUU+8C4JNwSoR X-Received: by 2002:a63:9205:: with SMTP id o5-v6mr4874770pgd.233.1526054302550; Fri, 11 May 2018 08:58:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526054302; cv=none; d=google.com; s=arc-20160816; b=lH5rll8gzOgIsJ/8eUQmvvvlLSdZ8JDpVmJ2CVFFKdqLJGlA6PcN+EYfL+viyZFKJ/ A5Am9TlUvwCTDFkYZIwyu196DY0GgHObacMbwKYB77T5jQr4gYLwZzsg/Tz659NFnlKO AyKoGY9VHXzKIhLaQNzFEpKMiD4n94F5tb/mkhi9ua4zRfrkLOzm7o+9dNLYgFd5282N a8Fe6YJCBP/bvlJa0JpiMBMHGsIyqsUYBvt3tMHPOF77F6+3ReuI6YWDa19hZWKhySwX kyRfOohpVfz8LJOF3PKrcR3jh5bUsE3KZiyZEt4P+gRmSz9ZT9xnmBGcMWXrdnqhpJjm cUIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=SYA6KqjtDzu/K2Px3efJp7bR+YBX2jGFrTY5NnAXUfs=; b=OxHAa8HyH6a4l/aznt1u1bhD+eCvyZDw3PE43SiImU1jqDt+ZLPFuAWOR248CJzdnA JnHfm/PtitSTxNIpeP+n3gBAKY6/g2tKYhPI+E7/3RHP4QyMsqV26hqVfhFlwvmi73Wz DwbDahNQRIeKa4RdogtxXKTCaQXQ+RuCDg5KcGdO5Y+yawf4y2es5Ym8diGrr0Lw62Ut tchP4W+cRX+hlpYUT7wy5LzcumXAzxA3r1XeikTRP31RrUdS0F1dvJzAMAEn5EmXFVdL /Wpmxieq/6PYT4z+z8vA0uOB9iQZyi+TpLZ9ASQVi2s5qFd65675hWpbyZ/uatojhSHF NtPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=F3dVfsOE; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w10-v6si3510146pfg.174.2018.05.11.08.58.08; Fri, 11 May 2018 08:58:22 -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=@gmail.com header.s=20161025 header.b=F3dVfsOE; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751474AbeEKP5O (ORCPT + 99 others); Fri, 11 May 2018 11:57:14 -0400 Received: from mail-it0-f43.google.com ([209.85.214.43]:53246 "EHLO mail-it0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750746AbeEKP5M (ORCPT ); Fri, 11 May 2018 11:57:12 -0400 Received: by mail-it0-f43.google.com with SMTP id y189-v6so2593946itb.2; Fri, 11 May 2018 08:57:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=SYA6KqjtDzu/K2Px3efJp7bR+YBX2jGFrTY5NnAXUfs=; b=F3dVfsOEw6X2L6JBwsFpw5QOXVYL4LCSqtGBatVRF4zqhly1GBpJIM14DT1GBtQnpI bdw/EMnNo2P/khhvE9XiH9uX9mn/BCizQc1Uzjbd4fVAmWGpYyzAxzWoFbXU+zhRVRys JdTEwz5NlMYvDYvFl714f9rnZCfcGs5w5m4voshiUpc+0JpgFWWlqLt6d0U9gzjrT6t6 icclm/FH3kP1WLKUd+H3+GTaCrlNne6XSBBLKfQSVhTpyLv2PL/28kUKRcS/i35gPc1y liNMmqSbbn5FuCb1oyfWrezsZ3LHMbq63Y7PgFRNmgKxlrg5jJTU64UczohoieK7P2W+ b2XA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=SYA6KqjtDzu/K2Px3efJp7bR+YBX2jGFrTY5NnAXUfs=; b=UsxOckkef63a8q2gudypB597S4mmGiLpkD3AiDVbZD5ldXdaxc4m8mIzFinnqsUypU D0Eiut4YKQNOTSCaOf+UEnRstFyswfe+/CGrxuS+cAjLcKrfplQdRuesr8+YNIVFhqxG rIqyyj0AEfxl+JKzqqXLhnD7f6C1N1Tbl2zxe4RqcM4LOAhklc7fktnu5q7Iv88KYZuE ErWvexg5x2D1D4HigNT+kn6cfp6K1edqeR0+TQ/8nTBPkN0uNGh5v+/rSKM3wsdIaTYV cUSt2hoxNKiS3RFqxla9lR3oHy+41qkycQx56TWNOO10si+6DZHx3OTTzZynKg4yF+vN DuhQ== X-Gm-Message-State: ALKqPwdpQS5ngHZNsETyIYzTPPaxkXhAXJG3KmUTpZuUmDRN3SpTPq0d YP1mK/Vlcf81mCu3cSjk3iW9WRKFSCJLQStwXJ3Lmg== X-Received: by 2002:a24:2e8f:: with SMTP id i137-v6mr3844178ita.124.1526054232102; Fri, 11 May 2018 08:57:12 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a4f:4d51:0:0:0:0:0 with HTTP; Fri, 11 May 2018 08:57:11 -0700 (PDT) In-Reply-To: <06f54061-c537-b399-e493-ec2cdf4def5d@samsung.com> References: <2484918.HKVQc3yJkt@bear> <53b13d76-16a1-0e0a-09e1-c917e5d49326@samsung.com> <182f50b9-55b6-c9ce-07fb-718a1d22e9c8@samsung.com> <06f54061-c537-b399-e493-ec2cdf4def5d@samsung.com> From: Frank Mori Hess Date: Fri, 11 May 2018 11:57:11 -0400 Message-ID: Subject: Re: Revert "dmaengine: pl330: add DMA_PAUSE feature" To: Marek Szyprowski Cc: Vinod Koul , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, Dan Williams , r.baldyga@hackerion.com, Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Linux Samsung SOC Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 11, 2018 at 8:57 AM, Marek Szyprowski wrote: > > Okay, so you don't have any evidence that DMA transfers done in single > reads/writes is broken with the current cmd_pause implementation. I think the easiest way to test this empirically would be to just hack dmatest to do a bunch of mem-to-mem transfers which it pauses and checks the copied data is consistent with the reported residue. Also, it would need to check the source/destination address registers in the pl330 for evidence of bytes read but not written. And the pl330.c driver would need to be fixed to not ignore the requested maxburst when doing mem-to-mem transfers.