From patchwork Thu Sep 27 01:17:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Finn Thain X-Patchwork-Id: 10617111 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1C24713A4 for ; Thu, 27 Sep 2018 01:27:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0BC9D2B4EC for ; Thu, 27 Sep 2018 01:27:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F3F2D2B4F4; Thu, 27 Sep 2018 01:27:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6A0F82B4EC for ; Thu, 27 Sep 2018 01:27:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727204AbeI0HnA (ORCPT ); Thu, 27 Sep 2018 03:43:00 -0400 Received: from kvm5.telegraphics.com.au ([98.124.60.144]:35884 "EHLO kvm5.telegraphics.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726627AbeI0Hm7 (ORCPT ); Thu, 27 Sep 2018 03:42:59 -0400 Received: by kvm5.telegraphics.com.au (Postfix, from userid 502) id 0B44129A03; Wed, 26 Sep 2018 21:27:14 -0400 (EDT) To: "James E.J. Bottomley" , "Martin K. Petersen" Cc: Michael Schmitz , Hannes Reinecke , Ondrey Zary , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Message-Id: From: Finn Thain Subject: [PATCH 00/10] NCR5380: Various improvements Date: Thu, 27 Sep 2018 11:17:11 +1000 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP [This patch series is being re-sent unchanged due to email problems.] This series addresses issues which became apparent when Michael Schmitz tried to use an AztecMonster II SATA/SCSI adapter with a 5380 host. That target seems to have some bugs which thoroughly exercise driver error paths and EH. The patch by Hannes Reinecke was cherry-picked from his 'eh-reset.v5' branch. Finn Thain (9): NCR5380: Reduce goto statements in NCR5380_select() NCR5380: Have NCR5380_select() return a bool NCR5380: Withhold disconnect privilege for REQUEST SENSE NCR5380: Use DRIVER_SENSE to indicate valid sense data NCR5380: Check for invalid reselection target NCR5380: Don't clear busy flag when abort fails NCR5380: Don't call dsprintk() following reselection interrupt NCR5380: Handle BUS FREE during reselection NCR5380: Check for bus reset Hannes Reinecke (1): NCR5380: Clear all unissued commands on host reset drivers/scsi/NCR5380.c | 167 +++++++++++++++++++++++++++++-------------------- drivers/scsi/NCR5380.h | 2 +- 2 files changed, 101 insertions(+), 68 deletions(-)