[PATCH v2] scsi: bfa: Increase requested firmware version to 3.2.5.1

2016-12-23 Thread Benjamin Poirier
bna & bfa firmware version 3.2.5.1 was submitted to linux-firmware on Feb 17 19:10:20 2015 -0500 in 0ab54ff1dc ("linux-firmware: Add QLogic BR Series Adapter Firmware"). bna was updated to use the newer firmware on Feb 19 16:02:32 2015 -0500 in 3f307c3d70 ("bna: Update the Driver and Firmware

[PATCH 00/11] qla2xxx: Feature updates for target.

2016-12-23 Thread Himanshu Madhani
Hi Bart, Christoph, We have added new features to the qla2xxx target driver. This patch series enables simultaneous initiator and target mode in the driver. As part of supporting simultaneous initator and target mode we also improved Fabric discovery which relies heavily on newly added dual mode

[PATCH 06/11] qla2xxx: Use d_id instead of s_id for more clarity.

2016-12-23 Thread Himanshu Madhani
From: Quinn Tran Updated code with d_id from s_id for better readabilty and clarity. Signed-off-by: Quinn Tran Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_dfs.c | 6 +++---

[PATCH 07/11] qla2xxx: Track I-T nexus as single fc_port struct.

2016-12-23 Thread Himanshu Madhani
From: Quinn Tran Current code merges qla_tgt_sess and fc_port structure into single fc_port structure represeting same I-T nexus. Signed-off-by: Quinn Tran Signed-off-by: Himanshu Madhani ---

[PATCH 11/11] qla2xxx: Improve RSCN handling in driver

2016-12-23 Thread Himanshu Madhani
From: Quinn Tran Current code blindly does State Change Registration when the link is up. Move SCR behind fabric scan, so that arbitrated loop scan would not get erroneous error message. Some of the other improvements are as follows - Add session deletion for TPRLO and

[PATCH 10/11] qla2xxx: Remove unused reverse_ini_mode.

2016-12-23 Thread Himanshu Madhani
With support for dual mode in the driver, this mode becomes dead code. Remove reverse_ini_mode from code. Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_def.h| 1 - drivers/scsi/qla2xxx/qla_target.c | 10 --

[PATCH 01/11] qla2xxx: Remove direct access of scsi_status field in se_cmd

2016-12-23 Thread Himanshu Madhani
From: Quinn Tran Reviewed-by: Christoph Hellwig Signed-off-by: Quinn Tran Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_def.h| 1 + drivers/scsi/qla2xxx/qla_target.c | 2 +- 2 files

[PATCH 02/11] qla2xxx: Cleanup TMF code translation from qla_target.

2016-12-23 Thread Himanshu Madhani
From: Quinn Tran Move code code which converts Task Mgmt Command flags for ATIO to TCM #defines, from qla2xxx driver to tcm_qla2xxx driver. Reviewed-by: Christoph Hellwig Signed-off-by: Quinn Tran Signed-off-by: Himanshu Madhani

[PATCH 05/11] qla2xxx: Fix wrong argument in sp done callback.

2016-12-23 Thread Himanshu Madhani
From: Quinn Tran Callback for sp->done expects scsi_qla_host is passed in as argument, Instead qla_hw_data is passed in. Signed-off-by: Quinn Tran Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_isr.c | 8

[PATCH 09/11] qla2xxx: Add Dual mode support in the driver

2016-12-23 Thread Himanshu Madhani
From: Quinn Tran Add switch to allow both Initiator Mode & Target mode to operate at the same time. Signed-off-by: Quinn Tran Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_def.h | 1 +

[PATCH 03/11] qla2xxx: Make trace flags more readable.

2016-12-23 Thread Himanshu Madhani
From: Quinn Tran This patch does not change any functionality. Signed-off-by: Quinn Tran Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_target.c | 27 +--

[PATCH 04/11] qla2xxx: Cleanup SRR code.

2016-12-23 Thread Himanshu Madhani
Signed-off-by: Himanshu Madhani Signed-off-by: Giridhar Malavali --- drivers/scsi/qla2xxx/qla_target.c | 641 -- drivers/scsi/qla2xxx/qla_target.h | 21 -- 2 files changed, 662 deletions(-) diff

Re: [4.10, panic, regression] iscsi: null pointer deref at iscsi_tcp_segment_done+0x20d/0x2e0

2016-12-23 Thread Jens Axboe
On 12/23/2016 12:42 PM, Linus Torvalds wrote: > On Fri, Dec 23, 2016 at 2:00 AM, Christoph Hellwig wrote: >> >> From: Christoph Hellwig >> Date: Fri, 23 Dec 2016 10:57:06 +0100 >> Subject: virtio_blk: avoid DMA to stack for the sense buffer >> >> Most users of BLOCK_PC

[PATCH v3 03/10] qla2xxx: Set tcm_qla2xxx version to automatically track qla2xxx version.

2016-12-23 Thread Himanshu Madhani
Reviewed-by: Christoph Hellwig Signed-off-by: Himanshu Madhani Signed-off-by: Giridhar Malavali --- drivers/scsi/qla2xxx/tcm_qla2xxx.c | 4 ++-- drivers/scsi/qla2xxx/tcm_qla2xxx.h | 1 - 2 files changed, 2 insertions(+), 3

[PATCH v3 01/10] qla2xxx: Fix wrong IOCB type assumption.

2016-12-23 Thread Himanshu Madhani
From: Quinn Tran qlt_reset is called with Immedidate Notify IOCB only. Current code wrongly cast it as ATIO IOCB. Reviewed-by: Christoph Hellwig Signed-off-by: Quinn Tran Signed-off-by: Himanshu Madhani

[PATCH v3 08/10] qla2xxx: Reduce exess wait during chip reset

2016-12-23 Thread Himanshu Madhani
From: Quinn Tran Soft reset and Risc reset should take 100uS to complete. This change pad the timeout up to 400uS, which should be plenty. Reviewed-by: Christoph Hellwig Signed-off-by: Quinn Tran Signed-off-by: Himanshu Madhani

[PATCH v3 02/10] qla2xxx: Include ATIO queue in firmware dump when in target mode

2016-12-23 Thread Himanshu Madhani
Include ATIO queue for ISP27XX when firmware dump is collected for target mode. Reviewed-by: Christoph Hellwig Signed-off-by: Himanshu Madhani Signed-off-by: Giridhar Malavali --- drivers/scsi/qla2xxx/qla_tmpl.c | 24

[PATCH v3 04/10] qla2xxx: Reset reserved field in firmware options to 0.

2016-12-23 Thread Himanshu Madhani
During NVRAM initialization in target mode, reset reserved fields in firmware options to Zero (BIT 15) Reviewed-by: Christoph Hellwig Signed-off-by: Himanshu Madhani Signed-off-by: Giridhar Malavali ---

[PATCH v3 06/10] qla2xxx: Fix crash due to null pointer access.

2016-12-23 Thread Himanshu Madhani
From: Quinn Tran During code inspection, while investigating following stack trace seen on one of the test setup, we found out there was possiblity of memory leak becuase driver was not unwinding the stack properly. This issue has not been reproduced in a test environment

[PATCH v3 07/10] qla2xxx: Terminate exchange if corruputed.

2016-12-23 Thread Himanshu Madhani
From: Quinn Tran Corrupted ATIO is defined as length of fcp_header & fcp_cmd payload is less than 0x38. It's the minimum size for a frame to carry 8..16 bytes SCSI CDB. The exchange will be dropped or terminated if corrupted. Reviewed-by: Christoph Hellwig

[PATCH v3 05/10] qla2xxx: Collect additional information to debug fw dump.

2016-12-23 Thread Himanshu Madhani
From: Quinn Tran Reviewed-by: Christoph Hellwig Signed-off-by: Quinn Tran Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_mbx.c | 27 --- 1 file changed, 20

[PATCH v3 09/10] qla2xxx: Fix invalid handle erroneous message.

2016-12-23 Thread Himanshu Madhani
From: Quinn Tran Termination of Immediate Notify IOCB was using wrong IOCB handle. IOCB completion code was unable to find appropriate code path due to wrong handle. Following message is seen in the logs. "Error entry - invalid handle/queue ()." Reviewed-by:

[PATCH v3 10/10] qla2xxx: Disable Out-of-order processing by default in Firmware

2016-12-23 Thread Himanshu Madhani
From: Quinn Tran Out of order(OOO) processing requires initiator, switch and target to support OOO. In today¹s environment, none of the switches support OOO. OOO requires extra buffer space which affect performance. By turning ON this feature in QLogic's FW, it delays

[PATCH v3 00/10] qla2xxx: Bug fixes for driver.

2016-12-23 Thread Himanshu Madhani
Hi Bart, Here's updated series of bug fixes for target code in the driver. Please consider this for target-pending. Changes from v2 --> v3 o Added Reviewed-by tag for Christoph to complete series. o Fixed sparse warning for patch to collect ATIO-Q in firmware dump. o Fixed comment style and

RE: [PATCH] scsi: bfa: Increase requested firmware version to 3.2.5.1

2016-12-23 Thread Mody, Rasesh
> From: Benjamin Poirier [mailto:benjamin.poir...@gmail.com] On Behalf Of > Benjamin Poirier > Sent: Friday, December 23, 2016 2:01 PM > > bna & bfa firmware version 3.2.5.1 was submitted to linux-firmware on Tue > Feb 17 19:10:20 2015 -0500 in 0ab54ff1dc ("linux-firmware: Add QLogic BR > Series

Re: [PATCH v2 02/10] qla2xxx: Include ATIO queue in firmware dump when in target mode

2016-12-23 Thread Madhani, Himanshu
On 12/23/16, 12:32 AM, "Bart Van Assche" wrote: >Sparse reports this because the atio_q_in pointer is declared as uint32_t >__iomem*. >Does this perhaps mean that a readl() call is missing? Ack. Will fix in revised series.

Re: [PATCH v2 04/10] qla2xxx: Reset reserved field in firmware options to 0.

2016-12-23 Thread Madhani, Himanshu
On 12/23/16, 12:37 AM, "Bart Van Assche" wrote: >Please use cpu_to_le32() in new code instead of __constant_cpu_to_le32(). >gcc generates the same code for both conversion functions but the former >function makes source code easier to read. Ack. Will update the

Re: [PATCH v2 06/10] qla2xxx: Fix crash due to null pointer access.

2016-12-23 Thread Madhani, Himanshu
On 12/23/16, 12:47 AM, "Bart Van Assche" wrote: >This patch needs a more detailed description. There are many changes in this >patch. What changes are the changes that prevent the NULL pointer dereference? >What changes (if any) were made as the result of code

Re: [PATCH v2 07/10] qla2xxx: Terminate exchange if corrputed.

2016-12-23 Thread Madhani, Himanshu
On 12/23/16, 1:01 AM, "Bart Van Assche" wrote: >On Wed, 2016-12-21 at 13:57 -0800, Himanshu Madhani wrote: >> diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h >> index f7df01b..b14455e 100644 >> --- a/drivers/scsi/qla2xxx/qla_def.h >> +++

[PATCH] scsi: bfa: Increase requested firmware version to 3.2.5.1

2016-12-23 Thread Benjamin Poirier
bna & bfa firmware version 3.2.5.1 was submitted to linux-firmware on Tue Feb 17 19:10:20 2015 -0500 in 0ab54ff1dc ("linux-firmware: Add QLogic BR Series Adapter Firmware"). bna was updated to use the newer firmware on Thu, 19 Feb 2015 16:02:32 -0500 in 3f307c3d70 ("bna: Update the Driver and

[PATCH RFC net-next 1/5] qed: Add support for hardware offloaded FCoE.

2016-12-23 Thread Dupuis, Chad
From: Arun Easi This adds the backbone required for the various HW initalizations which are necessary for the FCoE driver (qedf) for QLogic FastLinQ 4 line of adapters - FW notification, resource initializations, etc. Signed-off-by: Arun Easi

[PATCH RFC 5/5] qedf: Add FIP request handling

2016-12-23 Thread Dupuis, Chad
From: "Dupuis, Chad" This patch adds handling for FIP requests and responses that are handled by the driver itself and not by libfcoe. Signed-off-by: Nilesh Javali Signed-off-by: Manish Rangankar Signed-off-by:

SAS disk from RAID card (no RAID mode) problems

2016-12-23 Thread IW News
Hello, First message here. After looking for a solution without any luck I have found this list. I hope someone can help me with this. I have an ASUS P6T Deluxe with a MARVELL 88SE63xx SAS RAID controller. There are to identical 400GB SAS SSD drives attached to it. One of them has a Windows

Re: [4.10, panic, regression] iscsi: null pointer deref at iscsi_tcp_segment_done+0x20d/0x2e0

2016-12-23 Thread Linus Torvalds
On Fri, Dec 23, 2016 at 2:00 AM, Christoph Hellwig wrote: > > From: Christoph Hellwig > Date: Fri, 23 Dec 2016 10:57:06 +0100 > Subject: virtio_blk: avoid DMA to stack for the sense buffer > > Most users of BLOCK_PC requests allocate the sense buffer on the stack, > so

[PATCH RFC 0/5] Add QLogic FastLinQ FCoE (qedf) driver

2016-12-23 Thread Dupuis, Chad
From: "Dupuis, Chad" This series introduces the hardware offload FCoE initiator driver for the 41000 Series Converged Network Adapters (579xx chip) by QLogic. The overall driver design includes a common module ('qed') and protocol specific dependent modules ('qedf' for

[PATCH] message: fusion: Use kmemdup instead of kmalloc and memcpy

2016-12-23 Thread Shyam Saini
When some other buffer is immediately copied into allocated region. Replace calls to kmalloc followed by a memcpy with a direct call to kmemdup. Signed-off-by: Shyam Saini --- drivers/message/fusion/mptbase.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff

[PATCH RFC 3/5] qedf: Add offloaded I/O request functions.

2016-12-23 Thread Dupuis, Chad
From: "Dupuis, Chad" This patch adds various I/O requests types that are handled in firmware: - Normal I/O requests - ABTS requests - Cleanup requests - Task management requests It also contains: - I/O request initialization - Firmware completion handling

[PATCH RFC 4/5] qedf: Add offload ELS request handling.

2016-12-23 Thread Dupuis, Chad
From: "Dupuis, Chad" This patch adds support for ELS requests that are handled by the firmware for offloaded sessions. Signed-off-by: Nilesh Javali Signed-off-by: Manish Rangankar Signed-off-by: Saurav Kashyap

Re: [PATCH v2 03/11] lpfc: Deprecate lpfc_soft_wwn parameter

2016-12-23 Thread James Smart
I competes, without reasonable solutions to resolve which should be what at what time, with things like fabric-assigned wwn's as well as platform-oem name assignments via platform mechanisms. Too many admin planes competing. -- james On 12/22/2016 2:00 PM, Sebastian Herbszt wrote: James

Re: [PATCH V6 00/11] megaraid_sas: Updates for scsi-next

2016-12-23 Thread Tomas Henzl
On 23.12.2016 16:24, Tomas Henzl wrote: > On 23.12.2016 02:19, Sasikumar Chandrasekaran wrote: >> Sasikumar Chandrasekaran (11): >> megaraid_sas: Add new pci device Ids for SAS3.5 Generic Megaraid >> Controllers >> megaraid_sas: 128 MSIX Support >> megaraid_sas: EEDP Escape Mode Support

Re: [PATCH V6 00/11] megaraid_sas: Updates for scsi-next

2016-12-23 Thread Tomas Henzl
On 23.12.2016 02:19, Sasikumar Chandrasekaran wrote: > Sasikumar Chandrasekaran (11): > megaraid_sas: Add new pci device Ids for SAS3.5 Generic Megaraid > Controllers > megaraid_sas: 128 MSIX Support > megaraid_sas: EEDP Escape Mode Support for SAS3.5 Generic Megaraid > Controllers >

Re: [PATCH V6 08/11] megaraid_sas: Enable or Disable Fast path based on the PCI Threshold Bandwidth

2016-12-23 Thread Tomas Henzl
On 23.12.2016 02:19, Sasikumar Chandrasekaran wrote: > Large SEQ IO workload should sent as non fast path commands > > This patch is depending on patch 7 > > 80 chars per line limit is taken care around VD_EXT_DEBUG macro. > > Signed-off-by: Sasikumar Chandrasekaran

Re: [PATCH V6 10/11] megaraid_sas: Implement the PD Map support for SAS3.5 Generic Megaraid Controllers

2016-12-23 Thread Tomas Henzl
On 23.12.2016 02:19, Sasikumar Chandrasekaran wrote: > Update Linux driver to use new pdTargetId field for JBOD target ID > > This patch is depending on patch 9 and same as V5 > > Signed-off-by: Sasikumar Chandrasekaran Reviewed-by: Tomas Henzl --

Re: [PATCH V6 06/11] megaraid_sas: Dynamic Raid Map Changes for SAS3.5 Generic Megaraid Controllers

2016-12-23 Thread Tomas Henzl
On 23.12.2016 02:19, Sasikumar Chandrasekaran wrote: > SAS3.5 Generic Megaraid Controllers FW will support new dynamic RaidMap to > have different > sizes for different number of supported VDs. > > This patch is depending on patch 5 > > 80 chars per line limit is taken care around VD_EXT_DEBUG

Re: [PATCH V6 02/11] megaraid_sas: 128 MSIX Support

2016-12-23 Thread Tomas Henzl
On 23.12.2016 02:19, Sasikumar Chandrasekaran wrote: > SAS3.5 Generic Megaraid based Controllers will have the support for 128 MSI-X > vectors, > resulting in the need to support 128 reply queues > > This patch is depending on patch 1 and same as V5 > > Signed-off-by: Sasikumar Chandrasekaran

Re: JMS56x not working reliably with uas driver

2016-12-23 Thread Alan Stern
On Fri, 23 Dec 2016, George Cherian wrote: > >> 2) On disconnect I am seeing the following issue > >> > >>scsi host4: uas_post_reset: alloc streams error -19 after reset > >>sd 4:0:0:0: [sdb] Synchronizing SCSI cache > >> > >> This is more fatal because after these messages the USB port

[PATCH] drivers: scsi: esas2r: Use setup_timer() and mod_timer()

2016-12-23 Thread Shyam Saini
Use setup_timer instead of structure field assignments to initialize a timer. mod_timer is a more efficient way to update the expire field of an active timer (if the timer is inactive it will be activated) Signed-off-by: Shyam Saini --- drivers/scsi/esas2r/esas2r_main.c

Hello

2016-12-23 Thread info
Hello, Complement of the Season, I'M Anessa female 25 years old single, I am contacting you because I will be relocating to your country. I will send you my photos and also tell you much about my self. Thanks. Sincerely yours Anessa. -- To unsubscribe from this list: send the line

Re: [4.10, panic, regression] iscsi: null pointer deref at iscsi_tcp_segment_done+0x20d/0x2e0

2016-12-23 Thread Christoph Hellwig
On Thu, Dec 22, 2016 at 04:03:56PM -0800, Chris Leech wrote: > Of course, looks like I've screwed up my bisect run on this so I'm still > taking a look. It triggers for me with 'hdparm -B /dev/vda' but may > also depend on kernel configuration. > > I started with the fedora rawhide config with a

Re: [PATCH v2 07/10] qla2xxx: Terminate exchange if corrputed.

2016-12-23 Thread Bart Van Assche
On Wed, 2016-12-21 at 13:57 -0800, Himanshu Madhani wrote: > diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h > index f7df01b..b14455e 100644 > --- a/drivers/scsi/qla2xxx/qla_def.h > +++ b/drivers/scsi/qla2xxx/qla_def.h > @@ -1556,7 +1556,8 @@ struct link_statistics { >

Re: [PATCH v2 06/10] qla2xxx: Fix crash due to null pointer access.

2016-12-23 Thread Bart Van Assche
On Wed, 2016-12-21 at 13:57 -0800, Himanshu Madhani wrote: > From: Quinn Tran > > This patch fixes crash due to NULL pointer access. > > Following stack trace will be seen. > > [1469877.797315] Call Trace: > [1469877.799940] [] qla2x00_mem_alloc+0xb09/0x10c0 >

Re: [PATCH v2 04/10] qla2xxx: Reset reserved field in firmware options to 0.

2016-12-23 Thread Bart Van Assche
On Wed, 2016-12-21 at 13:57 -0800, Himanshu Madhani wrote: > During NVRAM initialization in target mode, reset reserved > fields in firmware options to Zero (BIT 15) > > Signed-off-by: Himanshu Madhani > Signed-off-by: Giridhar Malavali

Re: [4.10, panic, regression] iscsi: null pointer deref at iscsi_tcp_segment_done+0x20d/0x2e0

2016-12-23 Thread Johannes Weiner
On Fri, Dec 23, 2016 at 02:32:41AM -0500, Johannes Weiner wrote: > On Thu, Dec 22, 2016 at 12:22:27PM -0800, Hugh Dickins wrote: > > On Wed, 21 Dec 2016, Linus Torvalds wrote: > > > On Wed, Dec 21, 2016 at 9:13 PM, Dave Chinner wrote: > > > > I unmounted the fs, mkfs'd it

Re: [PATCH v2 02/10] qla2xxx: Include ATIO queue in firmware dump when in target mode

2016-12-23 Thread Bart Van Assche
On Wed, 2016-12-21 at 13:57 -0800, Himanshu Madhani wrote: > @@ -676,6 +688,18 @@ static inline void (*qla27xx_read_vector(uint > width))(void __iomem*, void *, ulo > count++; > } > } > + } else if (QLA_TGT_MODE_ENABLED() && >