From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756412AbcBVXNR (ORCPT ); Mon, 22 Feb 2016 18:13:17 -0500 Received: from kvm5.telegraphics.com.au ([98.124.60.144]:58198 "EHLO kvm5.telegraphics.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755554AbcBVXNO (ORCPT ); Mon, 22 Feb 2016 18:13:14 -0500 Message-Id: <20160222230703.994951661@telegraphics.com.au> User-Agent: quilt/0.50-1 Date: Tue, 23 Feb 2016 10:07:03 +1100 From: Finn Thain To: "James E.J. Bottomley" , "Martin K. Petersen" , Michael Schmitz , , , Subject: [PATCH 0/6] ncr5380: Exception handling fixes for v4.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These patches fix some exception handling and autosense bugs that I accidentally introduced in v4.5-rc1. The error recovery and autosense code in these drivers has been unstable for a long time. Despite that, v4.5-rc1 shows a regression in as much as it exposes a bug in the aranym emulator. This leads to error recovery, which can crash. Also, Michael Schmitz reported some crashes involving abort handling for a certain target device. And Dan Carpenter found a NULL pointer deref in the new bus reset code. Error recovery and autosense are stable with these patches. I tested them using a Domex 3191D PCI card. Errors during IO were simulated by sending bus resets and unplugging/replugging the SCSI cables. Some of these patches fix bugs that only affect more capable hardware (like Atari). Thanks to Michael Schmitz for patiently testing those. Please review this series for v4.5. --- drivers/scsi/NCR5380.c | 133 +++++++++++++++++++------------------------ drivers/scsi/atari_NCR5380.c | 133 +++++++++++++++++++------------------------ 2 files changed, 118 insertions(+), 148 deletions(-)