[PATCH -next] [SCSI] mpt3sas: remove unused variables

2012-12-11 Thread sreekanth.reddy
The variable 'chain_flags' and 'phy_number' are initialized but never used otherwise, So remove those unused variables. Signed-off-by: Wei Yongjun Acked-by: Sreekanth Reddy --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.c b/drivers/scsi/mpt3sas/mpt3sas_base.c index 764f3fe..157746d 100644

[v2 PATCH 20/20][SCSI] mpt3sas: Adding support for MPT3SAS_MINOR(222)

2012-11-29 Thread sreekanth.reddy
Adding support for MPT3SAS_MINOR(222) Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/include/linux/miscdevice.h b/include/linux/miscdevice.h index 0549d211..9c9ba04 100644 --- a/include/linux/miscdevice.h +++ b/include/linux/miscdevice.h @@ -34,6 +34,7 @@ #d

[v2 PATCH 19/20][SCSI] mpt3sas: Common API headers to set Diagnostic trigger for MPT based controllers

2012-11-29 Thread sreekanth.reddy
This patch provides common API headers to set Diagnostic trigger for MPT (Message Passing Technology) based controllers Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_trigger_diag.h b/drivers/scsi/mpt3sas/mpt3sas_trigger_diag.h n

[v2 PATCH 18/20][SCSI] mpt3sas: Common API to set Diagnostic trigger for MPT based controllers

2012-11-29 Thread sreekanth.reddy
This patch provides common API to set Diagnostic trigger for MPT (Message Passing Technology) based controllers Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_trigger_diag.c b/drivers/scsi/mpt3sas/mpt3sas_trigger_diag.c new file

[v2 PATCH 13/20][SCSI] mpt3sas: Logging Support for MPT based controllers

2012-11-29 Thread sreekanth.reddy
This patch provides Logging Support for MPT (Message Passing Technology) based controllers Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_debug.h b/drivers/scsi/mpt3sas/mpt3sas_debug.h new file mode 100644 index 000..ce70b87

[v2 PATCH 12/20][SCSI] mpt3sas: Ioctl Module Support for MPT based controllers

2012-11-29 Thread sreekanth.reddy
This patch provides headers for ioctl Module Support for MPT (Message Passing Technology) based controllers Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_ctl.h b/drivers/scsi/mpt3sas/mpt3sas_ctl.h new file mode 100644 index 000

[v2 PATCH 10/20][SCSI] mpt3sas: Common API for accessing firmware configuration pages

2012-11-29 Thread sreekanth.reddy
This patch provides common API for accessing firmware configuration pages Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_config.c b/drivers/scsi/mpt3sas/mpt3sas_config.c new file mode 100644 index 000..ce7e59b --- /dev/null +

[v2 PATCH 9/20][SCSI] mpt3sas: Common API layer interface headers for access to MPT firmware.

2012-11-29 Thread sreekanth.reddy
This patch contains the Fusion MPT base driver providing common API layer interface headers for access to MPT (Message Passing Technology) firmware. Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.h b/drivers/scsi/mpt3sas/mp

[v2 PATCH 6/20][SCSI] mpt3sas: Part 5 of MPI API headers

2012-11-29 Thread sreekanth.reddy
This patch contains MPI API headers This patch is part 5 of MPI API headers. Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/mpt3sas/mpi/mpi2_raid.h b/drivers/scsi/mpt3sas/mpi/mpi2_raid.h new file mode 100644 index 000..d1d9866 --- /dev/null

[v2 PATCH 2/20][SCSI] mpt3sas: Part 1 of MPI API headers

2012-11-29 Thread sreekanth.reddy
This patch contains MPI API headers This patch is part 1 of MPI API headers. Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/mpt3sas/mpi/mpi2.h b/drivers/scsi/mpt3sas/mpi/mpi2.h new file mode 100644 index 000..03317ff --- /dev/null +++ b/drive

[v2 PATCH 1/20][SCSI] mpt3sas: Makefile, Kconfig and scsi_transport_sas file changes to support new driver mpt3sas

2012-11-29 Thread sreekanth.reddy
This patch contains the Makefile, Kconfig and scsi_transport_sas file changes to support new driver mpt3sas Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig index e955978..49244f8 100644 --- a/drivers/scsi/Kconfig ++

[v2 PATCH 0/20][SCSI] mpt3sas: Driver submission v01.100.01.00

2012-11-29 Thread sreekanth.reddy
This is new scsi lld device driver from LSI supporting the SAS 3.0 standard. Here is list of new 12gb host controllers: LSI SAS3004 LSI SAS3008 LSI SAS3108 Here are the changes in the 2nd posting of this patch set: (1) Fix compile errors when SCSI_MPT3SAS_LOGGING is not enabled. (2) Set

[PATCH] MAINTAINERS : update LSILOGIC MPT FUSION DRIVERS (FC/SAS/SPI) maintainers

2012-10-09 Thread sreekanth.reddy
Updating the MAINTAINERS file for the entry LSILOGIC MPT FUSION DRIVERS Signed-off-by: Sreekanth Reddy --- diff --git a/MAINTAINERS b/MAINTAINERS index 14bc707..de4a3a8 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4282,13 +4282,16 @@ S: Maintained F: fs/logfs/ LSILOGIC MPT FUSION

[RESEND][PATCH 20/20][SCSI] mpt3sas: Adding support for MPT3SAS_MINOR(222)

2012-09-29 Thread sreekanth.reddy
Adding support for MPT3SAS_MINOR(222) Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/include/linux/miscdevice.h b/include/linux/miscdevice.h index 0549d211..9c9ba04 100644 --- a/include/linux/miscdevice.h +++ b/include/linux/miscdevice.h @@ -34,6 +34,7 @@ #d

[RESEND][PATCH 19/20][SCSI] mpt3sas: Common API headers to set Diagnostic trigger for MPT based controllers

2012-09-29 Thread sreekanth.reddy
This patch provides common API headers to set Diagnostic trigger for MPT (Message Passing Technology) based controllers Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_trigger_diag.h b/drivers/scsi/mpt3sas/mpt3sas_trigger_diag.h n

[RESEND][PATCH 18/20][SCSI] mpt3sas: Common API to set Diagnostic trigger for MPT based controllers

2012-09-29 Thread sreekanth.reddy
This patch provides common API to set Diagnostic trigger for MPT (Message Passing Technology) based controllers Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_trigger_diag.c b/drivers/scsi/mpt3sas/mpt3sas_trigger_diag.c new file

[RESEND][PATCH 13/20][SCSI] mpt3sas: Logging Support for MPT based controllers

2012-09-29 Thread sreekanth.reddy
This patch provides Logging Support for MPT (Message Passing Technology) based controllers Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_debug.h b/drivers/scsi/mpt3sas/mpt3sas_debug.h new file mode 100644 index 000..ce70b87

[RESEND][PATCH 12/20][SCSI] mpt3sas: Ioctl Module Support for MPT based controllers

2012-09-29 Thread sreekanth.reddy
This patch provides headers for ioctl Module Support for MPT (Message Passing Technology) based controllers Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_ctl.h b/drivers/scsi/mpt3sas/mpt3sas_ctl.h new file mode 100644 index 000

[RESEND][PATCH 10/20][SCSI] mpt3sas: Common API for accessing firmware configuration pages

2012-09-29 Thread sreekanth.reddy
This patch provides common API for accessing firmware configuration pages Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_config.c b/drivers/scsi/mpt3sas/mpt3sas_config.c new file mode 100644 index 000..ce7e59b --- /dev/null +

[RESEND][PATCH 9/20][SCSI] mpt3sas: Common API layer interface headers for access to MPT firmware.

2012-09-29 Thread sreekanth.reddy
This patch contains the Fusion MPT base driver providing common API layer interface headers for access to MPT (Message Passing Technology) firmware. Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.h b/drivers/scsi/mpt3sas/mp

[RESEND][PATCH 6/20][SCSI] mpt3sas: Part 5 of MPI API headers

2012-09-29 Thread sreekanth.reddy
This patch contains MPI API headers This patch is part 5 of MPI API headers. Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/mpt3sas/mpi/mpi2_raid.h b/drivers/scsi/mpt3sas/mpi/mpi2_raid.h new file mode 100644 index 000..d1d9866 --- /dev/null +

[RESEND][PATCH 2/20][SCSI] mpt3sas: Paer 1 of MPI API headers

2012-09-29 Thread sreekanth.reddy
This patch contains MPI API headers This patch is part 1 of MPI API headers. Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/mpt3sas/mpi/mpi2.h b/drivers/scsi/mpt3sas/mpi/mpi2.h new file mode 100644 index 000..03317ff --- /dev/null +++ b/drive

[RESEND][PATCH 1/20][SCSI] mpt3sas: Makefile, Kconfig and scsi_transport_sas file changes to support new driver mpt3sas

2012-09-29 Thread sreekanth.reddy
This patch contains the Makefile, Kconfig and scsi_transport_sas file changes to support new driver mpt3sas Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig index e955978..49244f8 100644 --- a/drivers/scsi/Kconfig ++

[RESEND][PATCH 0/20][SCSI] mpt3sas: Driver submission v01.100.00.00

2012-09-29 Thread sreekanth.reddy
This is new scsi lld device driver from LSI supporting the SAS 3.0 standard. Here is list of new 12gb host controllers: LSI SAS3004 LSI SAS3008 LSI SAS3108 Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- Here is the brief description of patches: [PATCH 01/20] [SCSI]

[PATCH][SCSI] mpt3sas: Adding support for MPT3SAS_MINOR(222)

2012-09-29 Thread sreekanth.reddy
Adding support for MPT3SAS_MINOR(222) Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/include/linux/miscdevice.h b/include/linux/miscdevice.h index 0549d211..9c9ba04 100644 --- a/include/linux/miscdevice.h +++ b/include/linux/miscdevice.h @@ -34,6 +34,7 @@ #d

[PATCH][SCSI] mpt3sas: Common API headers to set Diagnostic trigger for MPT based controllers

2012-09-29 Thread sreekanth.reddy
This patch provides common API headers to set Diagnostic trigger for MPT (Message Passing Technology) based controllers Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_trigger_diag.h b/drivers/scsi/mpt3sas/mpt3sas_trigger_diag.h n

[PATCH][SCSI] mpt3sas: Common API to set Diagnostic trigger for MPT based controllers

2012-09-29 Thread sreekanth.reddy
This patch provides common API to set Diagnostic trigger for MPT (Message Passing Technology) based controllers Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_trigger_diag.c b/drivers/scsi/mpt3sas/mpt3sas_trigger_diag.c new file

[PATCH][SCSI] mpt3sas: Logging Support for MPT based controllers

2012-09-29 Thread sreekanth.reddy
This patch provides Logging Support for MPT (Message Passing Technology) based controllers Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_debug.h b/drivers/scsi/mpt3sas/mpt3sas_debug.h new file mode 100644 index 000..ce70b87

[PATCH][SCSI] mpt3sas: Ioctl Module Support for MPT based controllers

2012-09-29 Thread sreekanth.reddy
This patch provides headers for ioctl Module Support for MPT (Message Passing Technology) based controllers Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_ctl.h b/drivers/scsi/mpt3sas/mpt3sas_ctl.h new file mode 100644 index 000

[PATCH][SCSI] mpt3sas: Common API for accessing firmware configuration pages

2012-09-29 Thread sreekanth.reddy
This patch provides common API for accessing firmware configuration pages Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_config.c b/drivers/scsi/mpt3sas/mpt3sas_config.c new file mode 100644 index 000..ce7e59b --- /dev/null +

[PATCH][SCSI] mpt3sas: Common API layer interface headers for access to MPT firmware.

2012-09-29 Thread sreekanth.reddy
This patch contains the Fusion MPT base driver providing common API layer interface headers for access to MPT (Message Passing Technology) firmware. Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.h b/drivers/scsi/mpt3sas/mp

[PATCH][SCSI] mpt3sas: Part 5 of MPI API headers

2012-09-29 Thread sreekanth.reddy
This patch contains MPI API headers This patch is part 5 of MPI API headers. Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/mpt3sas/mpi/mpi2_raid.h b/drivers/scsi/mpt3sas/mpi/mpi2_raid.h new file mode 100644 index 000..d1d9866 --- /dev/null +

[PATCH][SCSI] mpt3sas: Paer 1 of MPI API headers

2012-09-29 Thread sreekanth.reddy
This patch contains MPI API headers This patch is part 1 of MPI API headers. Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/mpt3sas/mpi/mpi2.h b/drivers/scsi/mpt3sas/mpi/mpi2.h new file mode 100644 index 000..03317ff --- /dev/null +++ b/drive

[PATCH][SCSI] mpt3sas: Makefile, Kconfig and scsi_transport_sas file changes to support new driver mpt3sas

2012-09-29 Thread sreekanth.reddy
This patch contains the Makefile, Kconfig and scsi_transport_sas file changes to support new driver mpt3sas Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig index e955978..49244f8 100644 --- a/drivers/scsi/Kconfig ++

[PATCH][SCSI] mpt3sas: Driver submission v01.100.00.00

2012-09-29 Thread sreekanth.reddy
This is new scsi lld device driver from LSI supporting the SAS 3.0 standard. Here is list of new 12gb host controllers: LSI SAS3004 LSI SAS3008 LSI SAS3108 Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- Here is the brief description of patches: [PATCH 01/20] [SCSI]

[PATCH][SCSI] mpt3sas: linux/miscdevice.h

2012-09-24 Thread sreekanth.reddy
Adding support for MPT3SAS_MINOR(222) Signed-off-by: Sreekanth Reddy --- diff --git a/include/linux/miscdevice.h b/include/linux/miscdevice.h index 0549d211..9c9ba04 100644 --- a/include/linux/miscdevice.h +++ b/include/linux/miscdevice.h @@ -34,6 +34,7 @@ #define MWAVE_MINOR219

[RESEND][PATCH][SCSI] mpt2sas: Fix for issue - Unable to boot from the drive connected to HBA

2012-08-22 Thread sreekanth.reddy
Fix for issue - Unable to boot from the SAS drive connected to HBA This patch checks whether HBA is SAS2008 B0 controller. if it is a SAS2008 B0 controller then it use IO-APIC interrupt instead of MSIX, as SAS2008 B0 controller doesn't support MSIX interrupts. Signed-off-by: Sreekanth Reddy Cc:

[RESEND][PATCH][SCSI] mpt2sas: Fix for issue - Unable to boot from the SAS drive connected to HBA

2012-08-21 Thread sreekanth.reddy
Fix for issue - Unable to boot from the SAS drive connected to HBA This patch checks whether HBA is SAS2008 B0 controller. if it is a SAS2008 B0 controller then it use IO-APIC interrupt instead of MSIX, as SAS2008 B0 controller doesn't support MSIX interrupts. Signed-off-by: Sreekanth Reddy Cc:

[RESEND] [PATCH] [SCSI] mptfusion: Fix for issue - The device is removed in blocked state

2012-07-19 Thread sreekanth.reddy
Fix for issue - The device is removed in blocked state. The device is set to blocked state when I/Os running and the cable is pulled. Also if the device missing delay timer is started. When the device missing delay timer expires, the device is removed but the device state is not set to unblocked s

Fix for issue - The device is removed in blocked state

2012-07-19 Thread sreekanth.reddy
Fix for issue - The device is removed in blocked state. The device is set to blocked state when I/Os running and the cable is pulled. Also if the device missing delay timer is started. When the device missing delay timer expires, the device is removed but the device state is not set to unblocked s

[PATCH 03/09] [SCSI] mpt2sas : Fix for Driver oops, when loading driver with max_queue_depth command line option to a very small value

2012-07-17 Thread sreekanth.reddy
If the specified max_queue_depth setting is less than the expected number of internal commands, then driver will calculate the queue depth size to a negitive number. This negitive number is actually a very large number because variable is unsigned 16bit integer. So, the driver will ask for a very l

[PATCH 09/09] [SCSI] mpt2sas : Bump driver vesion to 14.100.00.00

2012-07-17 Thread sreekanth.reddy
Bump driver version to 14.100.00.00 Signed-off-by: Sreekanth Reddy --- diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.h b/drivers/scsi/mpt2sas/mpt2sas_base.h index dd05d24..e7e517a 100644 --- a/drivers/scsi/mpt2sas/mpt2sas_base.h +++ b/drivers/scsi/mpt2sas/mpt2sas_base.h @@ -69,8 +69,8 @@ #def

[PATCH 08/09] [SCSI] mpt2sas : Fix for With post diag reset same set of device gets added, removed and then again gets added with new target ids

2012-07-17 Thread sreekanth.reddy
When device discovery is disabled during driver load time using module parameter "disable_discovery=1" and when diag reset is issued then from logs, it is observed that the devices get added, removed and then added with new target ids. So, inorder to limit this turn-off the code which is deleting

[PATCH 06/09] [SCSI] mpt2sas : MPI next revision header update

2012-07-17 Thread sreekanth.reddy
MPI 2.0 Rev V(2.0.14) specification Changeset in MPI 2.0 Rev V(2.0.14) specification 1) Bumped MPI2_HEADER_VERSION_UNIT. 2) Added a product specific range to event values. 3) Added clarification to Direct-Attached SAS PHY Power condition. 4) Updated timing r

[PATCH 07/09] [SCSI] mpt2sas : Fix for staged device discovery functionality of driver not working

2012-07-17 Thread sreekanth.reddy
This patch provides a command line option to disable "Port enable" during the driver load. The objective of this command line option is to load the driver and do all the necessary initialization excluding port enable(i.e. delay device discovery) Signed-off-by: Sreekanth Reddy --- diff --git a/d

[PATCH 05/09] [SCSI] mpt2sas : Fix for max_sectors warning message is stating the incorrect range

2012-07-17 Thread sreekanth.reddy
When specifying the command line option "max_sectors" less than 64, then warning message should provide correct upper boundary value 32767 instead of 8192. Signed-off-by: Sreekanth Reddy --- diff --git a/drivers/scsi/mpt2sas/mpt2sas_scsih.c b/drivers/scsi/mpt2sas/mpt2sas_scsih.c index 0f4f971..

[PATCH 04/09] [SCSI] mpt2sas : Provide sysfs attribute to report Backup Rail Monitor Status

2012-07-17 Thread sreekanth.reddy
A new sysfs shost attribute called "BMR_status" is implemented to report Backup Rail Monitor status. This attribute is located in the path /sys/class/scsi_host/host#/BMR_status when reading this adapter attribute, then driver will output the state of GPIO[24]. It returns "0" if BMR is hea

[PATCH 02/09] [SCSI] mpt2sas : To include more Intel Branding

2012-07-17 Thread sreekanth.reddy
Updating the customer branding string for "SSD 910 Series" controller Signed-off-by: Sreekanth Reddy --- diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.c b/drivers/scsi/mpt2sas/mpt2sas_base.c index e68deff..ffa32ad 100644 --- a/drivers/scsi/mpt2sas/mpt2sas_base.c +++ b/drivers/scsi/mpt2sas/mpt2

[PATCH 01/09] [SCSI] mpt2sas : 2012 source code copyright

2012-07-17 Thread sreekanth.reddy
2012 source code copyright - The Copyright String in all the drivers sources were changed to 2012 Signed-off-by: Sreekanth Reddy --- diff --git a/drivers/scsi/mpt2sas/Kconfig b/drivers/scsi/mpt2sas/Kconfig index bbb7e4b..39f08dd 100644 --- a/drivers/scsi/mpt2sas/Kconfig +++ b/drivers/sc

[PATCH] [scsi] mpt2sas: Description Patch

2012-07-17 Thread sreekanth.reddy
Please consider this patch set for next kernel release. Signed-off-by: Sreekanth Reddy --- [PATCH 01/09] [SCSI] mpt2sas : 2012 source code copyright. [PATCH 02/09] [SCSI] mpt2sas : To include more Intel Branding. [PATCH 03/09] [SCSI] mpt2sas : Fix for Driver oops, when loading driver with max_q