From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751664AbeEKP5P (ORCPT ); Fri, 11 May 2018 11:57:15 -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 X-Google-Smtp-Source: AB8JxZpFFqpMm7PBvwSnQT71PdDvUZ7oB6VektFEoas4PR4TVW+EUq1hK7Lck3hFto7VY6fzRz6qF2/NTiN3Benhyv0= MIME-Version: 1.0 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 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.