[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 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 Reviewed-by: Martin K. Petersen --- drivers/scsi/mpt2sas

[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 Reviewed-by: Martin K. Petersen --- drivers/scsi/mpt2sas/mpt2sas_base.c | 240 +++- drivers/scsi/mpt2sas/mpt2sas_base.h | 20 ++- 2 files changed, 199 insertions(+), 61 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 Reviewed-by: Martin K. Petersen --- 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/mpt2sas_base.c index 2f262be..982703a 100644 --- a/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 Reviewed-by: Martin K. Petersen --- 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 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 Reviewed-by: Martin K

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

2014-09-12 Thread Sreekanth Reddy
0x8086 0x3524 Signed-off-by: Sreekanth Reddy Reviewed-by: Martin K. Petersen --- drivers/scsi/mpt3sas/mpt3sas_base.c | 49 + drivers/scsi/mpt3sas/mpt3sas_base.h | 18 ++ 2 files changed, 67 insertions(+) diff --git

[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 Acked-by: Sreekanth Reddy --- 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/mpt2sas_scsih.c b/drivers/scsi/mpt2sas

[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 Reviewed-by: Martin K. Petersen --- drivers/scsi/mpt3sas/mpt3sas_base.h | 5 ++- drivers/scsi/mpt3sas/mpt3sas_scsih.c | 67 ++-- 2 files changed, 61 insertions(+), 11

[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 Reviewed-by: Martin K. Petersen --- 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 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 Reviewed-by: Martin K. Petersen --- 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 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 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 Reviewed-by: Martin K. Petersen --- 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 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 Reviewed-by: Martin K. Petersen --- drivers/scsi/mpt3sas/Kconfig| 2 +- drivers/scsi/mpt3sas/mpi/mpi2.h | 2 +- drivers/scsi/mpt3sas/mpi/mpi2_cnfg.h| 2 +- drivers/scsi

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

2014-09-12 Thread Sreekanth Reddy
the SEP message to turn off the respective Predictive Failure LED. Signed-off-by: Sreekanth Reddy Reviewed-by: Martin K. Petersen --- drivers/scsi/mpt2sas/mpt2sas_base.h | 2 ++ drivers/scsi/mpt2sas/mpt2sas_scsih.c | 70 +++- 2 files changed, 63 insertions(+), 9

[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 Reviewed-by: Martin K. Petersen --- drivers/scsi/mpt2sas/Kconfig | 2 +- drivers/scsi/mpt2sas/mpt2sas_base.c | 2 +- drivers/scsi/mpt2sas/mpt2sas_base.h | 2 +- drivers/scsi/mpt2sas

[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 Reviewed-by: Martin K. Petersen --- drivers/scsi/mpt3sas/mpt3sas_base.c | 232 +++- drivers/scsi/mpt3sas/mpt3sas_base.h | 20 +++- 2 files changed, 191 insertions(+), 61 deletions(-) diff --git a/drivers/scsi

[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 Tested-by: Sreekanth Reddy --- drivers/scsi/mpt2sas/mpt2sas_scsih.c | 117 --- 1 file changed, 40 insertions(+), 77 deletions(-) diff --git a/drivers/scsi/mpt2sas/mpt2sas_scsih.c b

[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 Reviewed

[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 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 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 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 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 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 v2 04/18][SCSI] mpt2sas: Clear PFA Status on SGPIO when PFA Drive is Removed or Replaced

2014-09-12 Thread Sreekanth Reddy
the 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/mpt2sas/mpt2sas_base.h | 2 ++ drivers/scsi/mpt2sas/mpt2sas_scsih.c | 70

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

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 Reviewed-by: Martin K. Petersen --- drivers/scsi/mpt2sas

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 Reviewed-by: Martin K. Petersen --- drivers/scsi/mpt2sas/mpt2sas_base.c | 236 +++- drivers/scsi/mpt2sas/mpt2sas_base.h | 20 ++- 2 files changed, 196 insertions(+), 60 deletions(-) diff --git a/drivers/scsi/mpt2sas

[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 Reviewed-by: Martin K. Petersen --- drivers/scsi/mpt3sas/mpt3sas_base.c | 229 +++- drivers/scsi/mpt3sas/mpt3sas_base.h | 20 +++- 2 files changed, 189 insertions(+), 60 deletions(-) diff --git a/drivers/scsi

[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 Reviewed-by: Martin K

[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 Reviewed-by: Martin K. Petersen --- drivers/scsi/mpt3sas/mpt3sas_base.c | 229 +++- drivers/scsi/mpt3sas/mpt3sas_base.h | 20 +++- 2 files changed, 189 insertions(+), 60 deletions(-) diff --git a/drivers/scsi

[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 Reviewed-by: Martin K. Petersen --- drivers/scsi/mpt3sas/Kconfig| 2 +- drivers/scsi/mpt3sas/mpi/mpi2.h | 2 +- drivers/scsi/mpt3sas/mpi/mpi2_cnfg.h| 2 +- 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 Reviewed-by: Martin K. Petersen --- drivers/scsi/mpt3sas/mpt3sas_base.h | 5 ++- drivers/scsi/mpt3sas/mpt3sas_scsih.c | 67 ++-- 2 files changed, 61 insertions(+), 11

[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 Reviewed-by: Martin K. Petersen --- 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 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

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

2014-08-23 Thread Sreekanth Reddy
Bump mpt3sas driver version to 04.100.00.00. Signed-off-by: Sreekanth Reddy Reviewed-by: Martin K. Petersen --- 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 v1 6/8][SCSI] mpt3sas: Added OEM branding Strings

2014-08-23 Thread Sreekanth Reddy
0x8086 0x3524 Signed-off-by: Sreekanth Reddy Reviewed-by: Martin K. Petersen --- drivers/scsi/mpt3sas/mpt3sas_base.c | 49 + drivers/scsi/mpt3sas/mpt3sas_base.h | 18 ++ 2 files changed, 67 insertions(+) diff --git

[PATCH v1 0/8][SCSI] mpt3sas: Phase2 and Phase3 mpt3sas driver patch set

2014-08-23 Thread Sreekanth Reddy
Just resending the complete Phase2 and Phase3 mpt3sas driver patch set Reviewed by the Martin K. Petersen. This will make easy for Christoph to pick up this patch set for next kernel release. Thanks Martin for reviewing this patch set and helping me for tuning this patch set. Sreekanth Reddy

[PATCH v1 0/8][SCSI] mpt3sas: Phase2 and Phase3 mpt3sas driver patch set

2014-08-23 Thread Sreekanth Reddy
Just resending the complete Phase2 and Phase3 mpt3sas driver patch set Reviewed by the Martin K. Petersen. This will make easy for Christoph to pick up this patch set for next kernel release. Thanks Martin for reviewing this patch set and helping me for tuning this patch set. Sreekanth Reddy

[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

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

2014-08-23 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 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 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 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 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 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

[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

[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

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 wrote: >>>>>> "Sreekanth" == Sreekanth Reddy writes: > > Sreekanth>

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

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

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: How to get the number of VFs assigned to the guests in XEN

2014-08-20 Thread Sreekanth Reddy
Thanks Alex, Then, Is there any other ways to stop accidental unload of PF driver while still some VFs are accessing by the running VMs. Regards, Sreekanth On Wed, Aug 20, 2014 at 6:16 PM, Alex Williamson wrote: > On Wed, 2014-08-20 at 16:39 +0530, Sreekanth Reddy wrote: >> HI, >&g

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

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-20 Thread Sreekanth Reddy
Thanks Alex, Then, Is there any other ways to stop accidental unload of PF driver while still some VFs are accessing by the running VMs. Regards, Sreekanth On Wed, Aug 20, 2014 at 6:16 PM, Alex Williamson alex.william...@redhat.com wrote: On Wed, 2014-08-20 at 16:39 +0530, Sreekanth Reddy

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 wrote: >>>>>> "Sreekanth" == Reddy, Sreekanth writes: > > Sreekanth> Bump mpt2sas driver

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 wrote: >>>>>> "Sreekanth" == Reddy, Sreekanth writes: > > Sreekanth> Bump mpt3sas driver version to 04

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

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 --- drivers/scsi/mpt3sas/mpt3sas_base.c | 231 +++- drivers/scsi/mpt3sas/mpt3sas_base.h | 18 ++- 2 files changed, 189 insertions(+), 60 deletions(-) diff --git

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 --- drivers/scsi/mpt2sas/mpt2sas_base.c | 65

[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 --- drivers/scsi/mpt2sas/mpt2sas_base.c | 233 +++- drivers/scsi/mpt2sas/mpt2sas_base.h | 18 ++- 2 files changed, 193 insertions(+), 58 deletions(-) diff --git

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

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 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 wrote: > Hi Martin, > > Please let me known any further changes are required so that I

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

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 --- 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/mpt2sas_base.c @@ -92,6 +92,22

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-07-25 Thread Sreekanth Reddy
this change may affect on any other things or not? Signed-off-by: Sreekanth Reddy 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/mpt2sas_base.c @@ -1186,7

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-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 diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.c b/drivers/scsi

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: [PATCH] scsi: mpt3sas: mpt3sas_transport.c: Cleaning up uninitialized variables

2014-06-25 Thread Sreekanth Reddy
Hi James, This Patch seem to be fine. Please consider this patch as Acked-by: Sreekanth Reddy Regards, Sreekanth >-Original Message- >From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi- >ow...@vger.kernel.org] On Behalf Of Rickard Strandqvist >Sent: Sunday, June 01,

RE: [PATCH] scsi: mpt3sas: mpt3sas_transport.c: Cleaning up uninitialized variables

2014-06-25 Thread Sreekanth Reddy
Hi James, This Patch seem to be fine. Please consider this patch 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 Rickard Strandqvist Sent

[PATCH] enclosure : fix sysfs link remove warning

2013-09-19 Thread Sreekanth Reddy
Remove the enclosure link only when cdev->cdev.kobj.sd is not NULL. Fixes: WARNING: at fs/sysfs/inode.c:324 sysfs_hash_and_remove+0x92/0xa0() Call Trace: [] warn_slowpath_common+0x72/0xa0 [] ? sysfs_hash_and_remove+0x92/0xa0 [] ? sysfs_hash_and_remove+0x92/0xa0 []

[PATCH] enclosure : fix sysfs link remove warning

2013-09-19 Thread Sreekanth Reddy
Remove the enclosure link only when cdev-cdev.kobj.sd is not NULL. Fixes: WARNING: at fs/sysfs/inode.c:324 sysfs_hash_and_remove+0x92/0xa0() Call Trace: [c044bbf2] warn_slowpath_common+0x72/0xa0 [c05b2d12] ? sysfs_hash_and_remove+0x92/0xa0 [c05b2d12] ? sysfs_hash_and_remove+0x92/0xa0

<    1   2   3   4   5   6