Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752936Ab0FRVTA (ORCPT ); Fri, 18 Jun 2010 17:19:00 -0400 Received: from mail-px0-f174.google.com ([209.85.212.174]:64150 "EHLO mail-px0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751384Ab0FRVS6 convert rfc822-to-8bit (ORCPT ); Fri, 18 Jun 2010 17:18:58 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=bCJJdcB+d+oQ6qFdP4mRI8LIzY0sO5k2MPYH2Slp6z+3tos/luqldIS0RaUdH0resX 6dSbHdMvZzIKPkgcGENOtzjcVBv2fzkez83kugp9bruqfQD7qyikiQLgZ7TogewmMjBr OtnlxBXSSJVdfVzX5Fmw/duEPCFJfiiYkm84I= MIME-Version: 1.0 In-Reply-To: <4B6A08C587958942AA3002690DD4F8C3D0804533@cosmail02.lsi.com> References: <4B6A08C587958942AA3002690DD4F8C3D0804533@cosmail02.lsi.com> Date: Fri, 18 Jun 2010 14:18:57 -0700 X-Google-Sender-Auth: iJEd-GUoBHEyJxSaZ7dqhJ4uWeU Message-ID: Subject: Re: [PATCH 1/12] scsi: megaraid_sas - Online Controller Reset - I: Enable Online Controller Reset Bit in register related functions From: Yinghai Lu To: "Yang, Bo" Cc: "James.Bottomley@HansenPartnership.com" , "James.Bottomley@suse.de" , "linux-scsi@vger.kernel.org" , "akpm@osdl.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4442 Lines: 92 On Wed, Jun 9, 2010 at 7:34 PM, Yang, Bo wrote: > Enable the Online Controller reset bit in the register related functions. ?This is first part of the Online Controller Reset. > The driver supports XScle and Gen2 chips. ?Driver need to read the FW state register to see if there is FW state change > Happen. > > Signed-off-by Bo Yang This patch cause kernel hang just after [ 136.996297] megasas: FW now in Ready state # lspci -vvxxx -s 01:00.0 01:00.0 RAID bus controller: LSI Logic / Symbios Logic LSI MegaSAS 9260 (rev 03) Subsystem: LSI Logic / Symbios Logic MegaRAID SAS 9262-8i Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- Kernel driver in use: megaraid_sas 00: 00 10 79 00 47 01 10 00 03 00 04 01 40 00 00 00 10: 01 1c 00 00 04 c0 ef aa 00 00 00 00 04 00 e8 aa 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 10 62 92 30: 00 00 e4 aa 50 00 00 00 00 00 00 00 0a 01 00 00 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 50: 01 68 03 06 08 00 00 00 00 00 00 00 00 00 00 00 60: 00 00 00 00 00 01 00 00 10 d0 02 00 25 80 00 10 70: 17 28 00 00 82 04 00 00 40 00 42 10 00 00 00 00 80: 00 00 00 00 00 00 00 00 00 00 00 00 16 00 00 00 90: 00 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 a0: 00 00 00 00 00 00 00 00 05 c0 80 00 00 00 00 00 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 c0: 11 00 0e 00 01 20 00 00 01 38 00 00 00 00 00 00 d0: 03 a8 ff 1f 82 00 00 00 00 00 00 00 00 00 00 00 e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 YH -- 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/