From: James Bottomley on
On Fri, 2010-06-18 at 15:56 -0600, Yang, Bo wrote:
> Thanks, Yinghai. It is possible James didn't push (patches 5-12) yet.

Well, that was because of the compile failure.

However, we can't have a sequence of patches that hangs the controller
in the middle because, as has already been pointed out, that breaks
bisectability too. It's just lacking the hardware, I can't check for
that particular problem.

What grouping do these 12 patches have to be applied in to get a working
controller in between them?

James


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: James Bottomley on
On Sun, 2010-06-20 at 13:27 -0600, Yang, Bo wrote:
> The online controller reset (OCR) need to apply [Patch 1/12 -- patch
> 8/12]. I already submitted all of them.

So 1-8 have to be done as a single commit and 9-12 can apply
individually?

James


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Yang, Bo on
James,

Yes.

Regards,

Bo Yang

-----Original Message-----
From: James Bottomley [mailto:James.Bottomley(a)suse.de]
Sent: Sunday, June 20, 2010 3:48 PM
To: Yang, Bo
Cc: Yinghai Lu; linux-scsi(a)vger.kernel.org; akpm(a)osdl.org; linux-kernel(a)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 Sun, 2010-06-20 at 13:27 -0600, Yang, Bo wrote:
> The online controller reset (OCR) need to apply [Patch 1/12 -- patch
> 8/12]. I already submitted all of them.

So 1-8 have to be done as a single commit and 9-12 can apply
individually?

James


From: James Bottomley on
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


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Yang, Bo on
James,

Attached is the changelog for OCR.

Signed-off-by Bo Yang<bo.yang(a)lsi.com>

---
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(a)lsi.com)
+ 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(a)lsi.com)
Bo Yang


-----Original Message-----
From: James Bottomley [mailto:James.Bottomley(a)suse.de]
Sent: Sunday, June 20, 2010 4:49 PM
To: Yang, Bo
Cc: Yinghai Lu; linux-scsi(a)vger.kernel.org; akpm(a)osdl.org; linux-kernel(a)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 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