From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752207AbdGACk4 (ORCPT ); Fri, 30 Jun 2017 22:40:56 -0400 Received: from kvm5.telegraphics.com.au ([98.124.60.144]:38212 "EHLO kvm5.telegraphics.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752019AbdGACky (ORCPT ); Fri, 30 Jun 2017 22:40:54 -0400 To: "James E.J. Bottomley" , "Martin K. Petersen" , Ondrej Zary Cc: , , Michael Schmitz Message-Id: From: Finn Thain Subject: [PATCH v6 0/6] g_NCR5380: PDMA fixes and cleanup Date: Fri, 30 Jun 2017 22:40:53 -0400 (EDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Ondrej, would you please test this new series? Changed since v1: - PDMA transfer residual is calculated earlier. - End of DMA flag check is now polled (if there is any residual). Changed since v2: - Bail out of transfer loops when Gated IRQ gets asserted. - Make udelay conditional on board type. - Drop sg_tablesize patch due to performance regression. Changed since v3: - Add Ondrej's workaround for corrupt WRITE commands on DTC boards. - Reset the 53c400 logic after any short PDMA transfer. - Don't fail the transfer if the 53c400 logic got a reset. Changed since v4: - Bail out of transfer loops when Gated IRQ gets asserted. (Again.) - Always call wait_for_53c80_registers() at end of transfer. - Drain chip buffers after PDMA receive is interrupted. - Rework residual calculation. - Add new patch to correct DMA terminology. Changed since v5: - Rework residual calculation to account for on-chip buffer swap. - Attempt to retain the disconnect/IRQ detection in the DTC436 workaround. - Move all DTC436 workarounds to final patch. Finn Thain (2): g_NCR5380: Cleanup comments and whitespace g_NCR5380: Use unambiguous terminology for PDMA send and receive Ondrej Zary (4): g_NCR5380: Fix PDMA transfer size g_NCR5380: End PDMA transfer correctly on target disconnection g_NCR5380: Re-work PDMA loops g_NCR5380: Various DTC436 workarounds drivers/scsi/g_NCR5380.c | 273 ++++++++++++++++++++++++++--------------------- 1 file changed, 151 insertions(+), 122 deletions(-) -- 2.13.0