Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753181Ab0FRVVS (ORCPT ); Fri, 18 Jun 2010 17:21:18 -0400 Received: from na3sys009aog110.obsmtp.com ([74.125.149.203]:44220 "EHLO na3sys009aog110.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752829Ab0FRVVQ convert rfc822-to-8bit (ORCPT ); Fri, 18 Jun 2010 17:21:16 -0400 From: "Yang, Bo" To: Yinghai Lu CC: "James.Bottomley@HansenPartnership.com" , "James.Bottomley@suse.de" , "linux-scsi@vger.kernel.org" , "akpm@osdl.org" , "linux-kernel@vger.kernel.org" Date: Fri, 18 Jun 2010 15:21:02 -0600 Subject: RE: [PATCH 1/12] scsi: megaraid_sas - Online Controller Reset - I: Enable Online Controller Reset Bit in register related functions Thread-Topic: [PATCH 1/12] scsi: megaraid_sas - Online Controller Reset - I: Enable Online Controller Reset Bit in register related functions Thread-Index: AcsPK97h31REpE+7QJOZKWxkLEv74wAABoFA Message-ID: <4B6A08C587958942AA3002690DD4F8C3D09274C4@cosmail02.lsi.com> References: <4B6A08C587958942AA3002690DD4F8C3D0804533@cosmail02.lsi.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 5000 Lines: 107 Yinghai, You need to apply patches 1/12 to 8/12 for this online controller reset (OCR) support. Regards, Bo Yang -----Original Message----- From: yhlu.kernel@gmail.com [mailto:yhlu.kernel@gmail.com] On Behalf Of Yinghai Lu Sent: Friday, June 18, 2010 5:19 PM 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 Subject: Re: [PATCH 1/12] scsi: megaraid_sas - Online Controller Reset - I: Enable Online Controller Reset Bit in register related functions 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/