Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751832AbbH3IAe (ORCPT ); Sun, 30 Aug 2015 04:00:34 -0400 Received: from mail-ob0-f172.google.com ([209.85.214.172]:34740 "EHLO mail-ob0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751205AbbH3IAc (ORCPT ); Sun, 30 Aug 2015 04:00:32 -0400 From: "Nicholas A. Bellinger" To: linux-scsi Cc: linux-kernel , James Bottomley , Calvin Owens , Christoph Hellwig , Sreekanth Reddy , "MPT-FusionLinux.pdl" , kernel-team , Nicholas Bellinger Subject: [PATCH-v2 0/2] mpt3sas: Reference counting fixes from for-next mpt2sas Date: Sun, 30 Aug 2015 07:54:37 +0000 Message-Id: <1440921279-9973-1-git-send-email-nab@daterainc.com> X-Mailer: git-send-email 1.7.2.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1839 Lines: 53 From: Nicholas Bellinger Hi all, This series is a mpt3sas LLD forward port of Calvin Owens' for-next reference counting bugfix series for mpt2sas LLD code. His latest patch series can be found here: [PATCH v4 0/2] Fixes for memory corruption in mpt2sas http://marc.info/?l=linux-scsi&m=143951695904115&w=2 The differences between mpt2sas + mpt3sas in this area are very small, and the changes are required to address a class of long standing NULL pointer dereference bugs through-out both LLDs. With Calvin's changes in place for mpt3sas, the original NULL pointer dereference OOPsen during probe with a failed HDD appear to be resolved, and so far no new regressions have been reported with -v1 series code. The -v1 series code for mpt3sas has been tested on v3.14.47 with 40x SAS3008 HBAs, with three preceeding upstream mpt3sas patches: 4dc06fd mpt3sas: delay scsi_add_host call to work with scsi-mq 35b6236 mpt3sas: combine fw_event_work and its event_data 62c4da4 mpt3sas: correct scsi_{target,device} hostdata allocation Please review. --nab -v2 changes: - Fix _scsih_block_io_device() v4.3-rc0 brekage - Fix mpt3sas_transport_port_add() v4.3-rc0 breakage Nicholas Bellinger (2): mpt3sas: Refcount sas_device objects and fix unsafe list usage mpt3sas: Refcount fw_events and fix unsafe list usage drivers/scsi/mpt3sas/mpt3sas_base.h | 25 +- drivers/scsi/mpt3sas/mpt3sas_scsih.c | 595 ++++++++++++++++++++++--------- drivers/scsi/mpt3sas/mpt3sas_transport.c | 18 +- 3 files changed, 458 insertions(+), 180 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/