[PATCH 02/18] mpt3sas : Added mpt2sas driver definitions

2015-09-30 Thread Sreekanth Reddy
1. Added mpt2sas driver related macro's in mpt3sas header files 2. Made scsi host's, raid class's, pci's, ioctl's call back functions as a gobal API's, so that both the drivers can use these call back functions. Signed-off-by: Sreekanth Reddy --- drivers/scsi

[PATCH 07/18] mpt2sas, mpt3sas : Removed SCSI_MPTXSAS_LOGGING entry from Kconfig

2015-09-30 Thread Sreekanth Reddy
mpletely enable this logging option (by removing the #ifdef CONFIG_SCSI_MPT3SAS_LOGGING preprocessor check conditions), so that all the functions which are defined to display more verbos will also get compiled. Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt2sas/Kconfig | 6 -

[PATCH 08/18] mpt3sas: For an IO, build MPI SGL LIST on GEN2 HBA's and build IEEE SGL LIST on GEN3 HBA's

2015-09-30 Thread Sreekanth Reddy
Gen2 HBA's uses MPI Scatter Gather Lists where as Gen3 HBA's uses IEEE Scatter Gather Lists. So modify the common code part in such a way that it will build IEEE SGL table for Gen3 HBA's and it will build MPI SGL table for Gen2 HBA's. Signed-off-by: Sreekanth Reddy ---

[PATCH 09/18] mpt3as: Don't send PHYDISK_HIDDEN Raid Action request on SAS2 HBA's

2015-09-30 Thread Sreekanth Reddy
Don't send PHYDISK_HIDDEN Raid Action request for SAS2 HBA's. Since these HBA's doesn't support this Raid Action. Also enable fast_path only for SAS3 HBA's. Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/mpt3sas_scsih.c | 19 +-- 1 file cha

[PATCH 03/18] mpt3sas: Move Gen3 HBA's device registration with PCI, SML and IOCTL related API's to a separate file

2015-09-30 Thread Sreekanth Reddy
1. Created a mpt3sas_module.c files for mpt3sas driver module, where it can register SAS3 HBA devices with PCI, SML, IOCTL subsystems. Also removed the correspanding API's from mpt3sas_scsih.c file. Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/Makefile | 3 +- drivers

[PATCH 10/18] mpt3sas: Manage MSIX vectors according to HBA device type

2015-09-30 Thread Sreekanth Reddy
for only Gen3 Invader/Fury C0 and above revision HBA's 4. Enable Combined Reply Post Queue Support (i.e. 96 MSI-X vector) for all Intruder and Cutlass HBA's Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/mpt3sas_base.c | 39 +++-

[PATCH 04/18] mpt2sas: Created mpt2sas_module.c file in which Gen2 HBA's are registers with PCI, SML and IOCTLs

2015-09-30 Thread Sreekanth Reddy
of code from mpt3sas driver which are not required for mpt2sas driver. 4. Inherited Automatic diag buffer feature from mpt3sas driver. Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt2sas/Makefile | 14 +- drivers/scsi/mpt2sas/mpt2sas_module.c | 280

[PATCH 12/18] mpt3sas : Ported WarpDrive product SSS6200 support

2015-09-30 Thread Sreekanth Reddy
_IOCTL_INTERFACE_SAS2_SSS6200 for Warp Drive MPT2_IOCTL_INTERFACE_SAS2 for other Gen2 HBA's Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt2sas/mpt2sas_warpdrive.c | 338 +++ drivers/scsi/mpt3sas/mpt3sas_base.c | 68 ++- drivers/scsi/mpt3sas/mp

[PATCH 11/18] mpt3sas: fix for driver fails EEH, recovery from injected pci bus error

2015-09-30 Thread Sreekanth Reddy
ed pci bus error")' Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/mpt3sas_base.c | 19 ++- drivers/scsi/mpt3sas/mpt3sas_base.h | 1 + 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.c b/drivers/scsi/mpt3sas/mpt3sas_

[PATCH 06/18] mpt3sas: Define 'hba_mpi_version_belonged' IOC variable

2015-09-30 Thread Sreekanth Reddy
1. Use 'hba_mpi_version_belonged' IOC varable to uniquely identify each individual generation driver functionality at runtime. 2. Declared global variable 'driver_name' and used this variable while reserving PCI regions and while allocating the IRQ's. Signed-off-by: Sree

[PATCH 13/18] mpt3sas: Ported the providing sysfs attribute to report Backup Rail Monitor Status

2015-09-30 Thread Sreekanth Reddy
rted form below mpt2sas driver patch 'commit 6c265660c26267754a02063642ae042d469b4ef9 ("mpt2sas: Provide sysfs attribute to report Backup Rail Monitor Status") Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/mpt3sas_base.h | 4 ++ drivers/scsi/mpt3sas/mpt3sas_config.c

[PATCH 15/18] mpt3sas: Refcount fw_events and fix unsafe list usage

2015-09-30 Thread Sreekanth Reddy
#x27; Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/mpt3sas_scsih.c | 116 --- 1 file changed, 94 insertions(+), 22 deletions(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_scsih.c b/drivers/scsi/mpt3sas/mpt3sas_scsih.c index 5dbf214..436e65e 10064

[PATCH 14/18] mpt3sas: Refcount sas_device objects and fix unsafe list usage

2015-09-30 Thread Sreekanth Reddy
es on mpt3sas driver also. 'commit d224fe0d609734888af63656ddaf3a8352f0a7b5 ("mpt2sas: Refcount sas_device objects and fix unsafe list usage")' Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/mpt3sas_base.h | 24 +- drivers/scsi/mpt3sas/

[PATCH 16/18] mpt3sas: Added OEMs Gen2 PnP ID Branding names

2015-09-30 Thread Sreekanth Reddy
Added OEMs Gen2 PnP ID Branding names from mpt2sas driver. Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/mpt3sas_base.c | 326 drivers/scsi/mpt3sas/mpt3sas_base.h | 93 +- 2 files changed, 305 insertions(+), 114 deletions(-) diff --git a

[PATCH 17/18] mpt3sas: setpci reset kernel oops fix

2015-09-30 Thread Sreekanth Reddy
patch is ported from below mpt2sas driver patch, 'commit 6229b414b3adb3aac0b54e67d72d6462fc230c0d ("mpt2sas: setpci reset kernel oops fix") Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/mpt3sas_base.c | 6 ++ drivers/scsi/mpt3sas/mpt3sas_base.h | 20 +++

[PATCH 18/18] mpt2sas, mpt3sas: Update the driver versions

2015-09-30 Thread Sreekanth Reddy
Bump the mpt2sas driver version to 20.102.00.00 and Bump the mpt3sas driver version to 9.101.00.00. Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/mpt3sas_base.h | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.h b

[PATCH 00/18] mpt2sas, mpt3sas: Combine mpt2sas and mpt3sas driver code base

2015-09-30 Thread Sreekanth Reddy
Combined mpt2sas and mpt3sas driver code base in such a way that still we can generate the two driver modules (i.e. mpt2sas.ko for SAS2 HBA's & mpt3sas.ko for SAS3 HBA's) individualy. Sreekanth Reddy (18): mpt2sas: Use mpi headers from mpt3sas mpt3sas : Added mpt2sas driv

Re: [PATCH-v2 1/2] mpt3sas: Refcount sas_device objects and fix unsafe list usage

2015-09-08 Thread Sreekanth Reddy
safe way. > > This patch is a port of Calvin's PATCH-v4 for mpt2sas code, atop > mpt3sas changes in scsi.git/for-next. > > Cc: Calvin Owens > Cc: Christoph Hellwig > Cc: Sreekanth Reddy > Cc: MPT-FusionLinux.pdl > Signed-off-by: Nicholas Bellinger > --- >

Re: [PATCH v4] mpt2sas: setpci reset kernel oops fix

2015-09-04 Thread Sreekanth Reddy
\n", logging_level); >> + spin_lock(&gioc_lock); >> list_for_each_entry(ioc, &mpt2sas_ioc_list, list) >> ioc->logging_level = logging_level; >> + spin_unlock(&gioc_lock); >> return 0; >> } >> module_param_call(logging_level, _scsih_set_debug_level, param_get_int, >> @@ -7867,7 +7870,9 @@ _scsih_remove(struct pci_dev *pdev) >> sas_remove_host(shost); >> scsi_remove_host(shost); >> mpt2sas_base_detach(ioc); >> + spin_lock(&gioc_lock); >> list_del(&ioc->list); >> + spin_unlock(&gioc_lock); >> scsi_host_put(shost); >> } >> >> @@ -8142,7 +8147,9 @@ _scsih_probe(struct pci_dev *pdev, const struct >> pci_device_id *id) >> ioc = shost_priv(shost); >> memset(ioc, 0, sizeof(struct MPT2SAS_ADAPTER)); >> INIT_LIST_HEAD(&ioc->list); >> + spin_lock(&gioc_lock); >> list_add_tail(&ioc->list, &mpt2sas_ioc_list); >> + spin_unlock(&gioc_lock); >> ioc->shost = shost; >> ioc->id = mpt_ids++; >> sprintf(ioc->name, "%s%d", MPT2SAS_DRIVER_NAME, ioc->id); >> @@ -8167,6 +8174,8 @@ _scsih_probe(struct pci_dev *pdev, const struct >> pci_device_id *id) >> ioc->schedule_dead_ioc_flush_running_cmds = &_scsih_flush_running_cmds; >> /* misc semaphores and spin locks */ >> mutex_init(&ioc->reset_in_progress_mutex); >> + /* initializing pci_access_mutex lock */ >> + mutex_init(&ioc->pci_access_mutex); >> spin_lock_init(&ioc->ioc_reset_in_progress_lock); >> spin_lock_init(&ioc->scsi_lookup_lock); >> spin_lock_init(&ioc->sas_device_lock); >> @@ -8269,7 +8278,9 @@ _scsih_probe(struct pci_dev *pdev, const struct >> pci_device_id *id) >> out_attach_fail: >> destroy_workqueue(ioc->firmware_event_thread); >> out_thread_fail: >> + spin_lock(&gioc_lock); >> list_del(&ioc->list); >> + spin_unlock(&gioc_lock); >> scsi_host_put(shost); >> return rv; >> } > > > Reviewed-by: Johannes Thumshirn ACK-by: Sreekanth Reddy > > -- -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v4 2/2] mpt2sas: Refcount fw_events and fix unsafe list usage

2015-09-04 Thread Sreekanth Reddy
s over the list without holding the lock, since > _firmware_event_work() concurrently deletes items from the list. > > Cc: Christoph Hellwig > Signed-off-by: Calvin Owens Tested-by: Chaitra Basappa ACK-by: Sreekanth Reddy > --- > Changes in v4: None > > Changes in v3: &

Re: [PATCH v4 1/2] mpt2sas: Refcount sas_device objects and fix unsafe list usage

2015-09-04 Thread Sreekanth Reddy
c: Bart Van Assche > Cc: Joe Lawrence > Signed-off-by: Calvin Owens Tested-by: Chaitra Basappa ACK-by: Sreekanth Reddy > --- > Changes in v4: > * Fix lack of put() in non-SATA case in _scsih_change_queue_depth() > * Fix lack of put() in the non-error case i

Re: [PATCH scsi] mpt3sas: mpt3sas_base_unmap_resources can be static

2015-08-27 Thread Sreekanth Reddy
Hi, Please consider this patch as Ack-by: Sreekanth Reddy Thanks, Sreekanth On Fri, Aug 28, 2015 at 6:50 AM, kbuild test robot wrote: > > Signed-off-by: Fengguang Wu > --- > mpt3sas_base.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a

Re: [PATCH 0/2] mpt3sas: Reference counting fixes from in-flight mpt2sas

2015-08-27 Thread Sreekanth Reddy
Ok James, by 9/4/2015 we will provide our feedback over this patch series. Thanks, Sreekanth On Thu, Aug 27, 2015 at 8:10 PM, James Bottomley wrote: > On Thu, 2015-08-27 at 10:37 +0530, Sreekanth Reddy wrote: >> HI Nicholas & Calvin, >> >> Thanks for the patchset. Sure

Re: [PATCH 0/2] mpt3sas: Reference counting fixes from in-flight mpt2sas

2015-08-26 Thread Sreekanth Reddy
HI Nicholas & Calvin, Thanks for the patchset. Sure We will review and we do some unit testing on this patch series. Currently my bandwidth is occupied with some internal activity, so by end of next week I will acknowledge this series if all the thing are fine with this patch series. Thanks, Sree

Re: [PATCH v3 1/2] mpt2sas: Refcount sas_device objects and fix unsafe list usage

2015-08-10 Thread Sreekanth Reddy
On Sat, Aug 1, 2015 at 10:32 AM, Calvin Owens wrote: > These objects can be referenced concurrently throughout the driver, we > need a way to make sure threads can't delete them out from under each > other. This patch adds the refcount, and refactors the code to use it. > > Additionally, we cannot

Re: [PATCH 1/2] mpt2sas: Refcount sas_device objects and fix unsafe list usage

2015-07-16 Thread Sreekanth Reddy
On Sun, Jul 12, 2015 at 9:54 AM, Calvin Owens wrote: > These objects can be referenced concurrently throughout the driver, we > need a way to make sure threads can't delete them out from under each > other. This patch adds the refcount, and refactors the code to use it. > > Additionally, we cannot

Re: [PATCH v3] [SCSI] mpt2sas, mpt3sas: Abort initialization if no memory I/O resources detected

2015-07-14 Thread Sreekanth Reddy
On Tue, Jul 14, 2015 at 10:36:58PM -0700, Yinghai Lu wrote: > On Tue, Jul 14, 2015 at 9:49 PM, Sreekanth Reddy > wrote: > > Driver crashes if the BIOS do not set up at least one > > memory I/O resource. This failure can happen if the device is too > > slow to respond duri

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

2015-07-14 Thread Sreekanth Reddy
Updating maintainers list for the entry LSILOGIC MPT FUSION DRIVERS in MAINTAINERS file Signed-off-by: Sreekanth Reddy --- MAINTAINERS | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 2d3d55c..c3cd5c9 100644 --- a/MAINTAINERS +++ b

[PATCH v3] [SCSI] mpt2sas, mpt3sas: Abort initialization if no memory I/O resources detected

2015-07-14 Thread Sreekanth Reddy
redundancy Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt2sas/mpt2sas_base.c | 16 +--- drivers/scsi/mpt3sas/mpt3sas_base.c | 16 +--- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.c b/drivers/scsi/mpt2sas

[PATCH v2 05/20] [SCSI] mpt3sas: MPI 2.5 Rev I (2.5.4) specifications.

2015-06-30 Thread Sreekanth Reddy
image to HashImageType. Changes in v2: Patch version change only. Signed-off-by: Sreekanth Reddy Reviewed-by: Martin K. Petersen Reviewed-by: Johannes Thumshirn --- drivers/scsi/mpt3sas/mpi/mpi2.h | 6 -- drivers/scsi/mpt3sas/mpi/mpi2_cnfg.h | 27

[PATCH v2 01/20] [SCSI] mpt3sas: Added Combined Reply Queue feature to extend up-to 96 MSIX vector support

2015-06-30 Thread Sreekanth Reddy
ever required. Signed-off-by: Sreekanth Reddy Reviewed-by: Martin K. Petersen Reviewed-by: Johannes Thumshirn --- drivers/scsi/mpt3sas/mpt3sas_base.c | 93 + drivers/scsi/mpt3sas/mpt3sas_base.h | 14 +- 2 files changed, 98 insertions(+), 9 deletions(-)

[PATCH v2 15/20] [SCSI] mpt3sas: Return host busy error status to SML when DMA mapping of scatter gather list fails for a SCSI command

2015-06-30 Thread Sreekanth Reddy
when DMA mapping of scatter gather list fails for a SCSI command. So that SML will retry this SCSI cmd after some time. Changes in v2: Corrected the typo mistake from "(!sges_left < 0)" to "(sges_left < 0)". Signed-off-by: Sreekanth Reddy Reviewed-by: Martin K.

[PATCH v2 06/20] [SCSI] mpt3sas: Provides the physical location of sas drives

2015-06-30 Thread Sreekanth Reddy
y if CONFIG_SCSI_MPT3SAS_LOGGING flag is disabled. Signed-off-by: Sreekanth Reddy Reviewed-by: Martin K. Petersen Reviewed-by: Johannes Thumshirn --- drivers/scsi/mpt3sas/mpt3sas_base.h | 2 + drivers/scsi/mpt3sas/mpt3sas_scsih.c | 240 +-- 2 files changed, 203 insert

[PATCH v2 14/20] [SCSI] mpt3sas: Complete the SCSI command with DID_RESET status for log_info value 0x0x32010081

2015-06-30 Thread Sreekanth Reddy
_FAILED_RETRY for magic a value 0x32010081 Changes in v2: Patch version change only. Signed-off-by: Sreekanth Reddy Reviewed-by: Martin K. Petersen Reviewed-by: Johannes Thumshirn --- drivers/scsi/mpt3sas/mpt3sas_base.h | 2 ++ drivers/scsi/mpt3sas/mpt3sas_scsih.c | 3 +++ 2 files chang

[PATCH v2 11/20] [SCSI] mpt3sas: Add branding string support for OEM custom HBA

2015-06-30 Thread Sreekanth Reddy
nges in v2: Patch version change only. Signed-off-by: Sreekanth Reddy Reviewed-by: Martin K. Petersen --- drivers/scsi/mpt3sas/mpt3sas_base.c | 34 ++ drivers/scsi/mpt3sas/mpt3sas_base.h | 11 +++ 2 files changed, 45 insertions(+) diff --git a/d

[PATCH v2 09/20] [SCSI] mpt3sas: MPI 2.5 Rev J (2.5.5) specification and 2.00.34 header files

2015-06-30 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. Changes in v2: Patch version change only. Signed-off-by: Sreekanth Reddy Reviewed-by: Martin K. Petersen Reviewed-by

[PATCH v2 16/20] [SCSI] mpt3sas: Added support for customer specific branding

2015-06-30 Thread Sreekanth Reddy
HBA 0x1000 0x97 0x1137 0x155 Cisco 12G Modular SAS Pass through Controller 0x1000 0x97 0x1137 0x156 UCS C3X60 12G SAS Pass through Controller Changes in v2: Patch version change only. Signed-off-by: Sreekanth Reddy

[PATCH v2 12/20] [SCSI] mpt3sas: Bump mpt3sas driver version to v6.100.00.00

2015-06-30 Thread Sreekanth Reddy
Bump mpt3sas driver version to v6.100.00.00. Changes in v2: Patch version change only. Signed-off-by: Sreekanth Reddy Reviewed-by: Martin K. Petersen Reviewed-by: Johannes Thumshirn --- drivers/scsi/mpt3sas/mpt3sas_base.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

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

2015-06-30 Thread Sreekanth Reddy
Patch version change only. Signed-off-by: Sreekanth Reddy Reviewed-by: Martin K. Petersen Reviewed-by: Johannes Thumshirn --- drivers/scsi/mpt3sas/mpt3sas_base.c | 36 drivers/scsi/mpt3sas/mpt3sas_base.h | 11 +++ 2 files changed, 47 insertio

[PATCH v2 13/20] [SCSI] mpt3sas: MPI 2.5 Rev K (2.5.6) specifications

2015-06-30 Thread Sreekanth Reddy
Product Name String Format bits to the BiosOptions field Changes in v2: Patch version change only. Signed-off-by: Sreekanth Reddy Reviewed-by: Martin K. Petersen Reviewed-by: Johannes Thumshirn --- drivers/scsi/mpt3sas/mpi/mpi2.h | 5 +++-- drivers/scsi/mpt3sas/mpi/mpi2_cnfg.h | 17

[PATCH v2 04/20] [SCSI] mpt3sas: Remove redundancy code while freeing the controller resources.

2015-06-30 Thread Sreekanth Reddy
Removed the redundancy code while freeing the controller resources. Changes in v2: Patch version change only. Signed-off-by: Sreekanth Reddy Reviewed-by: Martin K. Petersen Reviewed-by: Johannes Thumshirn --- drivers/scsi/mpt3sas/mpt3sas_base.c | 57

[PATCH v2 17/20] [SCSI] mpt3sas: Use alloc_ordered_workqueue() API instead of create_singlethread_workqueue() API

2015-06-29 Thread Sreekanth Reddy
use create_singlethread_workqueue() API if alloc_ordered_workqueue() API is not defined, This else section is not required since in the latest upstream kernel this alloc_ordered_workqueue() API is always defined. Changes in v2: Patch version change only. Signed-off-by: Sreekanth Reddy

[PATCH v2 20/20] [SCSI] mpt3sas : Bump mpt3sas driver version to 9.100.00.00

2015-06-29 Thread Sreekanth Reddy
Bump mpt3sas driver version to 9.100.00.00 Changes in v2: Patch version change only. Signed-off-by: Sreekanth Reddy Reviewed-by: Martin K. Petersen Reviewed-by: Johannes Thumshirn --- drivers/scsi/mpt3sas/mpt3sas_base.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[PATCH v2 19/20] [SCSI] mpt3sas: When device is blocked followed by unblock fails, unfreeze the I/Os

2015-06-29 Thread Sreekanth Reddy
anges in v2: Patch version change only. Signed-off-by: Sreekanth Reddy Reviewed-by: Johannes Thumshirn --- drivers/scsi/mpt3sas/mpt3sas_scsih.c | 89 ++-- 1 file changed, 75 insertions(+), 14 deletions(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_scsih

[PATCH v2 18/20] [SCSI] mpt3sas: Call dma_mapping_error() API after mapping an address with dma_map_single() API

2015-06-29 Thread Sreekanth Reddy
change only. Signed-off-by: Sreekanth Reddy Reviewed-by: Martin K. Petersen Reviewed-by: Johannes Thumshirn --- drivers/scsi/mpt3sas/mpt3sas_transport.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_transport.c b/drivers/scsi/mpt3sas

[PATCH v2 08/20] [SCSI] mpt3sas: Update MPI2 strings to MPI2.5

2015-06-29 Thread Sreekanth Reddy
Update MPI2 strings to MPI2.5. Changes in v2: Patch version change only. Signed-off-by: Sreekanth Reddy Reviewed-by: Martin K. Petersen Reviewed-by: Johannes Thumshirn --- drivers/scsi/mpt3sas/mpt3sas_base.c | 3 +-- drivers/scsi/mpt3sas/mpt3sas_base.h | 1 - 2 files changed, 1

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

2015-06-29 Thread Sreekanth Reddy
ction _base_wait_for_iocstate(). Changes in v2: Patch version change only. Signed-off-by: Sreekanth Reddy Reviewed-by: Martin K. Petersen Reviewed-by: Tomas Henzl --- drivers/scsi/mpt3sas/mpt3sas_base.c | 68 + 1 file changed, 68 insertions(+) diff --git a/drivers

[PATCH v2 07/20] [SCSI] mpt3sas: Bump mpt3sas Driver version to v5.100.00.00

2015-06-29 Thread Sreekanth Reddy
Bump mpt3sas Driver version to v5.100.00.00 Changes in v2: Patch version change only. Signed-off-by: Sreekanth Reddy Reviewed-by: Martin K. Petersen Reviewed-by: Johannes Thumshirn --- drivers/scsi/mpt3sas/mpt3sas_base.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[PATCH v2 03/20] [SCSI] mpt3sas: Don't block the drive when drive addition under the control of SML

2015-06-29 Thread Sreekanth Reddy
g the device dicovery commands (such as Inquiry, Report LUNs etc). Changes in v2: Patch version change only. Signed-off-by: Sreekanth Reddy Reviewed-by: Martin K. Petersen --- drivers/scsi/mpt3sas/mpt3sas_base.h | 4 +++- drivers/scsi/mpt3sas/mpt3sas_scsih.c | 7

[PATCH 00/20] mpt3sas: driver update

2015-06-29 Thread Sreekanth Reddy
: Added support for customer specific branding I am posting this patch set once again by promoting all the patches to v2, so that it will be easy to pick up this patch set for next kernel release. Thanks, Sreekanth Sreekanth Reddy (20): [SCSI] mpt3sas: Added Combined Reply Queue feature to extend

Re: [PATCH v2] mpt2sas: Abort initialization if no memory I/O resources detected

2015-06-28 Thread Sreekanth Reddy
Hi Timothy, Thanks for the patch. I feel there is some code redundancy after including this patch, I mean to say is twice we are checking for (ioc->chip == NULL). So I am working on to reduce this redundancy. Soon I will post a new patch. Thanks, Sreekanth On Sun, Jun 28, 2015 at 7:00 AM, Timot

Re: [PATCH 16/20] [SCSI] mpt3sas: Added support for customer specific branding

2015-06-25 Thread Sreekanth Reddy
On Tue, Jun 23, 2015 at 2:06 AM, Martin K. Petersen wrote: > > >>>>> "Sreekanth" == Sreekanth Reddy writes: > > Sreekanth> I agree with you that these changes belong in pci.ids. But > Sreekanth> Customers are asking us to print the HBA branding name

Re: [PATCH] mpt2sas: Abort initialization if no memory I/O resources, detected

2015-06-23 Thread Sreekanth Reddy
On Tue, Jun 23, 2015 at 7:05 PM, James Bottomley wrote: > On Tue, 2015-06-23 at 18:06 +0530, Sreekanth Reddy wrote: >> Hi, >> >> Upstream contributor should not add copyright to this driver code. > > I can't agree with that as a general rule: it depends on the &g

Re: [PATCH] mpt2sas: Abort initialization if no memory I/O resources, detected

2015-06-23 Thread Sreekanth Reddy
Hi, Upstream contributor should not add copyright to this driver code. Regards, Sreekanth On Tue, Jun 23, 2015 at 9:24 AM, Joe Lawrence wrote: > > > On 06/21/2015 02:46 PM, Timothy Pearson wrote: >> On 06/16/2015 01:49 PM, Timothy Pearson wrote: >>> On 06/16/2015 12:42 PM, Joe Lawrence wrote: >

[PATCH v1 09/20] [PATCH 09/20] [SCSI] mpt3sas: MPI 2.5 Rev J (2.5.5) specification and 2.00.34 header files

2015-06-22 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 --- drivers/scsi/mpt3sas/mpi/mpi2.h | 5 +++-- drivers/scsi/mpt3sas/mpi/mpi2_cnfg.h | 14

[PATCH v2 01/20] [SCSI] mpt3sas: Added Combined Reply Queue feature to extend up-to 96 MSIX vector support

2015-06-22 Thread Sreekanth Reddy
ever required. Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/mpt3sas_base.c | 93 + drivers/scsi/mpt3sas/mpt3sas_base.h | 14 +- 2 files changed, 98 insertions(+), 9 deletions(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.c b/drivers

Re: [PATCH v1 01/20] [SCSI] mpt3sas: Added Combined Reply Queue feature to extend up-to 96 MSIX vector support

2015-06-22 Thread Sreekanth Reddy
On Fri, Jun 19, 2015 at 8:27 PM, Martin K. Petersen wrote: >>>>>> "Sreekanth" == Sreekanth Reddy writes: > > Sreekanth, > > It's fine that you outline the 96 / 12 = 8 layout in the patch > description. But that relationship is not made cle

Re: [PATCH 16/20] [SCSI] mpt3sas: Added support for customer specific branding

2015-06-22 Thread Sreekanth Reddy
On Sat, Jun 20, 2015 at 2:14 AM, Martin K. Petersen wrote: >>>>>> Sreekanth Reddy writes: > >> Added support for below customer specific brandings "VendorID" >> "DeviceID" "SubsystemVendor ID" "SubsystemDevice ID" Cisco

Re: [PATCH 09/20] [SCSI] mpt3sas: MPI 2.5 Rev J (2.5.5) specification and 2.00.34 header files

2015-06-22 Thread Sreekanth Reddy
On Sat, Jun 20, 2015 at 1:57 AM, Martin K. Petersen wrote: >>>>>> Sreekanth Reddy writes: > >> @@ -1334,9 +1336,17 @@ typedef struct _MPI2_CONFIG_PAGE_BIOS_1 { >> *PTR_MPI2_CONFIG_PAGE_BIOS_1, >> Mpi2BiosPage1_t, *pMpi2BiosPage1_t; &g

[PATCH v1 06/20] [SCSI] mpt3sas: Provides the physical location of sas drives

2015-06-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 --- drivers/scsi/mpt3sas/mpt3sas_base.h | 2 + drivers/scsi/mpt3sas/mpt3sas_scsih.c |

[PATCH v1 01/20] [SCSI] mpt3sas: Added Combined Reply Queue feature to extend up-to 96 MSIX vector support

2015-06-19 Thread Sreekanth Reddy
processing the reply post descriptor. Changes in v1: Updated the description of module parameter max_msix_vectors Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/mpt3sas_base.c | 72 - drivers/scsi/mpt3sas/mpt3sas_base.h | 7 +++- 2 files changed, 70

Re: [PATCH 06/20] [SCSI] mpt3sas: Provides the physical location of sas drives

2015-06-19 Thread Sreekanth Reddy
On Fri, Jun 19, 2015 at 2:49 PM, Johannes Thumshirn wrote: > On Fri, Jun 12, 2015 at 03:12:18PM +0530, Sreekanth Reddy wrote: >> This Patch will provide more details of the devices such as slot number, >> enclosure logical id, enclosure level & connector name in the foll

Re: [PATCH 01/20] [SCSI] mpt3sas: Added Combined Reply Queue feature to extend up-to 96 MSIX vector support

2015-06-19 Thread Sreekanth Reddy
On Fri, Jun 19, 2015 at 2:44 PM, Johannes Thumshirn wrote: > On Thu, Jun 18, 2015 at 03:27:26PM +0530, Sreekanth Reddy wrote: >> Hi, >> >> Any other review comments on this patch. please let us known if any >> changes are required. >> >> Thanks, >>

Re: [PATCH 17/20 v1] [SCSI] mpt3sas: Use alloc_ordered_workqueue() API instead of create_singlethread_workqueue() API

2015-06-18 Thread Sreekanth Reddy
On Thu, Jun 18, 2015 at 5:40 PM, Joe Lawrence wrote: > On 06/16/2015 01:37 AM, Sreekanth Reddy wrote: >> Created a thread using alloc_ordered_workqueue() API in order to process >> the works from firmware Work-queue sequentially instead of >> create_singlethread_workqueue()

Re: [PATCH 02/20] [SCSI] mpt3sas: Get IOC_FACTS information using handshake protocol only after HBA card gets into READY or Operational state.

2015-06-18 Thread Sreekanth Reddy
Hi, Any review comments on this patch. please let us known if any changes are required. Thanks, Sreekanth On Mon, Mar 30, 2015 at 7:25 PM, Sreekanth Reddy wrote: > Driver initialization fails if driver tries to send IOC facts request message > when the IOC is in reset or in a fault

Re: [PATCH 01/20] [SCSI] mpt3sas: Added Combined Reply Queue feature to extend up-to 96 MSIX vector support

2015-06-18 Thread Sreekanth Reddy
Hi, Any other review comments on this patch. please let us known if any changes are required. Thanks, Sreekanth On Fri, Jun 12, 2015 at 4:46 PM, Sreekanth Reddy wrote: > Thanks Johannes, we will take care of this point in our current > on-development mpt2sas/mpt3sas merging ac

Re: [PATCH 06/20] [SCSI] mpt3sas: Provides the physical location of sas drives

2015-06-18 Thread Sreekanth Reddy
Hi, Any other review comments on this patch. please let us known if any changes are required. Thanks, Sreekanth On Fri, Jun 12, 2015 at 3:12 PM, Sreekanth Reddy wrote: > This Patch will provide more details of the devices such as slot number, > enclosure logical id, enclosure

Re: [PATCH 11/20] [SCSI] mpt3sas: Add branding string support for OEM custom HBA

2015-06-18 Thread Sreekanth Reddy
Hi, Any review comments on this patch. please let us known if any changes are required. Thanks, Sreekanth On Fri, Jun 12, 2015 at 3:12 PM, Sreekanth Reddy wrote: > Add the following OEM's branding to the mpt3sas driver. > > "VendorID" "DeviceID" "Su

Re: [PATCH 16/20] [SCSI] mpt3sas: Added support for customer specific branding

2015-06-18 Thread Sreekanth Reddy
Hi, Any review comments on this patch. please let us known if any changes are required. Thanks, Sreekanth On Fri, Jun 12, 2015 at 3:12 PM, Sreekanth Reddy wrote: > Added support for below customer specific brandings > > "VendorID" "DeviceID" "Subsyst

Re: [PATCH 04/20] [SCSI] mpt3sas: Remove redundancy code while freeing the controller resources.

2015-06-18 Thread Sreekanth Reddy
Hi, Any other review comments on this patch. please let us known if any changes are required. Thanks, Sreekanth On Mon, Jun 15, 2015 at 4:18 PM, Johannes Thumshirn wrote: > On Mon, Jun 15, 2015 at 03:56:56PM +0530, Sreekanth Reddy wrote: >> On Fri, Jun 12, 2015 at 6:10 PM, Johannes

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

2015-06-18 Thread Sreekanth Reddy
Hi, Any review comments on this patch. please let us known if any changes are required. Thanks, Sreekanth On Mon, Jun 15, 2015 at 5:30 PM, Sreekanth Reddy wrote: > On Mon, Jun 15, 2015 at 5:23 PM, Johannes Thumshirn > wrote: >> On Mon, Jun 15, 2015 at 04:41:56PM +0530, Sreekanth

[PATCH v1 02/20] [SCSI] mpt3sas: Get IOC_FACTS information using handshake protocol only after HBA card gets into READY or Operational state.

2015-06-17 Thread Sreekanth Reddy
ction _base_wait_for_iocstate(). Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/mpt3sas_base.c | 68 + 1 file changed, 68 insertions(+) diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.c b/drivers/scsi/mpt3sas/mpt3sas_base.c index fe82092..2386e4b 100644 --- a/dr

Re: [PATCH 02/20] [SCSI] mpt3sas: Get IOC_FACTS information using handshake protocol only after HBA card gets into READY or Operational state.

2015-06-17 Thread Sreekanth Reddy
On Tue, Jun 16, 2015 at 9:29 PM, Tomas Henzl wrote: > On 06/12/2015 11:42 AM, Sreekanth Reddy wrote: >> Driver initialization fails if driver tries to send IOC facts request >> message when the IOC is in reset or in a fault state. >> >> This patch will make sure th

[PATCH 17/20 v1] [SCSI] mpt3sas: Use alloc_ordered_workqueue() API instead of create_singlethread_workqueue() API

2015-06-15 Thread Sreekanth Reddy
use create_singlethread_workqueue() API if alloc_ordered_workqueue() API is not defined, This else section is not required since in the latest upstream kernel this alloc_ordered_workqueue() API is always defined. Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/mpt3sas_scsih.c | 4

[PATCH 14/20 v1] [SCSI] mpt3sas: Complete the SCSI command with DID_RESET status for log_info value 0x0x32010081

2015-06-15 Thread Sreekanth Reddy
_FAILED_RETRY for magic a value 0x32010081 Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/mpt3sas_base.h | 2 ++ drivers/scsi/mpt3sas/mpt3sas_scsih.c | 3 +++ 2 files changed, 5 insertions(+) diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.h b/drivers/scsi/mpt3sas/mpt3sas_base.h inde

Re: [PATCH 17/20] [SCSI] mpt3sas: Use alloc_ordered_workqueue() API instead of create_singlethread_workqueue() API

2015-06-15 Thread Sreekanth Reddy
On Tue, Jun 16, 2015 at 2:35 AM, James Bottomley wrote: > On Mon, 2015-06-15 at 16:26 +0530, Sreekanth Reddy wrote: >> On Sat, Jun 13, 2015 at 2:33 AM, Joe Lawrence >> wrote: >> > On 06/12/2015 05:42 AM, Sreekanth Reddy wrote: >> > ... >> >> +#if def

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

2015-06-15 Thread Sreekanth Reddy
On Mon, Jun 15, 2015 at 5:23 PM, Johannes Thumshirn wrote: > On Mon, Jun 15, 2015 at 04:41:56PM +0530, Sreekanth Reddy wrote: >> On Mon, Jun 15, 2015 at 3:16 PM, Johannes Thumshirn >> wrote: >> > On Fri, Jun 12, 2015 at 03:12:22PM +0530, Sreekanth Reddy wrote: >&g

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

2015-06-15 Thread Sreekanth Reddy
On Mon, Jun 15, 2015 at 3:16 PM, Johannes Thumshirn wrote: > On Fri, Jun 12, 2015 at 03:12:22PM +0530, Sreekanth Reddy wrote: >> Added the following Dell branding to the mpt3sas driver. >> >> "VendorID" "DeviceID" "SubsystemVendor ID" "

Re: [PATCH 14/20] [SCSI] mpt3sas: Complete the SCSI command with DID_RESET status for log_info value 0x0x32010081

2015-06-15 Thread Sreekanth Reddy
On Mon, Jun 15, 2015 at 3:31 PM, Johannes Thumshirn wrote: > On Fri, Jun 12, 2015 at 03:12:26PM +0530, Sreekanth Reddy wrote: >> For any SCSI command, if the driver receives >> IOC status = SCSI_IOC_TERMINATED and log info = 0x32010081 then >> that command will be complete

Re: [PATCH 17/20] [SCSI] mpt3sas: Use alloc_ordered_workqueue() API instead of create_singlethread_workqueue() API

2015-06-15 Thread Sreekanth Reddy
On Sat, Jun 13, 2015 at 2:33 AM, Joe Lawrence wrote: > On 06/12/2015 05:42 AM, Sreekanth Reddy wrote: > ... >> +#if defined(alloc_ordered_workqueue) >> + ioc->firmware_event_thread = alloc_ordered_workqueue( >> + ioc->firmware_event_na

Re: [PATCH 04/20] [SCSI] mpt3sas: Remove redundancy code while freeing the controller resources.

2015-06-15 Thread Sreekanth Reddy
On Fri, Jun 12, 2015 at 6:10 PM, Johannes Thumshirn wrote: > On Fri, Jun 12, 2015 at 05:48:56PM +0530, Sreekanth Reddy wrote: >> On Fri, Jun 12, 2015 at 4:58 PM, Johannes Thumshirn >> wrote: >> > On Fri, Jun 12, 2015 at 03:12:16PM +0530, Sreekanth Reddy wrote: >>

Re: [PATCH 04/20] [SCSI] mpt3sas: Remove redundancy code while freeing the controller resources.

2015-06-12 Thread Sreekanth Reddy
On Fri, Jun 12, 2015 at 4:58 PM, Johannes Thumshirn wrote: > On Fri, Jun 12, 2015 at 03:12:16PM +0530, Sreekanth Reddy wrote: >> Removed the redundancy code while freeing the controller resources. >> >> Signed-off-by: Sreekanth Reddy >> --- >> drivers

Re: [PATCH 01/20] [SCSI] mpt3sas: Added Combined Reply Queue feature to extend up-to 96 MSIX vector support

2015-06-12 Thread Sreekanth Reddy
Thanks Johannes, we will take care of this point in our current on-development mpt2sas/mpt3sas merging activity. Thanks, Sreekanth On Fri, Jun 12, 2015 at 4:39 PM, Johannes Thumshirn wrote: > On Fri, Jun 12, 2015 at 03:12:13PM +0530, Sreekanth Reddy wrote: >> In this patch, incr

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

2015-06-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/mpt3sas/mpt3sas_base.c

[PATCH 04/20] [SCSI] mpt3sas: Remove redundancy code while freeing the controller resources.

2015-06-12 Thread Sreekanth Reddy
Removed the redundancy code while freeing the controller resources. Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/mpt3sas_base.c | 57 + 1 file changed, 32 insertions(+), 25 deletions(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.c b/drivers

[PATCH 01/20] [SCSI] mpt3sas: Added Combined Reply Queue feature to extend up-to 96 MSIX vector support

2015-06-12 Thread Sreekanth Reddy
processing the reply post descriptor. Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/mpt3sas_base.c | 70 + drivers/scsi/mpt3sas/mpt3sas_base.h | 7 +++- 2 files changed, 69 insertions(+), 8 deletions(-) diff --git a/drivers/scsi/mpt3sas

[PATCH 03/20] [SCSI] mpt3sas: Don't block the drive when drive addition under the control of SML

2015-06-12 Thread Sreekanth Reddy
g the device dicovery commands (such as Inquiry, Report LUNs etc). Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/mpt3sas_base.h | 4 +++- drivers/scsi/mpt3sas/mpt3sas_scsih.c | 7 +++ drivers/scsi/mpt3sas/mpt3sas_transport.c | 18 ++ 3 files changed, 28 inse

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

2015-06-12 Thread Sreekanth Reddy
image to HashImageType. Signed-off-by: Sreekanth Reddy --- 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 deletions(-) diff --git a/drivers

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

2015-06-12 Thread Sreekanth Reddy
Bump mpt3sas driver version to v6.100.00.00. Signed-off-by: Sreekanth Reddy --- 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 index 7cdbc65..a89c752 100644

[PATCH 08/20] [SCSI] mpt3sas: Update MPI2 strings to MPI2.5

2015-06-12 Thread Sreekanth Reddy
Update MPI2 strings to MPI2.5. Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/mpt3sas_base.c | 3 +-- drivers/scsi/mpt3sas/mpt3sas_base.h | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.c b/drivers/scsi/mpt3sas/mpt3sas_base.c

[PATCH 06/20] [SCSI] mpt3sas: Provides the physical location of sas drives

2015-06-12 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 --- drivers/scsi/mpt3sas/mpt3sas_base.h | 2 + drivers/scsi/mpt3sas/mpt3sas_scsih.c |

[PATCH 07/20] [SCSI] mpt3sas: Bump mpt3sas Driver version to v5.100.00.00

2015-06-12 Thread Sreekanth Reddy
Bump mpt3sas Driver version to v5.100.00.00 Signed-off-by: Sreekanth Reddy --- 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 index 293ad23..9396a76 100644

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

2015-06-12 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 --- drivers/scsi/mpt3sas/mpi/mpi2.h | 5 +++-- drivers/scsi/mpt3sas/mpi/mpi2_cnfg.h | 14

[PATCH 11/20] [SCSI] mpt3sas: Add branding string support for OEM custom HBA

2015-06-12 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 Sign

[PATCH 13/20] [SCSI] mpt3sas: MPI 2.5 Rev K (2.5.6) specifications

2015-06-12 Thread Sreekanth Reddy
Product Name String Format bits to the BiosOptions field Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/mpi/mpi2.h | 5 +++-- drivers/scsi/mpt3sas/mpi/mpi2_cnfg.h | 17 ++--- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/drivers/scsi/mpt3sas/mpi/mpi2.h b

[PATCH 19/20] [SCSI] mpt3sas: When device is blocked followed by unblock fails, unfreeze the I/Os

2015-06-12 Thread Sreekanth Reddy
igned-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/mpt3sas_scsih.c | 89 ++-- 1 file changed, 75 insertions(+), 14 deletions(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_scsih.c b/drivers/scsi/mpt3sas/mpt3sas_scsih.c index 42bb731..5405a2f 100644 --- a/drivers

[PATCH 17/20] [SCSI] mpt3sas: Use alloc_ordered_workqueue() API instead of create_singlethread_workqueue() API

2015-06-12 Thread Sreekanth Reddy
Created a thread using alloc_ordered_workqueue() API in order to process the works from firmware Work-queue sequentially instead of create_singlethread_workqueue() API. Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/mpt3sas_scsih.c | 7 ++- 1 file changed, 6 insertions(+), 1

[PATCH 20/20] [SCSI] mpt3sas : Bump mpt3sas driver version to 9.100.00.00

2015-06-12 Thread Sreekanth Reddy
Bump mpt3sas driver version to 9.100.00.00 Signed-off-by: Sreekanth Reddy --- 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 index b97039b..0ffe763 100644

[PATCH 18/20] [SCSI] mpt3sas: Call dma_mapping_error() API after mapping an address with dma_map_single() API

2015-06-12 Thread Sreekanth Reddy
Added dma_mapping_error() API after mapping an address with dma_map_single() API. Otherwise when CONFIG_DMA_API_DEBUG is enabled in the kernel, then it complains about mpt3sas driver not calling dma_mapping_error after mapping an address with dma_map_single Signed-off-by: Sreekanth Reddy

[PATCH 14/20] [SCSI] mpt3sas: Complete the SCSI command with DID_RESET status for log_info value 0x0x32010081

2015-06-12 Thread Sreekanth Reddy
ware to discover the reinserted drive successfully instated of just retrying failed command for five times(doesn't giving enough time for firmware to complete the drive discovery) and failing the IO permanently even though drive came back successfully. Signed-off-by: Sreekanth Reddy

<    1   2   3   4   5   >