James, Do you know when those patches (12 patches) will be pushed to upstream? Thanks, Bo Yang -----Original Message----- From: Yang, Bo Sent: Tuesday, July 20, 2010 9:08 AM To: Yang, Bo; 'James Bottomley' Cc: 'Yinghai Lu'; 'linux-scsi@xxxxxxxxxxxxxxx'; 'akpm@xxxxxxxx'; 'linux-kernel@xxxxxxxxxxxxxxx' Subject: RE: [PATCH 1/12] scsi: megaraid_sas - Online Controller Reset - I: Enable Online Controller Reset Bit in register related functions James, Do you get chances to view this changes and apply the patches to the main tree? Thanks, Bo Yang -----Original Message----- From: Yang, Bo Sent: Monday, June 21, 2010 11:36 AM To: 'James Bottomley' Cc: Yinghai Lu; linux-scsi@xxxxxxxxxxxxxxx; akpm@xxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx Subject: RE: [PATCH 1/12] scsi: megaraid_sas - Online Controller Reset - I: Enable Online Controller Reset Bit in register related functions James, Attached is the changelog for OCR. Signed-off-by Bo Yang<bo.yang@xxxxxxx> --- Documentation/scsi/ChangeLog.megaraid_sas | 33 ++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff -rupN old/Documentation/scsi/ChangeLog.megaraid_sas new/Documentation/scsi/ChangeLog.megaraid_sas --- old/Documentation/scsi/ChangeLog.megaraid_sas 2010-06-20 03:41:31.000000000 -0400 +++ new/Documentation/scsi/ChangeLog.megaraid_sas 2010-06-20 03:55:42.000000000 -0400 @@ -1,3 +1,36 @@ +1 Release Date : Thur. May 03, 2010 09:12:45 PST 2009 - + (emaild-id:megaraidlinux@xxxxxxx) + Bo Yang + +2 Current Version : 00.00.04.17.1-rc1 +3 Older Version : 00.00.04.17.1-rc1 + +1. Add the Online Controller Reset (OCR) to the Driver. + OCR is the new feature for megaraid_sas driver which + will allow the fw to do the chip reset which will not + affact the OS behavious. + + To add the OCR support, driver need to do: + a). reset the controller chips -- Xscale and Gen2 which + will change the function calls and add the reset function + related to this two chips. + + b). during the reset, driver will store the pending cmds + which not returned by FW to driver's pending queue. Driver + will re-issue those pending cmds again to FW after the OCR + finished. + + c). In driver's timeout routine, driver will report to + OS as reset. Also driver's queue routine will block the + cmds until the OCR finished. + + d). in Driver's ISR routine, if driver get the FW state as + state change, FW in Failure status and FW support online controller + reset (OCR), driver will start to do the controller reset. + + e). In driver's IOCTL routine, the application cmds will wait for the + OCR to finish, then issue the cmds to FW. + 1 Release Date : Thur. Oct 29, 2009 09:12:45 PST 2009 - (emaild-id:megaraidlinux@xxxxxxx) Bo Yang -----Original Message----- From: James Bottomley [mailto:James.Bottomley@xxxxxxx] Sent: Sunday, June 20, 2010 4:49 PM To: Yang, Bo Cc: Yinghai Lu; linux-scsi@xxxxxxxxxxxxxxx; akpm@xxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx Subject: RE: [PATCH 1/12] scsi: megaraid_sas - Online Controller Reset - I: Enable Online Controller Reset Bit in register related functions On Sun, 2010-06-20 at 14:19 -0600, Yang, Bo wrote: > Yes. OK, can you give me the single changelog for this one commit, then, please? Thanks, James ��.n��������+%������w��{.n�����{������ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f