[PATCH 1/1] scsi: megaraid_sas - Fix random failure of DCDB cmds with sense info

2007-11-20 Thread bo yang
Sense buffer ptr data type in the ioctl path is reverted back to u32 * for x86 and x86_64 as in previous versions of driver. For IA64 it will be unsigned long *. Compile time flag added for ia64 for this. Signed-off-by: Bo Yang <[EMAIL PROTECTED]> --- Documentation/scsi/ChangeLog.megara

PATCH 6/6] scsi: megaraid_sas - Update version and changelog

2007-11-09 Thread bo yang
Update version and changelog Signed-off-by: Bo Yang <[EMAIL PROTECTED]> --- Documentation/scsi/ChangeLog.megaraid_sas | 155 drivers/scsi/megaraid/megaraid_sas.c | 10 - drivers/scsi/megaraid/megaraid_sas.h |8 - 3 files changed, 164 insertions

[PATCH 5/6] scsi: megaraid_sas - support for poll_mode_io (reducedinterrupt)

2007-11-09 Thread bo yang
-based interrupt has also been added to prevent IO completion from being delayed indefinitely in the case that no new IOs are initiated. Some formatting issues in resume, suspend comment block also corrected Signed-off-by: Bo Yang <[EMAIL PROTECTED]> --- drivers/scsi/mega

[PATCH 4/6] scsi: megaraid_sas - call cmd completion from reset

2007-11-09 Thread bo yang
Driver will call cmd completion routine from Reset path without waiting for cmd completion from isr context. Signed-off-by: Bo Yang <[EMAIL PROTECTED]> --- drivers/scsi/megaraid/megaraid_sas.c | 122 + drivers/scsi/megaraid/megaraid_sas.h |2 2 files chang

[PATCH 3/6] scsi: megaraid_sas - using unsigned long for sense_buff ptr

2007-11-09 Thread bo yang
MegaRAID utilities expect sense_buff to be of type unsigned long. Signed-off-by: Bo Yang <[EMAIL PROTECTED]> --- drivers/scsi/megaraid/megaraid_sas.c | 13 - 1 files changed, 8 insertions(+), 5 deletions(-) diff -rupN linux-2.6.22_orig/drivers/scsi/megaraid/megaraid_sas.c

[PATCH 2/6] scsi: megaraid_sas - check max_sgl reported by FW forsetting max_sectors_per_req

2007-11-09 Thread bo yang
e the min of max sgl from FW and max_sectors calculation. 2. Increased MFI_POLL_TIMEOUT_SECS to 60 seconds from 10. FW may take a max of 60 seconds to respond to the INIT cmd. Signed-off-by: Bo Yang <[EMAIL PROTECTED]> --- drivers/scsi/megaraid/megaraid_s

[PATCH 1/6] scsi: megaraid_sas - add hibernation support

2007-11-09 Thread bo yang
Adding hibernation support. suspend, resume routine implemented. Signed-off-by: Bo Yang <[EMAIL PROTECTED]> --- drivers/scsi/megaraid/megaraid_sas.c | 302 +++-- drivers/scsi/megaraid/megaraid_sas.h |1 2 files changed, 233 insertions(+), 70 deletions(-) diff

[PATCH 8/8] scsi: megaraid_sas - Update version and changelog

2007-10-03 Thread bo yang
Update version and changelog. Updated "LSI Logic" to new name "LSI" Signed-off-by: Bo Yang <[EMAIL PROTECTED]> --- Documentation/scsi/ChangeLog.megaraid_sas | 160 drivers/scsi/megaraid/megaraid_sas.c | 10 - drivers/scsi/megaraid/megar

[PATCH 7/8] scsi: megaraid_sas - support for poll_mode_io (reduced interrupt)

2007-10-03 Thread bo yang
issues in resume, suspend comment block also corrected Signed-off-by: Bo Yang <[EMAIL PROTECTED]> --- drivers/scsi/megaraid/megaraid_sas.c | 152 - drivers/scsi/megaraid/megaraid_sas.h |3 2 files changed, 149 insertions(+), 6 deletions(-) diff -uprN linu

[PATCH 6/8] scsi: megaraid_sas - call cmd completion from reset

2007-10-03 Thread bo yang
Driver will call cmd completion routine from Reset path without waiting for cmd completion from isr context. Signed-off-by: Bo Yang <[EMAIL PROTECTED]> --- drivers/scsi/megaraid/megaraid_sas.c | 122 + drivers/scsi/megaraid/megaraid_sas.h |2 2 files chang

[PATCH 5/8] scsi: megaraid_sas - using unsigned long for sense_buff ptr

2007-10-03 Thread bo yang
MegaRAID utilities expect sense_buff to be of type unsigned long. Signed-off-by: Bo Yang <[EMAIL PROTECTED]> --- drivers/scsi/megaraid/megaraid_sas.c | 13 - 1 files changed, 8 insertions(+), 5 deletions(-) diff -uprN linux-2.6.22_orig/drivers/scsi/megaraid/megaraid_sas.c

[PATCH 4/8] scsi: megaraid_sas - check max_sgl reported by FW for setting max_sectors_per_req

2007-10-03 Thread bo yang
take the min of max sgl from FW and max_sectors calculation. 2. Increased MFI_POLL_TIMEOUT_SECS to 60 seconds from 10. FW may take a max of 60 seconds to respond to the INIT cmd. Signed-off-by: Bo Yang <[EMAIL PROTECTED]> --- drivers/scsi/megaraid/megaraid_s

[PATCH 3/8] scsi: megaraid_sas - add module param max_sectors, cmd_per_lun

2007-10-03 Thread bo yang
Adding module parameters to configure max sectors per request & # of cmds per lun. Signed-off-by: Bo Yang <[EMAIL PROTECTED]> --- drivers/scsi/megaraid/megaraid_sas.c | 68 - drivers/scsi/megaraid/megaraid_sas.h |2 2 files changed, 68 insertions(+), 2

PATCH [2/8] scsi: megaraid_sas - add module param fast_load

2007-10-03 Thread bo yang
Driver will skip physical devices scan for the first time if the fast_load is set. This is to reduce time for loading driver. Signed-off-by: Bo Yang <[EMAIL PROTECTED]> --- drivers/scsi/megaraid/megaraid_sas.c | 69 +++-- 1 files changed, 55 insertions(+), 14 del

[PATCH 1/8] scsi: megaraid_sas - add hibernation support

2007-10-03 Thread bo yang
Adding hibernation support. suspend, resume routine implemented. Signed-off-by: Bo Yang <[EMAIL PROTECTED]> --- drivers/scsi/megaraid/megaraid_sas.c | 302 +++-- drivers/scsi/megaraid/megaraid_sas.h |1 2 files changed, 233 insertions(+), 70 deletions(-) diff

[PATCH 8/8] scsi: megaraid_sas - Update version and changelog

2007-09-28 Thread bo yang
Update version and changelog Signed-off-by: Bo Yang <[EMAIL PROTECTED]> --- Documentation/scsi/ChangeLog.megaraid_sas | 160 drivers/scsi/megaraid/megaraid_sas.c |2 drivers/scsi/megaraid/megaraid_sas.h |7 3 files changed, 165 insertions(+), 4 del

[PATCH 7/8] scsi: megaraid_sas - support for poll_mode_io (reduced interrupt)

2007-09-28 Thread bo yang
imer-based interrupt has also been added to prevent IO completion from being delayed indefinitely in the case that no new IOs are initiated. Some formatting issues in resume, suspend comment block also corrected Signed-off-by: Bo Yang <[EMAIL PROTECTED]> --- drivers/scsi/mega

[PATCH 6/8] scsi: megaraid_sas - call cmd completion from reset

2007-09-28 Thread bo yang
Driver will call cmd completion routine from Reset path without waiting for cmd completion from isr context. Signed-off-by: Bo Yang <[EMAIL PROTECTED]> --- drivers/scsi/megaraid/megaraid_sas.c | 107 - drivers/scsi/megaraid/megaraid_sas.h |2 2 files chang

[PATCH 5/8] scsi: megaraid_sas - using unsigned long for sense_buff ptr

2007-09-28 Thread bo yang
MegaRAID utilities expect sense_buff to be of type unsigned long. Signed-off-by: Bo Yang <[EMAIL PROTECTED]> --- drivers/scsi/megaraid/megaraid_sas.c | 13 - 1 files changed, 8 insertions(+), 5 deletions(-) diff -uprN linux-2.6.22_orig/drivers/scsi/megaraid/megaraid_sas.c

[PATCH 4/8] scsi: megaraid_sas - check max_sgl reported by FW for setting max_sectors_per_req

2007-09-28 Thread bo yang
take the min of max sgl from FW and max_sectors calculation. 2. Increased MFI_POLL_TIMEOUT_SECS to 60 seconds from 10. FW may take a max of 60 seconds to respond to the INIT cmd. Signed-off-by: Bo Yang <[EMAIL PROTECTED]> --- drivers/scsi/megaraid/megaraid_s

[PATCH 3/8] scsi: megaraid_sas - add module param max_sectors, cmd_per_lun

2007-09-28 Thread bo yang
Adding module parameters to configure max sectors per request & # of cmds per lun. Signed-off-by: Bo Yang <[EMAIL PROTECTED]> --- drivers/scsi/megaraid/megaraid_sas.c | 94 - drivers/scsi/megaraid/megaraid_sas.h |2 2 files changed, 94 insertions(+), 2

PATCH [2/8] scsi: megaraid_sas - add module param fast_load

2007-09-28 Thread bo yang
Driver will skip physical devices scan for the first time if the fast_load is set. This is to reduce time for loading driver. Signed-off-by: Bo Yang <[EMAIL PROTECTED]> --- drivers/scsi/megaraid/megaraid_sas.c | 69 +++-- 1 files changed, 55 insertions(+), 14 del

[PATCH 1/8] scsi: megaraid_sas - add hibernation support

2007-09-28 Thread bo yang
Adding hibernation support. suspend, resume routine implemented. Signed-off-by: Bo Yang <[EMAIL PROTECTED]> --- drivers/scsi/megaraid/megaraid_sas.c | 302 +++-- drivers/scsi/megaraid/megaraid_sas.h |1 2 files changed, 233 insertions(+), 70 deletions(-) diff

[PATCH 1/4] scsi: megaraid_sas -- add hibernation support

2007-07-03 Thread bo yang
The megaraid_sas driver doesn't support the hibernation, the suspend/resume routine implemented to support the hibernation. Signed-off-by: Bo Yang <[EMAIL PROTECTED]> --- drivers/scsi/megaraid/megaraid_sas.c | 308 +++-- drivers/scsi/megaraid/megaraid_sas.h |

[PATCH 4/4] scsi: megaraid_sas - update version and Changelog

2007-07-03 Thread bo yang
Update version and Changelog Signed-off-by: Bo Yang <[EMAIL PROTECTED]> --- Documentation/scsi/ChangeLog.megaraid_sas | 211 drivers/scsi/megaraid/megaraid_sas.c |2 drivers/scsi/megaraid/megaraid_sas.h |6 3 files changed, 215 insertions(+), 4 del

[PATCH 3/4] scsi: megaraid_sas - add module param max_sectors, cmd_per_lun

2007-07-03 Thread bo yang
Adding module parameters to configure max sectors per request & # of cmds for each lun. Signed-off-by: Bo Yang <[EMAIL PROTECTED]> --- drivers/scsi/megaraid/megaraid_sas.c | 87 - drivers/scsi/megaraid/megaraid_sas.h |2 2 files changed, 88 insert

[PATCH 2/4] scsi: megaraid_sas -- add module param fast_load

2007-07-03 Thread bo yang
Driver will skip physical devices scan for the first time if the fast_load is set. Signed-off-by: Bo Yang <[EMAIL PROTECTED]> --- drivers/scsi/megaraid/megaraid_sas.c | 64 +++-- 1 files changed, 50 insertions(+), 14 deletions(-) diff -rupN linux-2.6.22_orig/driver

[PATCH 1/4] scsi: megaraid_sas -- add hibernation support

2007-07-03 Thread bo yang
The megaraid_sas driver doesn't support the hibernation, the suspend/resume routine implemented to support the hibernation. Signed-off-by: Bo Yang <[EMAIL PROTECTED]> --- drivers/scsi/megaraid/megaraid_sas.c | 308 +++-- drivers/scsi/megaraid/megaraid_sas.