[PATCH][SCSI] mpt3sas: Description patch

2013-06-28 Thread Sreekanth Reddy
Please consider this patch set fot next kernel release. Signed-off-by: Sreekanth Reddy sreekanth.re...@lsi.com --- [PATCH 1/7][SCSI] mpt3sas: 2013 source code copyright. [PATCH 2/7][SCSI] mpt3sas: Updated the Hardware timing requirements. [PATCH 3/7][SCSI] mpt3sas: fix for kernel panic when

[PATCH 4/7][SCSI] mpt3sas: Infinite loops can occur if MPI2_IOCSTATUS_CONFIG_INVALID_PAGE is not returned

2013-06-28 Thread Sreekanth Reddy
for MPI2_IOCSTATUS_CONFIG_INVALID_PAGE value, in this patch code is modified to check for IOCStatus not equals to MPI2_IOCSTATUS_SUCCESS to break the while loop. Signed-off-by: Sreekanth Reddy sreekanth.re...@lsi.com Cc: sta...@vger.kernel.org --- drivers/scsi/mpt3sas/mpt3sas_scsih.c | 16 1 files changed

[PATCH 5/7][SCSI] mpt3sas: MPI2.5 Rev F v2.5.1.1 specification

2013-06-28 Thread Sreekanth Reddy
requirements for certain IOCs that support more than eight MSI-x vectors. Signed-off-by: Sreekanth Reddy sreekanth.re...@lsi.com --- drivers/scsi/mpt3sas/mpi/mpi2.h | 12 +--- drivers/scsi/mpt3sas/mpi/mpi2_cnfg.h | 15 +-- drivers/scsi/mpt3sas/mpi/mpi2_init.h |2

[PATCH 6/7][SCSI] mpt3sas: when async scanning is enabled then while scanning, devices are removed but their transport layer entries are not removed

2013-06-28 Thread Sreekanth Reddy
. So, in this patch, modified the code in such a way that device is not removed when Async scanning mode is enabled and device scanning is in progress. Signed-off-by: Sreekanth Reddy sreekanth.re...@lsi.com --- drivers/scsi/mpt3sas/mpt3sas_scsih.c | 22 +- 1 files changed, 13

[PATCH][SCSI] mpt2sas: Description patch

2013-07-24 Thread Sreekanth Reddy
Please consider this patch set for next kernel release. Signed-off-by: Sreekanth Reddy sreekanth.re...@lsi.com --- [PATCH 1/8][SCSI] mpt2sas: Null pointer deference possibility in mpt2sas_ctl_event_callback function. [PATCH 2/8][SCSI] mpt2sas: Change

[PATCH 1/8][SCSI] mpt2sas: Null pointer deference possibility in mpt2sas_ctl_event_callback function

2013-07-24 Thread Sreekanth Reddy
() * mpt2sas_ctl_event_callback() * mpt2sas_scsih_event_callback() Signed-off-by: Sreekanth Reddy sreekanth.re...@lsi.com --- drivers/scsi/mpt2sas/mpt2sas_base.c | 11 +-- drivers/scsi/mpt2sas/mpt2sas_base.h |4 ++-- drivers/scsi/mpt2sas/mpt2sas_ctl.c | 12 drivers/scsi

[PATCH 2/8][SCSI] mpt2sas: Change in MPI2_RAID_ACTION_SYSTEM_SHUTDOWN_INITIATED notification methodology

2013-07-24 Thread Sreekanth Reddy
if the card is IR Firmware. 2. The MPI2_RAID_ACTION_SYSTEM_SHUTDOWN_INITIATED is sent even when the system undergoes suspend (in addition to remove/shutdown which was already present) Signed-off-by: Sreekanth Reddy sreekanth.re...@lsi.com --- drivers/scsi/mpt2sas/mpt2sas_scsih.c |5

[PATCH 3/8][SCSI] mpt2sas: MPI2 Rev X (2.00.16) specifications

2013-07-24 Thread Sreekanth Reddy
field of Manufacturing Page 7. 3. Added OEM Identifier to BiosOptions bits of BIOS Page 1. Signed-off-by: Sreekanth Reddy sreekanth.re...@lsi.com --- drivers/scsi/mpt2sas/mpi/mpi2.h |7 --- drivers/scsi/mpt2sas/mpi/mpi2_cnfg.h | 10 -- drivers/scsi/mpt2sas/mpi/mpi2_init.h

[PATCH 4/8][SCSI] mpt2sas: The copyright in driver sources is updated for the year 2013

2013-07-24 Thread Sreekanth Reddy
The copyright in driver sources is updated for the year 2013. Signed-off-by: Sreekanth Reddy sreekanth.re...@lsi.com --- drivers/scsi/mpt2sas/mpt2sas_base.c |2 +- drivers/scsi/mpt2sas/mpt2sas_base.h |2 +- drivers/scsi/mpt2sas/mpt2sas_config.c|2 +- drivers/scsi

[PATCH 5/8][SCSI] mpt2sas: Infinite loop can occur if MPI2_IOCSTATUS_CONFIG_INVALID_PAGE is not returned

2013-07-25 Thread Sreekanth Reddy
for MPI2_IOCSTATUS_CONFIG_INVALID_PAGE value, in this patch code is modified to check for IOCStatus not equals to MPI2_IOCSTATUS_SUCCESS to break the while loop. Signed-off-by: Sreekanth Reddy sreekanth.re...@lsi.com Cc: sta...@vger.kernel.org --- drivers/scsi/mpt2sas/mpt2sas_scsih.c | 16 1 files changed, 4

[PATCH 6/8][SCSI] mpt2sas: when Async scanning is enabled then while scanning, devices are removed but their transport layer entries are not removed

2013-07-25 Thread Sreekanth Reddy
. So, in this patch, modified the code in such a way that device is not removed when Async scanning mode is enabled and device scanning is in progress. Signed-off-by: Sreekanth Reddy sreekanth.re...@lsi.com Cc: sta...@vger.kernel.org --- drivers/scsi/mpt2sas/mpt2sas_scsih.c | 23

[PATCH 7/8][SCSI] mpt2sas: Fix for kernel panic when driver loads with HBA connected to non LUN 0 configured expander

2013-07-25 Thread Sreekanth Reddy
scsi_target if it is NULL earlier in slave_alloc callback function. Signed-off-by: Sreekanth Reddy sreekanth.re...@lsi.com Cc: sta...@vger.kernel.org --- drivers/scsi/mpt2sas/mpt2sas_scsih.c | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/drivers/scsi/mpt2sas

[PATCH 8/8][SCSI] mpt2sas: Bump driver version to v16.100.00.00

2013-07-25 Thread Sreekanth Reddy
Bump driver version to v16.100.00.00. Signed-off-by: Sreekanth Reddy sreekanth.re...@lsi.com --- drivers/scsi/mpt2sas/mpt2sas_base.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.h b/drivers/scsi/mpt2sas/mpt2sas_base.h index

[PATCH] [SCSI] mpt3sas: Added a driver module parameter max_msix_vectors

2013-08-14 Thread Sreekanth Reddy
amount of memory and crash is observed. To overcome this problem, the default value is set to 8. Signed-off-by: Sreekanth Reddy sreekanth.re...@lsi.com --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.c b/drivers/scsi/mpt3sas/mpt3sas_base.c index a32d63b..d40ba0b 100644 --- a/drivers/scsi

RE: mptNsas MSI-X fixes

2014-06-25 Thread Sreekanth Reddy
Hi James, This Patch set seems to be fine. Please consider this patch set as Acked-by: Sreekanth Reddy sreekanth.re...@avagotech.com Regards, Sreekanth -Original Message- From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi- ow...@vger.kernel.org] On Behalf Of Martin K. Petersen

RE: [PATCH 0/4] mpt2/mpt3 static checker fixups

2014-06-25 Thread Sreekanth Reddy
James, This Patch set seems to be fine. Please consider this patch set as Acked-by: Sreekanth Reddy sreekanth.re...@avagotech.com Regards, Sreekanth -Original Message- From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi- ow...@vger.kernel.org] On Behalf Of Joe Lawrence Sent

Re: [RESEND][PATCH 07/10][SCSI]mpt2sas: Added Reply Descriptor Post Queue (RDPQ) Array support

2014-07-23 Thread Sreekanth Reddy
in the bad_reply_post_pool list. then releasing these pools once we get the required memory pools. Still some unit testing is needed for this patch. So I will post this patch once again tomorrow. Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com diff --git a/drivers/scsi/mpt2sas

Re: mpt2sas and mpt3sas merge (again)

2014-07-24 Thread Sreekanth Reddy
will not be posting any more feature support patches for mpt2sas. Whereas mpt3sas is at its initial baseline with a healthy road map ahead. Regards, Sreekanth On Wed, Jul 23, 2014 at 7:09 AM, Martin K. Petersen martin.peter...@oracle.com wrote: Sreekanth == Sreekanth Reddy sreekanth.re...@avagotech.com

Re: [RESEND][PATCH 07/10][SCSI]mpt2sas: Added Reply Descriptor Post Queue (RDPQ) Array support

2014-07-25 Thread Sreekanth Reddy
this change may affect on any other things or not? Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.c b/drivers/scsi/mpt2sas/mpt2sas_base.c index 6b2a79e..cf69e61 100644 --- a/drivers/scsi/mpt2sas/mpt2sas_base.c +++ b/drivers/scsi/mpt2sas

Re: [RESEND][PATCH 07/10][SCSI]mpt2sas: Added Reply Descriptor Post Queue (RDPQ) Array support

2014-07-30 Thread Sreekanth Reddy
() d. _base_make_ioc_operational() Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com --- diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.c b/drivers/scsi/mpt2sas/mpt2sas_base.c index 6b2a79e..d81230a 100644 --- a/drivers/scsi/mpt2sas/mpt2sas_base.c +++ b/drivers/scsi/mpt2sas

Re: [RESEND][PATCH 07/10][SCSI]mpt2sas: Added Reply Descriptor Post Queue (RDPQ) Array support

2014-08-11 Thread Sreekanth Reddy
Hi Martin, Please let me known any further changes are required so that I can send this patch once again with git send-email. Regards, Sreekanth On Mon, Aug 11, 2014 at 6:45 PM, Sreekanth Reddy sreekanth.re...@avagotech.com wrote: Hi Martin, Please let me known any further changes

[RESEND][PATCH 07/10][SCSI]mpt2sas: Added Reply Descriptor Post Queue (RDPQ) Array support

2014-08-12 Thread Sreekanth Reddy
() c. _base_send_ioc_init() d. _base_make_ioc_operational() Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com --- drivers/scsi/mpt2sas/mpt2sas_base.c | 233 +++- drivers/scsi/mpt2sas/mpt2sas_base.h | 18 ++- 2 files changed, 193 insertions(+), 58

RE: [PATCH 08/10] [scsi] mpt2sas: Get IOC_FACTS information using handshake protocol only after HBA card gets into READY or Operational state.

2014-08-12 Thread Sreekanth Reddy
would be issued. 3.If IOC is in reset state then driver will wait for 10 seconds to exit out of reset state. If the HBA continues to be in reset state, then the HBA wouldn't be claimed by the driver. Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com --- drivers/scsi/mpt2sas

RE: [RESEND][PATCH 7/8][SCSI]mpt3sas: Added Reply Descriptor Post Queue (RDPQ) Array support

2014-08-12 Thread Sreekanth Reddy
() c. _base_send_ioc_init() d. _base_make_ioc_operational() Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com --- drivers/scsi/mpt3sas/mpt3sas_base.c | 231 +++- drivers/scsi/mpt3sas/mpt3sas_base.h | 18 ++- 2 files changed, 189 insertions

Re: [RESEND][PATCH 07/10][SCSI]mpt2sas: Added Reply Descriptor Post Queue (RDPQ) Array support

2014-08-12 Thread Sreekanth Reddy
On Tue, Aug 12, 2014 at 3:07 PM, Joe Perches j...@perches.com wrote: On Tue, 2014-08-12 at 14:54 +0530, Sreekanth Reddy wrote: So, the proposal is to allocate memory independently for each Reply Queue and pass down all of the addresses to the firmware. Then the firmware will just take each

Re: [RESEND][PATCH 8/8][SCSI]mpt3sas: Bump mpt3sas driver version to 04.100.00.00

2014-08-12 Thread Sreekanth Reddy
that I can repost this patch set once again by appending your Signed-off-by signature. Regards, Sreekanth On Tue, Jul 15, 2014 at 10:26 PM, Martin K. Petersen martin.peter...@oracle.com wrote: Sreekanth == Reddy, Sreekanth sreekanth.re...@avagotech.com writes: Sreekanth Bump mpt3sas driver version

Re: [RESEND][PATCH 10/10][SCSI]mpt2sas: Bump mpt2sas driver version to 18.100.00.00

2014-08-12 Thread Sreekanth Reddy
patches, so that I can repost this patch set once again by appending your Signed-off-by signature. Regards, Sreekanth On Tue, Jul 15, 2014 at 10:21 PM, Martin K. Petersen martin.peter...@oracle.com wrote: Sreekanth == Reddy, Sreekanth sreekanth.re...@avagotech.com writes: Sreekanth Bump mpt2sas

How to get the number of VFs assigned to the guests in XEN

2014-08-20 Thread Sreekanth Reddy
HI, For SRIOV support, currently in the KVM environment, mpt3sas driver can use the API pci_vfs_assigned() to know the number of VFs that are currently assigned to the running VMs. So that during the PF driver unload time, if the return value of this API is greater than zero the our driver won't

Re: How to get the number of VFs assigned to the guests in XEN

2014-08-21 Thread Sreekanth Reddy
Yes, devices are binded to pci-back. On Thu, Aug 21, 2014 at 3:59 AM, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: On Wed, Aug 20, 2014 at 04:33:29PM +0530, Sreekanth Reddy wrote: HI, For SRIOV support, currently in the KVM environment, mpt3sas driver can use the API

Re: [RESEND][PATCH 8/8][SCSI]mpt3sas: Bump mpt3sas driver version to 04.100.00.00

2014-08-22 Thread Sreekanth Reddy
Hi Martin, Today I was busy with the internal activity. By Monday I will repost this patch with requested changes. Thanks, Sreekanth On Fri, Aug 22, 2014 at 2:40 AM, Martin K. Petersen martin.peter...@oracle.com wrote: Sreekanth == Sreekanth Reddy sreekanth.re...@avagotech.com writes

[PATCH v1 5/8][SCSI] mpt3sas: Copyright in driver sources is updated for year the 2014.

2014-08-23 Thread Sreekanth Reddy
Copyright in driver sources is updated for year the 2014. Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com Reviewed-by: Martin K. Petersen martin.peter...@oracle.com --- drivers/scsi/mpt3sas/Kconfig| 2 +- drivers/scsi/mpt3sas/mpi/mpi2.h | 2 +- drivers

[PATCH v1 4/8][SCSI] mpt3sas: MPI2.5 Rev H (2.5.3) specifications

2014-08-23 Thread Sreekanth Reddy
, or the SAS Enclosure Device Status Change Event when host based discovery is enabled. 7) Bit 13 of the SAS IO Unit Page 1 ControlFlags field is now obsolete. It was used to enable limiting direct attached SATA maximum link rate to 1.5 Gbps. Signed-off-by: Sreekanth Reddy sreekanth.re

[PATCH v1 6/8][SCSI] mpt3sas: Added OEM branding Strings

2014-08-23 Thread Sreekanth Reddy
0x8086 0x3524 Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com Reviewed-by: Martin K. Petersen martin.peter...@oracle.com --- drivers/scsi/mpt3sas/mpt3sas_base.c | 49 + drivers/scsi/mpt3sas/mpt3sas_base.h | 18

[PATCH v1 3/8][SCSI] mpt3sas: Bump mpt3sas driver version to 03.100.00.00

2014-08-23 Thread Sreekanth Reddy
Bump mpt3sas driver version to 03.100.00.00. Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com Reviewed-by: Martin K. Petersen martin.peter...@oracle.com --- drivers/scsi/mpt3sas/mpt3sas_base.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi

[PATCH v1 2/8][SCSI] mpt3sas: Clear PFA Status on SGPIO when PFA Drive is Removed or Replaced

2014-08-23 Thread Sreekanth Reddy
an SEP message to turn off the respective Predictive Failure LED. Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com Reviewed-by: Martin K. Petersen martin.peter...@oracle.com --- drivers/scsi/mpt3sas/mpt3sas_base.h | 5 ++- drivers/scsi/mpt3sas/mpt3sas_scsih.c | 67

[PATCH v1 1/8][SCSI] mpt3sas: MPI2.5 Rev G (2.5.2) specifications

2014-08-23 Thread Sreekanth Reddy
Below is the change set in MPI2.5 Rev G specification and 2.00.31 header files 1) Added SCSIStatusQualifier to SCSI IO Error Reply message. 2) Added ATA Security Freeze Lock to IO Unit Page 1 Flags field. 3) Added Allow Protection Information bit for IR Volume Create. Signed-off-by: Sreekanth

[RESEND][PATCH v1 7/8][SCSI] mpt3sas: Added Reply Descriptor Post Queue (RDPQ) Array support

2014-08-23 Thread Sreekanth Reddy
. _base_make_ioc_operational() Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com Reviewed-by: Martin K. Petersen martin.peter...@oracle.com --- drivers/scsi/mpt3sas/mpt3sas_base.c | 229 +++- drivers/scsi/mpt3sas/mpt3sas_base.h | 20 +++- 2 files changed, 189

Re: [RESEND][PATCH 07/10] [SCSI] mpt2sas: Added Reply Descriptor Post Queue (RDPQ) Array support

2014-08-23 Thread Sreekanth Reddy
. _base_make_ioc_operational() Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com Reviewed-by: Martin K. Petersen martin.peter...@oracle.com --- drivers/scsi/mpt2sas/mpt2sas_base.c | 236 +++- drivers/scsi/mpt2sas/mpt2sas_base.h | 20 ++- 2 files changed, 196 insertions

Re: [RESEND][PATCH 08/10] [scsi] mpt2sas: Get IOC_FACTS information using handshake protocol only after HBA card gets into READY or Operational state.

2014-08-23 Thread Sreekanth Reddy
would be issued. 3.If IOC is in reset state then driver will wait for 10 seconds to exit out of reset state. If the HBA continues to be in reset state, then the HBA wouldn't be claimed by the driver. Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com Reviewed-by: Martin K. Petersen

[PATCH 00/18][SCSI] mpt2sas,mpt3sas: mpt2sas's phase17, phase18 and mpt3sas's phase2, phase3 patch set series

2014-09-12 Thread Sreekanth Reddy
and accommodates all the review changes. Droped below patch from this series and I will include this patch in the next series once the review completes on this patch mpt2sas: Added module parameter 'unblock_io' to unblock IO's during disk addition Sreekanth Reddy (18): [SCSI] mpt2sas: Added driver

[PATCH v2 02/18][SCSI] mpt2sas: MPI2 Rev Y (2.00.17) and Rev Z (2.00.18) specifications

2014-09-12 Thread Sreekanth Reddy
Toolbox Console Text Display Tool The host uses the Console Text Display Tool to send a string to IOC's Console using different console types (eg: UART serial terminal or Ethernet terminal). The copyright in the mpi files is updated for year 2014 Signed-off-by: Sreekanth Reddy sreekanth.re

[PATCH v2 03/18][SCSI] mpt2sas: Copyright in driver sources is updated for year the 2014

2014-09-12 Thread Sreekanth Reddy
Copyright in driver sources is updated for year the 2014. Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com Reviewed-by: Martin K. Petersen martin.peter...@oracle.com --- drivers/scsi/mpt2sas/Kconfig | 2 +- drivers/scsi/mpt2sas/mpt2sas_base.c | 2 +- drivers/scsi

[PATCH v2 14/18][SCSI] mpt3sas: Copyright in driver sources is updated for year the 2014.

2014-09-12 Thread Sreekanth Reddy
Copyright in driver sources is updated for year the 2014. Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com Reviewed-by: Martin K. Petersen martin.peter...@oracle.com --- drivers/scsi/mpt3sas/Kconfig| 2 +- drivers/scsi/mpt3sas/mpi/mpi2.h | 2 +- drivers

[PATCH v2 09/18][SCSI] mpt2sas: Bump mpt2sas driver version to 18.100.00.00

2014-09-12 Thread Sreekanth Reddy
Bump mpt2sas driver version to 18.100.00.00. Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com Reviewed-by: Martin K. Petersen martin.peter...@oracle.com --- drivers/scsi/mpt2sas/mpt2sas_base.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi

[PATCH v2 16/18][SCSI] mpt3sas: Added Reply Descriptor Post Queue (RDPQ) Array support

2014-09-12 Thread Sreekanth Reddy
. _base_make_ioc_operational() Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com Reviewed-by: Martin K. Petersen martin.peter...@oracle.com --- drivers/scsi/mpt3sas/mpt3sas_base.c | 232 +++- drivers/scsi/mpt3sas/mpt3sas_base.h | 20 +++- 2 files changed, 191

[PATCH v2 13/18][SCSI] mpt3sas: MPI2.5 Rev H (2.5.3) specifications

2014-09-12 Thread Sreekanth Reddy
, or the SAS Enclosure Device Status Change Event when host based discovery is enabled. 7) Bit 13 of the SAS IO Unit Page 1 ControlFlags field is now obsolete. It was used to enable limiting direct attached SATA maximum link rate to 1.5 Gbps. Signed-off-by: Sreekanth Reddy sreekanth.re

[PATCH v2 17/18][SCSI] mpt3sas: Bump mpt3sas driver version to 04.100.00.00

2014-09-12 Thread Sreekanth Reddy
Bump mpt3sas driver version to 04.100.00.00. Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com Reviewed-by: Martin K. Petersen martin.peter...@oracle.com --- drivers/scsi/mpt3sas/mpt3sas_base.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi

[PATCH v2 12/18][SCSI] mpt3sas: Bump mpt3sas driver version to 03.100.00.00

2014-09-12 Thread Sreekanth Reddy
Bump mpt3sas driver version to 03.100.00.00. Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com Reviewed-by: Martin K. Petersen martin.peter...@oracle.com --- drivers/scsi/mpt3sas/mpt3sas_base.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi

[PATCH v2 15/18][SCSI] mpt3sas: Added OEM branding Strings

2014-09-12 Thread Sreekanth Reddy
0x8086 0x3524 Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com Reviewed-by: Martin K. Petersen martin.peter...@oracle.com --- drivers/scsi/mpt3sas/mpt3sas_base.c | 49 + drivers/scsi/mpt3sas/mpt3sas_base.h | 18

[PATCH v2 18/18][SCSI] mpt3sas, mpt2sas: fix scsi_add_host error handling problems in _scsih_probe

2014-09-12 Thread Sreekanth Reddy
errors. Signed-off-by: Robert Elliott elli...@hp.com Acked-by: Sreekanth Reddy sreekanth.re...@avagotech.com --- drivers/scsi/mpt2sas/mpt2sas_scsih.c | 8 ++-- drivers/scsi/mpt3sas/mpt3sas_scsih.c | 9 ++--- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/drivers/scsi/mpt2sas

[PATCH v2 08/18][SCSI] mpt2sas: Get IOC_FACTS information using handshake protocol only after HBA card gets into READY or Operational state.

2014-09-12 Thread Sreekanth Reddy
would be issued. 3.If IOC is in reset state then driver will wait for 10 seconds to exit out of reset state. If the HBA continues to be in reset state, then the HBA wouldn't be claimed by the driver. Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com Reviewed-by: Martin K. Petersen

[PATCH v2 05/18][SCSI] mpt2sas: Bump mpt2sas driver version to 17.100.00.00

2014-09-12 Thread Sreekanth Reddy
Bump mpt2sas driver version to 17.100.00.00 Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com Reviewed-by: Martin K. Petersen martin.peter...@oracle.com --- drivers/scsi/mpt2sas/mpt2sas_base.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/mpt2sas

[PATCH v2 01/18][SCSI] mpt2sas: Added driver module parameter max_msix_vectors

2014-09-12 Thread Sreekanth Reddy
parameters. Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com Reviewed-by: Martin K. Petersen martin.peter...@oracle.com --- drivers/scsi/mpt2sas/mpt2sas_base.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.c b/drivers/scsi/mpt2sas

[PATCH v2 06/18][SCSI] mpt2sas: Avoid type casting for direct I/O commands

2014-09-12 Thread Sreekanth Reddy
and replace the LBA field in the MPI request CDB. Signed-off-by: Martin K. Petersen martin.peter...@oracle.com Tested-by: Sreekanth Reddy sreekanth.re...@avagotech.com --- drivers/scsi/mpt2sas/mpt2sas_scsih.c | 117 --- 1 file changed, 40 insertions(+), 77 deletions

[PATCH v2 11/18][SCSI] mpt3sas: Clear PFA Status on SGPIO when PFA Drive is Removed or Replaced

2014-09-12 Thread Sreekanth Reddy
an SEP message to turn off the respective Predictive Failure LED. Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com Reviewed-by: Martin K. Petersen martin.peter...@oracle.com --- drivers/scsi/mpt3sas/mpt3sas_base.h | 5 ++- drivers/scsi/mpt3sas/mpt3sas_scsih.c | 67

[PATCH v2 07/18][SCSI] mpt2sas: Added Reply Descriptor Post Queue (RDPQ) Array support

2014-09-12 Thread Sreekanth Reddy
. _base_make_ioc_operational() Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com Reviewed-by: Martin K. Petersen martin.peter...@oracle.com --- drivers/scsi/mpt2sas/mpt2sas_base.c | 240 +++- drivers/scsi/mpt2sas/mpt2sas_base.h | 20 ++- 2 files changed, 199 insertions

[PATCH v2 10/18][SCSI] mpt3sas: MPI2.5 Rev G (2.5.2) specifications

2014-09-12 Thread Sreekanth Reddy
Below is the change set in MPI2.5 Rev G specification and 2.00.31 header files 1) Added SCSIStatusQualifier to SCSI IO Error Reply message. 2) Added ATA Security Freeze Lock to IO Unit Page 1 Flags field. 3) Added Allow Protection Information bit for IR Volume Create. Signed-off-by: Sreekanth

[PATCH][SCSI] mpt2sas: fix undefined reference to `__udivdi3' compilation errors

2014-09-19 Thread Sreekanth Reddy
errors. Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com --- drivers/scsi/mpt2sas/mpt2sas_scsih.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/mpt2sas/mpt2sas_scsih.c b/drivers/scsi/mpt2sas/mpt2sas_scsih.c index 992a224..c80ed04 100644

Re: next-20140925 build: 1 failures 106 warnings (next-20140925)

2014-09-26 Thread Sreekanth Reddy
Hi Mark, Can you please let me known whether you are observing these warning messages even after inclusion of below patch http://git.infradead.org/users/hch/scsi-queue.git/commitdiff/f78f694c34ae6fdc29f5e80abb2dbb894f961772 Regards, Sreekanth On Thu, Sep 25, 2014 at 9:16 PM, Christoph Hellwig

[PATCH 08/22] [SCSI] mpt2sas, mpt3sas: Update Attribution Language to Avago

2014-11-19 Thread Sreekanth Reddy
Copyright, Trademark Confidentiality legal statements throughout source code changed from LSI to Avago. Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com --- drivers/scsi/mpt2sas/mpt2sas_base.c | 3 ++- drivers/scsi/mpt2sas/mpt2sas_base.h | 5 +++-- drivers/scsi

[PATCH 07/22] [SCSI] mpt2sas: Complete the SCSI command with DID_RESET status for log_info value 0x0x32010081

2014-11-19 Thread Sreekanth Reddy
For any SCSI command, if the driver receives IOC status = SCSI_IOC_TERMINATED and log info = 0x32010081 then that command will be completed with DID_RESET host status. Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com --- drivers/scsi/mpt2sas/mpt2sas_scsih.c | 4 1 file changed

[PATCH 09/22] [SCSI] mpt2sas, mpt3sas: Added a support to set cpu affinity for each MSIX vector enabled by the HBA

2014-11-19 Thread Sreekanth Reddy
time. 2. At the driver unload time, call this same API to release the cpu affinity mask for each MSIx vector by providing the NULL value in cpumask argument. Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com --- drivers/scsi/mpt2sas/mpt2sas_base.c | 11 +++ drivers/scsi

[PATCH 17/22] [SCSI] mpt3sas: Bump mpt3sas Driver version to v5.100.00.00

2014-11-19 Thread Sreekanth Reddy
Bump mpt3sas Driver version to v5.100.00.00 Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com --- drivers/scsi/mpt3sas/mpt3sas_base.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.h b/drivers/scsi/mpt3sas/mpt3sas_base.h

[PATCH 01/22] [SCSI] mpt2sas: MPI2 Rev AA (2.00.19) specifications

2014-11-19 Thread Sreekanth Reddy
-by: Sreekanth Reddy sreekanth.re...@avagotech.com --- drivers/scsi/mpt2sas/mpi/mpi2.h | 4 +++- drivers/scsi/mpt2sas/mpi/mpi2_cnfg.h | 38 +--- drivers/scsi/mpt2sas/mpi/mpi2_ioc.h | 4 +++- drivers/scsi/mpt2sas/mpi/mpi2_tool.h | 6 -- 4 files changed, 41

[PATCH 15/22] [SCSI] mpt3sas: MPI 2.5 Rev I (2.5.4) specifications.

2014-11-19 Thread Sreekanth Reddy
image to HashImageType. Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com --- drivers/scsi/mpt3sas/mpi/mpi2.h | 6 -- drivers/scsi/mpt3sas/mpi/mpi2_cnfg.h | 27 +-- drivers/scsi/mpt3sas/mpi/mpi2_ioc.h | 4 +++- 3 files changed, 28 insertions(+), 9

[PATCH 10/22] [SCSI] mpt2sas: Bump driver version to 20.100.00.00

2014-11-19 Thread Sreekanth Reddy
Bump mpt2sas driver version to 20.100.00.00. Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com --- drivers/scsi/mpt2sas/mpt2sas_base.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.h b/drivers/scsi/mpt2sas/mpt2sas_base.h

[PATCH 04/22] [SCSI] mpt2sas: Bump driver version to 19.100.00.00

2014-11-19 Thread Sreekanth Reddy
Bump driver version to 19.100.00.00. Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com --- drivers/scsi/mpt2sas/mpt2sas_base.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.h b/drivers/scsi/mpt2sas/mpt2sas_base.h index

[PATCH 12/22] mpt3sas: Get IOC_FACTS information using handshake protocol only after HBA card gets into READY or Operational state.

2014-11-19 Thread Sreekanth Reddy
would be issued. 3.If IOC is in reset state then driver will wait for 10 seconds to exit out of reset state. If the HBA continues to be in reset state, then the HBA wouldn't be claimed by the driver. Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com --- drivers/scsi/mpt3sas

[PATCH 16/22] [SCSI] mpt3sas: Provides the physical location of sas drives

2014-11-19 Thread Sreekanth Reddy
. This information can be used by the user to identify the location of the desired drive in the topology. Driver will get these information by reading the sas device page0. Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com --- drivers/scsi/mpt3sas/mpt3sas_base.h | 2 + drivers/scsi

[PATCH 02/22] [SCSI] mpt2sas, mpt3sas: Added support to log message when Temperature Threshold exceeds for any Sensor

2014-11-19 Thread Sreekanth Reddy
the sensor number, the maximum threshold number it has exceed and the current temperature of this sensor. Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com --- drivers/scsi/mpt2sas/mpt2sas_base.c | 7 +++ drivers/scsi/mpt2sas/mpt2sas_base.h | 6 ++ drivers/scsi/mpt2sas

[PATCH 06/22] [SCSI] mpt2sas, mpt3sas: Removing uppper boundary restriction for the module parameter max_sgl_entries

2014-11-19 Thread Sreekanth Reddy
whenever the user sets the max_sgl_entries to a value greater than SCSI_MAX_SG_SEGMENTS to warn about the kernel definition overriding. Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com --- drivers/scsi/mpt2sas/mpt2sas_base.c | 9 ++--- drivers/scsi/mpt3sas/mpt3sas_base.c | 5 - 2

[PATCH 14/22] [SCSI] mpt2sas, mpt3sas: Remove redundancy code while freeing the controller resources.

2014-11-19 Thread Sreekanth Reddy
Removed the redundancy code while freeing the controller resources. Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com --- drivers/scsi/mpt2sas/mpt2sas_base.c | 49 ++- drivers/scsi/mpt3sas/mpt3sas_base.c | 57 + 2 files

[PATCH 22/22] [SCSI] mpt3sas: Bump mpt3sas driver version to v6.100.00.00

2014-11-19 Thread Sreekanth Reddy
Bump mpt3sas driver version to v6.100.00.00. Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com --- drivers/scsi/mpt3sas/mpt3sas_base.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.h b/drivers/scsi/mpt3sas/mpt3sas_base.h

[PATCH 20/22] [SCSI] mpt3sas: Add branding string support for OEM's HBA

2014-11-19 Thread Sreekanth Reddy
Added the following Dell branding to the mpt3sas driver. VendorID DeviceID SubsystemVendor ID SubsystemDevice ID Dell Branding String 0x10000x0097 0x1028 0x1F46DELL 12Gbps HBA Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com

[PATCH 21/22] mpt3sas: Add branding string support for OEM custom HBA

2014-11-19 Thread Sreekanth Reddy
Add the following OEM's branding to the mpt3sas driver. VendorID DeviceID SubsystemVendor ID SubsystemDevice ID Cisco Branding String 0x1000 0x97 SVID = 0x1137 0x014C Cisco 9300-8E 12G SAS HBA Signed-off-by: Sreekanth Reddy sreekanth.re

[PATCH 00/22] mpt2sas, mpt3sas: SAS2 Phase 19,20 and SAS3 Phase 4,5 patches

2014-11-19 Thread Sreekanth Reddy
Enclosure level, Enclosure address, Slot number etc, - Displaying OEM's HBA branding String, - MPI file's update, - Some driver fixes. Sreekanth Reddy (22): [SCSI] mpt2sas: MPI2 Rev AA (2.00.19) specifications [SCSI] mpt2sas, mpt3sas: Added support to log message when Temperature Threshold

[PATCH 19/22] [SCSI] mpt3sas: MPI 2.5 Rev J (2.5.5) specification and 2.00.34 header files

2014-11-19 Thread Sreekanth Reddy
Following is the change set, 1. Added more defines for the BiosOptions field of MPI2_CONFIG_PAGE_BIOS_1. 2. Added MPI2_TOOLBOX_CLEAN_BIT26_PRODUCT_SPECIFIC definition. Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com --- drivers/scsi/mpt3sas/mpi/mpi2.h | 5 +++-- drivers/scsi

[PATCH 05/22] [SCSI] mpt2sas: MPI2 Rev BB (2.00.20) specification and 2.00.35 header files

2014-11-19 Thread Sreekanth Reddy
Change List in this MPI2 specification, 1. Added SSUTimeout field to MPI2_CONFIG_PAGE_BIOS_1, and more defines for the BiosOptions field. Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com --- drivers/scsi/mpt2sas/mpi/mpi2.h | 5 +++-- drivers/scsi/mpt2sas/mpi/mpi2_cnfg.h

[PATCH 03/22] [PATCH] mpt2sas, mpt3sas: Fail the host reset initiated due to discovery related I/O timeouts at driver load time

2014-11-19 Thread Sreekanth Reddy
for discovery related I/O timeout. Instead it would return Failure for the host reset resulting in the flaky disk getting removed by the SCSI Mid layer, so other disks would be added correctly. Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com --- drivers/scsi/mpt2sas/mpt2sas_scsih.c | 9

[PATCH 13/22] [SCSI] mpt3sas: Added module parameter 'unblock_io' to unblock IO's during disk addition

2014-11-19 Thread Sreekanth Reddy
parameter 'unblock_io' is introduced which needs to be set to have this functionality enabled. By default this functionality is disabled. Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com --- drivers/scsi/mpt3sas/mpt3sas_base.h | 4 +- drivers/scsi/mpt3sas/mpt3sas_scsih.c

Re: [PATCH] scsi: mpt2sas: Fix spelling.

2014-11-20 Thread Sreekanth Reddy
Hi, Please consider this patch as Acked-by: Sreekanth Reddy sreekanth.re...@avagotech.com. Regards, Sreekanth. On Fri, Nov 7, 2014 at 6:20 AM, Alex Pilon alp+li...@alexpilon.ca wrote: Fix 'ioctl' spelling. Signed-off-by: Alex Pilon alp+li...@alexpilon.ca --- drivers/scsi/mpt2sas

RE: [PATCH 0/2] mpt{2,3}sas remove disconnected phys on topology change

2014-12-02 Thread Sreekanth Reddy
with actually connected phys. Without these patches, disconnected phys remain listed under their former ports. tested on both mpt2sas and mpt3sas hw. CC: Nagalakshmi Nandigama nagalakshmi.nandig...@lsi.com CC: Sreekanth Reddy sreekanth.re...@lsi.com CC: Tomas Henzl the...@redhat.com Signed-off-by: Jan

Re: [PATCH 0/2] mpt{2,3}sas remove disconnected phys on topology change

2014-12-02 Thread Sreekanth Reddy
3520f9c779' and 'git revert 963ba22b90' will create the patches for you. Cheers, Tomas On 12/02/2014 02:18 PM, Sreekanth Reddy wrote: Hi James/Chris We are observing below issue due to this patch set code changes Issue Description: Drives connected Enclosure/Expander won't be visible

[PATCH 2/2] Revert [SCSI] mpt3sas: Remove phys on topology change

2014-12-02 Thread Sreekanth Reddy
and add expander cable with in DMD (Device Missing Delay) time period or even any one power-off and power-on the Enclosure with in the DMD period. Cc: sta...@vger.kernel.org Cc: Tomas Henzl the...@redhat.com Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com --- drivers/scsi/mpt3sas

[PATCH 1/2] Revert [SCSI] mpt2sas: Remove phys on topology change.

2014-12-02 Thread Sreekanth Reddy
and add expander cable with in DMD (Device Missing Delay) time period or even any one power-off and power-on the Enclosure with in the DMD period. Cc: sta...@vger.kernel.org Cc: Tomas Henzl the...@redhat.com Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com --- drivers/scsi/mpt2sas

[PATCH 0/2] Revert mpt2sas, mpt3sas: remove disconnected phys on topology change

2014-12-02 Thread Sreekanth Reddy
Reverting the below commit IDs 1. [PATCH 1/2] mpt2sas: Remove phys on topology change commit ID: 3520f9c779bed098ca76dd3fb6377264301d57ed 2. [PATCH 2/2] mpt3sas: Remove phys on topology change commit ID: 963ba22b90a955363644cd397b20226928eab976 Sreekanth Reddy (2): Revert [SCSI] mpt2sas

Re: [PATCH 00/22] mpt2sas, mpt3sas: SAS2 Phase 19,20 and SAS3 Phase 4,5 patches

2014-12-03 Thread Sreekanth Reddy
Ok, Thanks Martin. On Wed, Dec 3, 2014 at 8:51 PM, Martin K. Petersen martin.peter...@oracle.com wrote: Sreekanth == Sreekanth Reddy sreekanth.re...@avagotech.com writes: Sreekanth Anyone who aware of mpt2sas/mpt3sas driver's can please Sreekanth review this patch set. It's on my todo list

[PATCH] [SCSI] mpt2sas: fix for driver fails EEH recovery from injected pci bus error

2012-12-17 Thread Sreekanth Reddy
This patch stops the driver to invoke kthread (which remove the dead ioc) for some time while EEH recovery has started. Signed-off-by: Sreekanth Reddy sreekanth.re...@lsi.com --- diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.c b/drivers/scsi/mpt2sas/mpt2sas_base.c index ffd85c5..2349531 100755

[PATCH] [SCSI] mpt2sas: Description patch

2013-01-31 Thread Sreekanth Reddy
Please consider this patch set for next kernel release. Signed-off-by: Sreekanth Reddy sreekanth.re...@lsi.com --- [PATCH 1/8] [SCSI] mpt2sas : Add support for OEM specific controller. [PATCH 2/8] [SCSI] mpt2sas : Fix for issue Missing delay not getting set during system bootup. [PATCH 3/8

[PATCH 1/8] [SCSI] mpt2sas : Add support for OEM specific controller

2013-01-31 Thread Sreekanth Reddy
Defined SSDID HW vendor brand strings. Added entries for SSDID within the function that prints the brand string. Signed-off-by: Sreekanth Reddy sreekanth.re...@lsi.com --- diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.c b/drivers/scsi/mpt2sas/mpt2sas_base.c index ffd85c5..0bb2b30 100644

[PATCH 2/8] [SCSI] mpt2sas : Fix for issue Missing delay not getting set during system bootup

2013-01-31 Thread Sreekanth Reddy
Missing delay is not getting set properly. The reason is it is not defined in the same file from where it is being invoked. The fix is to move the missing delay module parameter from mpt2sas_base.c to mpt2sas_scsh.c. Signed-off-by: Sreekanth Reddy sreekanth.re...@lsi.com --- diff --git

[PATCH 3/8] [SCSI] mpt2sas : MPI2 Rev W (2.00.15) specification

2013-01-31 Thread Sreekanth Reddy
in the SGL. Signed-off-by: Sreekanth Reddy sreekanth.re...@lsi.com --- diff --git a/drivers/scsi/mpt2sas/mpi/mpi2.h b/drivers/scsi/mpt2sas/mpi/mpi2.h index e960f96..31b5b15 100644 --- a/drivers/scsi/mpt2sas/mpi/mpi2.h +++ b/drivers/scsi/mpt2sas/mpi/mpi2.h @@ -8,7 +8,7

[PATCH 4/8] [SCSI] mpt2sas : Update the timing requirements for issuing a Hard Reset as per the MPI spec

2013-01-31 Thread Sreekanth Reddy
Updated the mpt2sas driver code that issues hard reset to comply with the timing requirements mentioned in MPI specifications rev V. Signed-off-by: Sreekanth Reddy sreekanth.re...@lsi.com --- diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.c b/drivers/scsi/mpt2sas/mpt2sas_base.c index ce89b14

[PATCH 5/8] [SCSI] mpt2sas : Fix for device scan following host reset could get stuck in a infinite loop

2013-01-31 Thread Sreekanth Reddy
Modified device scan routine so each configuration page read breaks from the while loop when the ioc_status is not equal to MPI2_IOCSTATUS_SUCCESS. Signed-off-by: Sreekanth Reddy sreekanth.re...@lsi.com --- diff --git a/drivers/scsi/mpt2sas/mpt2sas_scsih.c b/drivers/scsi/mpt2sas

[PATCH 6/8] [SCSI] mpt2sas : When SCSI command is received with task atrribute not set, set it to SIMPLE

2013-01-31 Thread Sreekanth Reddy
When SCSI command is received with task attribute not set, set it to SIMPLE. Previously it is set to untagged. This causes the firmware to fail the commands. Signed-off-by: Sreekanth Reddy sreekanth.re...@lsi.com --- diff --git a/drivers/scsi/mpt2sas/mpt2sas_scsih.c b/drivers/scsi/mpt2sas

[PATCH 7/8] [SCSI] mpt2sas : Calulate the Reply post queue depth calculation as per the MPI spec

2013-01-31 Thread Sreekanth Reddy
Reply post queue depth calculation is not as per the MPI spec. So, Modified the mpt2sas driver code to calculate the Reply post queue depth is as per the MPI spec. Signed-off-by: Sreekanth Reddy sreekanth.re...@lsi.com --- diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.c b/drivers/scsi

[PATCH 8/8] [SCSI] mpt2sas : Bump driver vesion to v15.100.00.00

2013-01-31 Thread Sreekanth Reddy
Bump mpt2sas driver version to v15.100.00.00 Signed-off-by: Sreekanth Reddy sreekanth.re...@lsi.com --- diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.h b/drivers/scsi/mpt2sas/mpt2sas_base.h index ee7a030..e97f9d5 100644 --- a/drivers/scsi/mpt2sas/mpt2sas_base.h +++ b/drivers/scsi/mpt2sas

[RESEND][PATCH 2/8][SCSI] mpt2sas : Fix for issue Missing delay not getting set during system bootup

2013-02-01 Thread Sreekanth Reddy
Missing delay is not getting set properly. The reason is it is not defined in the same file from where it is being invoked. The fix is to move the missing delay module parameter from mpt2sas_base.c to mpt2sas_scsh.c. Signed-off-by: Sreekanth Reddy sreekanth.re...@lsi.com Cc: sta

[RESEND][PATCH 5/8][SCSI] mpt2sas : Fix for device scan following host reset could get stuck in a infinite loop

2013-02-01 Thread Sreekanth Reddy
Modified device scan routine so each configuration page read breaks from the while loop when the ioc_status is not equal to MPI2_IOCSTATUS_SUCCESS. Signed-off-by: Sreekanth Reddy sreekanth.re...@lsi.com Cc: sta...@vger.kernel.org --- diff --git a/drivers/scsi/mpt2sas/mpt2sas_scsih.c b/drivers

[RESEND][PATCH 6/8][SCSI] mpt2sas : When SCSI command is received with task atrribute not set, set it to SIMPLE

2013-02-01 Thread Sreekanth Reddy
When SCSI command is received with task attribute not set, set it to SIMPLE. Previously it is set to untagged. This causes the firmware to fail the commands. Signed-off-by: Sreekanth Reddy sreekanth.re...@lsi.com Cc: sta...@vger.kernel.org --- diff --git a/drivers/scsi/mpt2sas/mpt2sas_scsih.c b

  1   2   3   4   5   >