From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 710E8C28CC3 for ; Sun, 2 Jun 2019 01:29:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 53C5327800 for ; Sun, 2 Jun 2019 01:29:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726980AbfFBB3g (ORCPT ); Sat, 1 Jun 2019 21:29:36 -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: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@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