Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2524005ybi; Sat, 1 Jun 2019 18:31:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqyeFCxaWLhSQSKwQb741Oo/5NgDpXXnS2z6xmIpyeiEiD2QkfDZFhYStjKC6Kj2HZcqyq+H X-Received: by 2002:a17:902:934a:: with SMTP id g10mr8595999plp.18.1559439096102; Sat, 01 Jun 2019 18:31:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559439096; cv=none; d=google.com; s=arc-20160816; b=BSriTtSGRiQbXzRTGXRCm6G0AtQ47BPxdEKoGUeOesm9Owd4CsaoVClSACYAbF6xsT qZUuoLGFsKCrnxB+W403vjhxAxVS+sqHWHA9gkX3/UWW9CR8H6yF+0drAbsoaD9/Q3Uh Cgh1bw4lDLsKJrsczD7egg8wkGSx1ZXOgV4ofMzyUAY2+kxAHabrWcSQBOq41P7aQCKg rc9UzcRm6asCI5KdcJ2eYyBjlqHfPWC+00WAL2LV2jP5D09v1Z9pQUibr1zFaCdql4dI MUse0O8/plRsQUNL0jaZwqo9pBbAd7MBfedUHICqawolTt/xzMvEjYObLlU+ExLY55CV C3Iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:date:subject:from:message-id; bh=x8UlI3J4sPOQ2VJm7ivSHYRkKRTGRar4UorX0IbXWK8=; b=n7HLFT4/3/hk0/e4URRteDYv1sh8rSXO1eLNeyK/KXBB5G6K1G/XgKRzqs/gWIuO+y yvsyQsO6snZNjakRe95+aOGqMxw6dYccU63deGjVg8DrDAWk7BSpk6BiETEVI9QwvO12 DxQbtJ1+h5JwlPWGk+cYVf5+IN0LjcX4QoSo9J4vQxME6I9/vMUj0LKvV3e2wa23mOYe RaGODynZag1wehaNbSgP0CdVuy9SV2bLGWApqEoejVfAe8p+uONbtqbW9GKeE7F/hH+y w5fasOqqSUAkDYnBd9zku1yXY0lCMJgvk60Rt4oS34AM5c25cxMCV7cLxdfMUFlCaoe3 DeaA== 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 w2si12133316pga.495.2019.06.01.18.31.20; Sat, 01 Jun 2019 18:31:36 -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 S1727008AbfFBB3h (ORCPT + 99 others); Sat, 1 Jun 2019 21:29:37 -0400 Received: from kvm5.telegraphics.com.au ([98.124.60.144]:34600 "EHLO kvm5.telegraphics.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726616AbfFBB3K (ORCPT ); Sat, 1 Jun 2019 21:29:10 -0400 Received: by kvm5.telegraphics.com.au (Postfix, from userid 502) id B2BBD27E40; Sat, 1 Jun 2019 21:29:06 -0400 (EDT) Message-Id: From: Finn Thain Subject: [PATCH 0/7] NCR5380 drivers: fixes and improvements Date: Sun, 02 Jun 2019 11:24:12 +1000 To: "James E.J. Bottomley" , "Martin K. Petersen" Cc: "Michael Schmitz" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, "Geert Uytterhoeven" , linux-m68k@lists.linux-m68k.org, "Joshua Thompson" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Among other improvements, this patch series fixes a data corruption bug in the mac_scsi driver and a bug in the EH abort routine in the core 5380 driver. For consistency I have ignored certain checkpatch.pl complaints about the indentation in mac_scsi.c. The remaining complaints seem to be false positives. Some of these patches are not trivial to backport. Those patches have been nominated for recent -stable branches only. Finn Thain (7): Revert "scsi: ncr5380: Increase register polling limit" scsi: NCR5380: Always re-enable reselection interrupt scsi: NCR5380: Handle PDMA failure reliably scsi: mac_scsi: Increase PIO/PDMA transfer length threshold scsi: mac_scsi: Fix pseudo DMA implementation, take 2 scsi: mac_scsi: Enable PDMA on Mac IIfx scsi: mac_scsi: Treat Last Byte Sent time-out as failure arch/m68k/include/asm/mac_pdma.h | 179 ++++++++++++++++++++++ arch/m68k/mac/config.c | 10 +- drivers/scsi/NCR5380.c | 18 +-- drivers/scsi/NCR5380.h | 2 +- drivers/scsi/mac_scsi.c | 249 +++++++++++-------------------- 5 files changed, 280 insertions(+), 178 deletions(-) create mode 100644 arch/m68k/include/asm/mac_pdma.h -- 2.21.0