[PATCH 14/16] qla2xxx: Fix duplicate switch's Nport ID entries

2018-09-11 Thread Himanshu Madhani
From: Quinn Tran Current code relies on switch to provide a unique combination of WWPN + NPORTID to tract an FC port. This patch tries to detect a case where switch data base can get corrupted where multiple WWPNs can have the same Nport ID. The 1st Nport ID on the list will be kept while the

[PATCH 15/16] qla2xxx: Fix double increment of switch scan retry count

2018-09-11 Thread Himanshu Madhani
From: Quinn Tran This patch fixes issue when switch command fails, current code increments retry count twice. This results into less number of retries. Signed-off-by: Quinn Tran Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_gs.c | 37 + 1

[PATCH 04/16] qla2xxx: Fix port speed display on chip reset

2018-09-11 Thread Himanshu Madhani
From: Quinn Tran Clear port speed value on chip reset. Signed-off-by: Quinn Tran Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_init.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index

[PATCH 02/16] qla2xxx: Increase abort timeout value

2018-09-11 Thread Himanshu Madhani
From: Quinn Tran Abort IOCB request can take up to 40s or 2 ABTS timeout. We will wait for ABTS response for 20s. On a timeout, second ABTS can go out with another 20s timeout. On 2nd ABTS timeout FW will automatically do Logout. Signed-off-by: Quinn Tran Signed-off-by: Himanshu Madhani ---

[PATCH 12/16] qla2xxx: Fix premature command free

2018-09-11 Thread Himanshu Madhani
From: Quinn Tran When qla2xxx and Target Core gets out of sync, during command cleanup, qla2xxx will not free command until it is out of firmware's hand and Target Core has called the release on the command. This patch adds synchronization using cmd_lock and release flag. if the release flag is

[PATCH 16/16] qla2xxx: Update driver version to 10.00.00.11-k

2018-09-11 Thread Himanshu Madhani
Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_version.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/qla2xxx/qla_version.h b/drivers/scsi/qla2xxx/qla_version.h index 9559f1836170..12bafff71a1a 100644 --- a/drivers/scsi/qla2xxx/qla_version.h +++

[PATCH 05/16] qla2xxx: Fix dropped srb resource.

2018-09-11 Thread Himanshu Madhani
From: Quinn Tran When FW rejects a command due to "entry_status" error (malform IOCB), the srb resource needs to be return back for cleanup. The filter to catch this is in the wrong location. Signed-off-by: Quinn Tran Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_isr.c | 2 +-

[PATCH 09/16] qla2xxx: Fix stuck session in PLOGI state

2018-09-11 Thread Himanshu Madhani
From: Quinn Tran On PLOGI complete + RSCN received, driver tries to handle RSCN but failed to reset the session back to the beginning to restart the login process. Instead the session was left in the Plogi complete without moving forward. This patch will push the session state back to the

[PATCH 11/16] qla2xxx: Reject bsg request if chip is down.

2018-09-11 Thread Himanshu Madhani
From: Quinn Tran Reject bsg request if chip is down. This prevent erroneous timeout. Fixes: d051a5aa1c23 ("[SCSI] qla2xxx: Add an "is reset active" helper.") Cc: sta...@vger.kernel.org # 4.10 Signed-off-by: Quinn Tran Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_bsg.c | 2 +-

[PATCH 01/16] qla2xxx: Allow FC-NVMe underrun to be handled by transport

2018-09-11 Thread Himanshu Madhani
From: Darren Trapp This patch allows FC-NVMe under-run to be handled by transport Signed-off-by: Darren Trapp Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_isr.c | 34 +- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git

[PATCH 03/16] qla2xxx: Check for Register disconnect

2018-09-11 Thread Himanshu Madhani
From: Sawan Chandak During adapter shutdown process check for register disconnect before proceeding to call PCI functions. Signed-off-by: Sawan Chandak Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_os.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 06/16] qla2xxx: Fix race condition for resource cleanup

2018-09-11 Thread Himanshu Madhani
From: Quinn Tran For Loop topology + Initiator, FW is in control of PLOGI/PRLI. When link is reset, driver will try to cleanup the session by doing an Implicit Logout. Instead, the code is doing an Explicit Logout. The explicit logout interferes with FW state machine in trying to reconnect.

[PATCH 13/16] qla2xxx: Remove stale debug trace message from tcm_qla2xxx

2018-09-11 Thread Himanshu Madhani
From: Quinn Tran remove stale debug trace. Fixes: 1eb42f965ced ("qla2xxx: Make trace flags more readable") Cc: sta...@vger.kernel.org #4.10 Signed-off-by: Quinn Tran Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/tcm_qla2xxx.c | 4 1 file changed, 4 deletions(-) diff --git

[PATCH 07/16] qla2xxx: Add mode control for each physical port

2018-09-11 Thread Himanshu Madhani
From: Quinn Tran Add ability to allow each physical port to control operating mode. Current code forces all ports to behave in one mode (i.e. initiator, target or dual). This patch allows user to select the operating mode for each port. - Driver must be loaded in dual mode to allow resource

[PATCH 10/16] qla2xxx: shutdown chip if reset fail

2018-09-11 Thread Himanshu Madhani
From: Quinn Tran if chip unable to fully initialize, use full shutdown sequence to clear out any stale FW state. Fixes: e315cd28b9ef ("[SCSI] qla2xxx: Code changes for qla data structure refactoring") Cc: sta...@vger.kernel.org #4.10 Signed-off-by: Quinn Tran Signed-off-by: Himanshu Madhani

[PATCH 08/16] qla2xxx: Fix early srb free on abort

2018-09-11 Thread Himanshu Madhani
From: Quinn Tran Task abort can take 2 paths: 1) serial/synchronous abort where the calling thread will put to sleep, wait for completion and free cmd resource. 2) async abort where the cmd free will be free by the completion thread. For path 2, driver is freeing the SRB too early. Fixes:

[PATCH 00/16] qla2xxx: Driver updates for scsi-misc

2018-09-11 Thread Himanshu Madhani
Hi Martin, This patch series fixes issues found during our testing for qla2xxx. Please apply this series to 4.20/scsi-queue at your earliest. Thanks, Himanshu Darren Trapp (1): qla2xxx: Allow FC-NVMe underrun to be handled by transport Himanshu Madhani (1): qla2xxx: Update driver

The management of Marriott Hotel Canada is recruiting new workers1

2018-09-11 Thread Grace Esther

[PATCH V2 2/4] pm80xx : Corrected dma_unmap_sg() parameter.

2018-09-11 Thread Viswas G
From: Deepak Ukey For the function dma_unmap_sg(), the parameter should be number of elements in the scatter list prior to the mapping, not after the mapping. Signed-off-by: Deepak Ukey Signed-off-by: Viswas G Acked-by: Jack Wang --- drivers/scsi/pm8001/pm8001_sas.c | 2 +- 1 file

[PATCH V2 0/4] pm0xx : Updates for driver version 0.1.39

2018-09-11 Thread Viswas G
From: Deepak Ukey This patch set include some bug fixes for pm80xx driver. Changes from V1: For "Fix for phy enable/disable functionality" patch, -Initialized the PM8001F_RUN_TIME flag in pm8001_pci_probe(). -Differentiated PHY_LINK_UP state for SPC and

[PATCH V2 4/4] pm80xx : Update driver version to 0.1.39

2018-09-11 Thread Viswas G
From: Deepak Ukey Updated the driver version from 0.1.38 to 0.1.39. Signed-off-by: Deepak Ukey Signed-off-by: Viswas G Acked-by: Jack Wang --- drivers/scsi/pm8001/pm8001_sas.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/pm8001/pm8001_sas.h

[PATCH V2 3/4] pm80xx : Fixed system hang issue during kexec boot.

2018-09-11 Thread Viswas G
From: Deepak Ukey When the firmware is not responding, execution of kexec boot causes a system hang. When firmware assertion happened, driver get notified with interrupt vector updated in MPI configuration table. Then, the driver will read scratchpad register and set controller_fatal_error flag

[PATCH V2 1/4] pm80xx : Fix for phy enable/disable functionality.

2018-09-11 Thread Viswas G
From: Deepak Ukey Added proper mask for phy id in mpi_phy_stop_resp(). V2: -Initialized the PM8001F_RUN_TIME flag in pm8001_pci_probe(). -Differentiated PHY_LINK_UP state for SPC and SPCv controller. -Used

Re: [PATCH V2 1/4] pm80xx : Fix for phy enable/disable functionality.

2018-09-11 Thread Jinpu Wang
On Tue, Sep 11, 2018 at 10:48 AM Viswas G wrote: > > From: Deepak Ukey > > Added proper mask for phy id in mpi_phy_stop_resp(). > > V2: > -Initialized the PM8001F_RUN_TIME flag in > pm8001_pci_probe(). > -Differentiated PHY_LINK_UP state

Re: [PATCH 00/11] lpfc updates for 12.0.0.7

2018-09-11 Thread Martin K. Petersen
James, > This patch contains lpfc bug fixes, a couple of performance mods, and > a new diagnostic ability Applied to 4.20/scsi-queue, thank you! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: qla2xxx: Fix an endian bug in fcpcmd_is_corrupted()

2018-09-11 Thread Martin K. Petersen
Dan, > We should first do the le16_to_cpu endian conversion and then apply > the FCP_CMD_LENGTH_MASK mask. Applied to 4.19/scsi-fixes, thank you! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH -next] scsi: libfc: remove set but not used variable 'rpriv'

2018-09-11 Thread Martin K. Petersen
YueHaibing, > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/scsi/libfc/fc_fcp.c: In function 'fc_queuecommand': > drivers/scsi/libfc/fc_fcp.c:1875:30: warning: > variable 'rpriv' set but not used [-Wunused-but-set-variable] Applied to 4.20/scsi-queue. Thank you! -- Martin K.

Re: [PATCH V2 0/4] pm0xx : Updates for driver version 0.1.39

2018-09-11 Thread Martin K. Petersen
Viswas, > This patch set include some bug fixes for pm80xx driver. Applied to 4.20/scsi-queue, thank you! -- Martin K. Petersen Oracle Linux Engineering

[PATCH -next] scsi: bnx2fc: Remove set but not used variable 'oxid'

2018-09-11 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: drivers/scsi/bnx2fc/bnx2fc_fcoe.c: In function 'bnx2fc_rcv': drivers/scsi/bnx2fc/bnx2fc_fcoe.c:435:17: warning: variable 'oxid' set but not used [-Wunused-but-set-variable] Signed-off-by: YueHaibing --- drivers/scsi/bnx2fc/bnx2fc_fcoe.c | 3 ---

Re: [PATCH v2 00/14] qla2xxx: Driver updates for scsi-misc

2018-09-11 Thread Martin K. Petersen
Himanshu, > This series updates driver for ABTS handling and rport management. > > Please queue this patches to 4.20/scsi-misc at your earliest convenience. Applied to 4.20/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 00/13] qla2xxx: Updates for driver

2018-09-11 Thread Martin K. Petersen
Himanshu, > This series contains support for ZIO interrupt threashold and > cleanups. Applied! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 00/16] qla2xxx: Driver updates for scsi-misc

2018-09-11 Thread Martin K. Petersen
Himanshu, > This patch series fixes issues found during our testing for qla2xxx. Also applied. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Editing 1

2018-09-11 Thread Aaron
Hi, If you have photos for editing, please send email to: hansre...@outlook.com We have 12 in house image editors and we can help you for cutting out your photos, or path the photos. Includes retouching if needed. Used for products photos or portrait photos, catalog photos. You may drop us