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

2015-06-15 Thread Johannes Thumshirn
On Fri, Jun 12, 2015 at 03:12:25PM +0530, Sreekanth Reddy wrote: Below are the new changes to MPI 2.5 Rev K(2.5.6) specification and 2.00.35 header files 1) Added a minimum size requirement for target mode command buffers. 2) Added MinMSIxIndex and MaxMSIxIndex fields to CommandBufferPostBase

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 jthumsh...@suse.de 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 completed with

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 jthumsh...@suse.de 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 jthumsh...@suse.de wrote: On Fri, Jun 12, 2015 at 03:12:22PM +0530, Sreekanth Reddy wrote:

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

2015-06-15 Thread Johannes Thumshirn
On Fri, Jun 12, 2015 at 03:12:20PM +0530, Sreekanth Reddy wrote: Update MPI2 strings to MPI2.5. Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com --- drivers/scsi/mpt3sas/mpt3sas_base.c | 3 +-- drivers/scsi/mpt3sas/mpt3sas_base.h | 1 - 2 files changed, 1 insertion(+), 3

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

2015-06-15 Thread Johannes Thumshirn
On Fri, Jun 12, 2015 at 03:12:17PM +0530, Sreekanth Reddy wrote: Update MPI 2.5 Release: MPI 2.5 Rev I (2.5.4) specification and 2.00.33 header files Below is the change set from the MPI specification for I Rev 1) Added Base Enclosure Level bit to the Flags field of Manufacturing Page 7.

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

2015-06-15 Thread Johannes Thumshirn
On Fri, Jun 12, 2015 at 03:12:21PM +0530, Sreekanth Reddy wrote: 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

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

2015-06-15 Thread Johannes Thumshirn
On Fri, Jun 12, 2015 at 03:12:19PM +0530, Sreekanth Reddy wrote: Bump mpt3sas Driver version to v5.100.00.00 Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com --- drivers/scsi/mpt3sas/mpt3sas_base.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

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

2015-06-15 Thread Johannes Thumshirn
On Mon, Jun 15, 2015 at 04:41:56PM +0530, Sreekanth Reddy wrote: On Mon, Jun 15, 2015 at 3:16 PM, Johannes Thumshirn jthumsh...@suse.de 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

Re: [PATCH 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-15 Thread Johannes Thumshirn
On Fri, Jun 12, 2015 at 03:12:27PM +0530, Sreekanth Reddy wrote: scsi_dma_map API will return a negative value (i.e. -ENOMEM) if DMA mapping of sg lists fails and zero if the sg list in the SCSI cmd is NULL. But drivers doesn't handled sg list DMA mapping failure case properly. So, Updated

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

2015-06-15 Thread Johannes Thumshirn
On Fri, Jun 12, 2015 at 03:12:32PM +0530, Sreekanth Reddy wrote: Bump mpt3sas driver version to 9.100.00.00 Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com --- drivers/scsi/mpt3sas/mpt3sas_base.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

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 joe.lawre...@stratus.com 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_name, WQ_MEM_RECLAIM); +#else +

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

2015-06-15 Thread Johannes Thumshirn
On Fri, Jun 12, 2015 at 03:12:24PM +0530, Sreekanth Reddy wrote: Bump mpt3sas driver version to v6.100.00.00. Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com --- drivers/scsi/mpt3sas/mpt3sas_base.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

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

2015-06-15 Thread Johannes Thumshirn
On Mon, Jun 15, 2015 at 03:56:56PM +0530, Sreekanth Reddy wrote: On Fri, Jun 12, 2015 at 6:10 PM, Johannes Thumshirn jthumsh...@suse.de 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 jthumsh...@suse.de wrote:

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

2015-06-15 Thread Johannes Thumshirn
On Fri, Jun 12, 2015 at 03:12:30PM +0530, Sreekanth Reddy wrote: 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

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 jthumsh...@suse.de 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 jthumsh...@suse.de wrote: On Fri, Jun 12, 2015 at 03:12:16PM +0530, Sreekanth Reddy wrote:

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 jthumsh...@suse.de 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 SubsystemDevice ID Dell Branding String 0x1000

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

2015-06-15 Thread Johannes Thumshirn
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 SubsystemDevice ID Dell Branding String 0x10000x0097 0x1028 0x1F46DELL 12Gbps

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

2015-06-15 Thread Johannes Thumshirn
On Fri, Jun 12, 2015 at 03:12:31PM +0530, Sreekanth Reddy wrote: Issue: When the disks are getting discovered and assigned device handles by the kernel, a device block followed by an unblock (due to broadcast primitives) issued by the driver is interspersed by the kernel changing the state of

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

2015-06-15 Thread Johannes Thumshirn
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 completed with DID_RESET host status. The definition of this log info value is Virtual IO has

Re: [PATCH 3/4] ipr: Endian / sparse fixes

2015-06-15 Thread wenxiong
Reviewed-by: Wen Xiong wenxi...@linux.vnet.ibm.com Thanks, Wendy Quoting Brian King brk...@linux.vnet.ibm.com: Some misc fixes for endianness checking with sparse so sparse with endian checking now runs clean. Fixes a minor bug in the process which was uncovered by sparse which would result

Re: [PATCH 1/4] ipr: Fix locking for unit attention handling

2015-06-15 Thread wenxiong
We have done stress test for a week with the patch and works fine. Reviewed-by: Wen Xiong wenxi...@linux.vnet.ibm.com Thanks, Wendy Quoting Brian King brk...@linux.vnet.ibm.com: Make sure we have the host lock held when calling scsi_report_bus_reset. Fixes a crash seen as the __devices

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 james.bottom...@hansenpartnership.com wrote: On Mon, 2015-06-15 at 16:26 +0530, Sreekanth Reddy wrote: On Sat, Jun 13, 2015 at 2:33 AM, Joe Lawrence joe.lawre...@stratus.com wrote: On 06/12/2015 05:42 AM, Sreekanth Reddy wrote: ... +#if

[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
For any SCSI command, if the driver receives IOC status = SCSI_IOC_TERMINATED and log info = 0x32010081 then that command will be completed with DID_RESET host status. The definition of this log info value is Virtual IO has failed and has to be retried. Firmware will provide this log info value

RE: [PATCH 0/3] csiostor:Debugfs support update.

2015-06-15 Thread Praveen Madhavan
Hi Davem, Can you please apply this patch series against net-next ? Thanks Praveen From: Praveen Madhavan [prave...@chelsio.com] Sent: Tuesday, June 09, 2015 6:44 PM To: net...@vger.kernel.org; linux-scsi@vger.kernel.org Cc: da...@davemloft.net;

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

2015-06-15 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. Changes in v1: No need to check for backport compatibility in the upstream kernel. so removing the else section where driver

[PATCH 1/1] [PATCH] block: Add blk_max_rw_sectors limit

2015-06-15 Thread Brian King
The commit bcdb247c6b6a1f3e72b9b787b73f47dd509d17ec sd: Limit transfer length added support for setting max_hw_sectors based on the block limits VPD page. As defined in the transfer limit table in the block limits VPD page section of SBC4, this value is only supposed to apply to a small subset of

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

2015-06-15 Thread James Bottomley
On Mon, 2015-06-15 at 16:26 +0530, Sreekanth Reddy wrote: On Sat, Jun 13, 2015 at 2:33 AM, Joe Lawrence joe.lawre...@stratus.com wrote: On 06/12/2015 05:42 AM, Sreekanth Reddy wrote: ... +#if defined(alloc_ordered_workqueue) + ioc-firmware_event_thread = alloc_ordered_workqueue( +