From: Yang, Bo on
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(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

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


From: Yang, Bo on
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(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

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(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

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


From: James Bottomley on
On Fri, 2010-07-30 at 12:53 -0600, Yang, Bo wrote:
> Do you know when those patches (12 patches) will be pushed to upstream?

Well, it looks like I lost the branch I was fixing all this up in
somewhere. I don't really have time to redo that work, so could you
send the series correctly (that's the 8 OCR patches that don't
individually compile as a single patch with a correct changelog plus the
four others).

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,

I re-submitted all 12 patches. Can you help to push them to main tree?

Thanks,

Bo Yang

-----Original Message-----
From: James Bottomley [mailto:James.Bottomley(a)suse.de]
Sent: Saturday, July 31, 2010 1:46 PM
To: Yang, Bo
Cc: Yinghai Lu; linux-scsi(a)vger.kernel.org; akpm(a)osdl.org; linux-kernel(a)vger.kernel.org; Maharana, Parag; Daftardar, Jayant
Subject: RE: [PATCH 1/12] scsi: megaraid_sas - Online Controller Reset - I: Enable Online Controller Reset Bit in register related functions

On Fri, 2010-07-30 at 12:53 -0600, Yang, Bo wrote:
> Do you know when those patches (12 patches) will be pushed to upstream?

Well, it looks like I lost the branch I was fixing all this up in
somewhere. I don't really have time to redo that work, so could you
send the series correctly (that's the 8 OCR patches that don't
individually compile as a single patch with a correct changelog plus the
four others).

Thanks,

James


From: James Bottomley on
On Thu, 2010-08-05 at 14:44 -0600, Yang, Bo wrote:
> I re-submitted all 12 patches. Can you help to push them to main tree?

That's actually not what I asked for. I said please send the set of
individually compilable patches. I think that's something like 1-8
rolled up as one patch with one change set and then the remaining 4 sent
as individual patches.

So let me put it this way. I'm sorry I managed to lose the tree I was
trying to build for this. However, I have two conferences and four
talks coming up before the end of the merge window, so I have no time to
do this again. If you want this patch set in for 2.6.36, please redo it
as indicated above ASAP. Otherwise, I'll take another look when I get
some free time.

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/