Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752022AbbFSPEZ (ORCPT ); Fri, 19 Jun 2015 11:04:25 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:41286 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750732AbbFSPES (ORCPT ); Fri, 19 Jun 2015 11:04:18 -0400 To: Sreekanth Reddy Cc: jejb@kernel.org, thenzl@redhat.com, martin.petersen@oracle.com, linux-scsi@vger.kernel.org, JBottomley@Parallels.com, Sathya.Prakash@avagotech.com, linux-kernel@vger.kernel.org, hch@infradead.org, jthumshirn@suse.de, joe.lawrence@stratus.com Subject: Re: [PATCH v1 02/20] [SCSI] mpt3sas: Get IOC_FACTS information using handshake protocol only after HBA card gets into READY or Operational state. From: "Martin K. Petersen" Organization: Oracle Corporation References: <1434532251-6897-1-git-send-email-Sreekanth.Reddy@avagotech.com> Date: Fri, 19 Jun 2015 11:03:31 -0400 In-Reply-To: <1434532251-6897-1-git-send-email-Sreekanth.Reddy@avagotech.com> (Sreekanth Reddy's message of "Wed, 17 Jun 2015 14:40:51 +0530") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Source-IP: userv0021.oracle.com [156.151.31.71] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 820 Lines: 17 >>>>> " " == Sreekanth Reddy writes: > Driver initialization fails if driver tries to send IOC facts request message when the IOC is in reset or in a fault state. > > This patch will make sure that > 1.Driver to send IOC facts request message only if HBA is in operational or ready state. > 2.If IOC is in fault state, a diagnostic reset would be issued. > 3.If IOC is in reset state then driver will wait for 10 seconds to exit out of reset state. > If the HBA continues to be in reset state, then the HBA wouldn't be claimed by the driver. Reviewed-by: Martin K. Petersen -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in Please read the FAQ at http://www.tux.org/lkml/