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

2018-09-04 Thread Viswas G
From: Deepak Ukey This patch set include some bug fixes for pm80xx driver. Deepak Ukey (4): pm80xx : Fix for phy enable/disable functionality. pm80xx : Corrected dma_unmap_sg() parameter. pm80xx : Fixed system hang issue during kexec boot. pm80xx : Update driver version to 0.1.39

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

2018-09-04 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 --- drivers/scsi/pm8001/pm8001_sas.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/pm8001/pm8001_sas.h b/drivers/scsi/pm8001/pm8001_sas.h

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

2018-09-04 Thread Viswas G
From: Deepak Ukey Added proper mask for phy id in mpi_phy_stop_resp(). Signed-off-by: Deepak Ukey Signed-off-by: Viswas G --- drivers/scsi/pm8001/pm8001_defs.h | 7 +++ drivers/scsi/pm8001/pm8001_hwi.c | 4 ++-- drivers/scsi/pm8001/pm8001_init.c | 2 +-

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

2018-09-04 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 2/4] pm80xx : Corrected dma_unmap_sg() parameter.

2018-09-04 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 --- drivers/scsi/pm8001/pm8001_sas.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 05/13] qla2xxx: Fix out of order Termination and ABTS response

2018-09-04 Thread Himanshu Madhani
From: Quinn Tran Following changes are added by this patch - Prevent ABTS Response from getting in front of Termination of exchange. Firmware requires driver to cleanup exchanges before ABTS response can be sent. This reduces ABTS response error which triggers extra command re-termination

[PATCH 00/13] qla2xxx: Updates for driver

2018-09-04 Thread Himanshu Madhani
Hi Martin, This series contains support for ZIO interrupt threashold and cleanups. Please apply this series to 4.20/scsi-queue at your earliest convenience. Thanks, Himanshu Himanshu Madhani (3): qla2xxx: Remove ASYNC GIDPN switch command qla2xxx: Remove stale ADISC_DONE event qla2xxx:

[PATCH 01/13] qla2xxx: Serialize mailbox request

2018-09-04 Thread Himanshu Madhani
From: Quinn Tran For driver MBX submission, use mbox_busy to serialize request. For Userspace MBX submission, use optrom mutext to serialize request. Signed-off-by: Quinn Tran Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_attr.c | 106 +++---

[PATCH 08/13] qla2xxx: Reduce holding sess_lock to prevent CPU lock-up

2018-09-04 Thread Himanshu Madhani
From: Quinn Tran - Reduce sess_lock holding to prevent CPU Lock up. sess_lock was held across fc_port registration and deletion. These calls can be blocked by upper layer. Sess_lock is also being accessed by interrupt thread. - reduce number of loops in processing work_list to prevent kernel

[PATCH 09/13] qla2xxx: Remove ASYNC GIDPN switch command

2018-09-04 Thread Himanshu Madhani
Using GPNFT/GNNFT command will be able to cover switch database with less number of scans. This patch removes Get NportID with provided WWPN/GIDPN switch command. By making this change, In large fabric with lots of remote port or NPIV ports with noisy SAN, the number of GIDPN commands issued by a

[PATCH 12/13] qla2xxx: Move ABTS code behind qpair

2018-09-04 Thread Himanshu Madhani
From: Quinn Tran Current abort code default to legacy single queue where hardware_lock is used to protect command search. This patch move this code behind the QPair where the qp_lock_ptr will reference the appropriate lock for either legacy/single queue or MQ. Signed-off-by: Quinn Tran

[PATCH 11/13] qla2xxx: Remove stale ADISC_DONE event

2018-09-04 Thread Himanshu Madhani
Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_def.h | 1 - drivers/scsi/qla2xxx/qla_gbl.h | 2 -- drivers/scsi/qla2xxx/qla_init.c | 20 drivers/scsi/qla2xxx/qla_os.c | 5 - 4 files changed, 28 deletions(-) diff --git

[PATCH 10/13] qla2xxx: Fix Remote port registration

2018-09-04 Thread Himanshu Madhani
From: Quinn Tran Signed-off-by: Quinn Tran Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_init.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index 3fdd4336017c..e7de6f149e34 100644

[PATCH 06/13] qla2xxx: Add support for ZIO6 interrupt threshold

2018-09-04 Thread Himanshu Madhani
From: Quinn Tran Add SysFS support to control zio6 interrupt threshold. Using this SysFS hook user can set when to generate intrrupts. This value will be used to tell firmware to generate interrupt at a cetratin interval. If the number of exchanges/commands fall below defiened setting, then the

[PATCH 07/13] qla2xxx: Move {get|rel}_sp to base_qpair struct

2018-09-04 Thread Himanshu Madhani
From: Quinn Tran Currently, qla2x00_[get_sp|rel_sp] routines does {get|release} of srb resource/srb_mempool directly from qla_hw_data. qla2x00_start_sp() is used to issue management commands thorugh the default Request Q 0 & Response Q 0 or base_qpair. This patch moves access of these resources

[PATCH 03/13] qla2xxx: Add appropriate debug info for invalid RX_ID

2018-09-04 Thread Himanshu Madhani
From: Quinn Tran When driver detect CTIO_INVALID_RX_ID status for CTIO, print message with correct information to help with debugging. Signed-off-by: Quinn Tran Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_target.c | 12 +++- drivers/scsi/qla2xxx/qla_target.h | 1 +

Re: [PATCH v3 1/7] scsi: ufs: Add ufs-bsg module

2018-09-04 Thread Bart Van Assche
On Mon, 2018-09-03 at 13:33 +0300, Avri Altman wrote: > [ ... ] > +++ b/include/uapi/scsi/scsi_bsg_ufs.h > @@ -0,0 +1,56 @@ > +/* SPDX-License-Identifier: GPL-2.0 */ > +/* > + * UFS Transport SGIO v4 BSG Message Support > + * > + * Copyright (C) 2018 Western Digital Corporation > + */ > +#ifndef

Re: [PATCH v3 1/7] scsi: ufs: Add ufs-bsg module

2018-09-04 Thread Christoph Hellwig
> +config SCSI_UFS_BSG > + bool "Universal Flash Storage BSG device node" So this a bool, > obj-$(CONFIG_SCSI_UFSHCD_PCI) += ufshcd-pci.o > obj-$(CONFIG_SCSI_UFSHCD_PLATFORM) += ufshcd-pltfrm.o > obj-$(CONFIG_SCSI_UFS_HISI) += ufs-hisi.o > +obj-$(CONFIG_SCSI_UFS_BSG) += ufs_bsg.o But

Re: [PATCH v3 4/7] scsi: ufs: Allow ufshcd_issue_tm_cmd accept raw task upius

2018-09-04 Thread Christoph Hellwig
On Mon, Sep 03, 2018 at 01:33:13PM +0300, Avri Altman wrote: > Do that in order to re-use its code if the task request and response > UPIUs are given externally. > > Signed-off-by: Avri Altman > --- > drivers/scsi/ufs/ufshcd.c | 35 ++- > 1 file changed, 26

Re: [PATCH v3 3/7] scsi: ufs: Add fill task management request

2018-09-04 Thread Christoph Hellwig
In general this looks good, but a question below: > index ed37914..d18832a 100644 > --- a/drivers/scsi/ufs/ufshcd.c > +++ b/drivers/scsi/ufs/ufshcd.c > @@ -5598,6 +5598,32 @@ static int ufshcd_clear_tm_cmd(struct ufs_hba *hba, > int tag) > return err; > } > > +static void

Targeted Global B2B Companies emails list

2018-09-04 Thread theresa . billy
Hi, Hope all is well! We are a database organization. We provide business executives' contact information. Below, I've included a few examples: Industry-Specific Lists: Agriculture, Business Services, Chambers of Commerce, Cities, Towns & Municipalities, Construction, Consumer Services,

[PATCH v5] target/iblock: split T10 PI SGL across command bios

2018-09-04 Thread Greg Edwards
When T10 PI is enabled on a backing device for the iblock backstore, the PI SGL for the entire command is attached to the first bio only. This works fine if the command is covered by a single bio, but can result in ref tag errors in the client for the other bios in a multi-bio command, e.g. [

Re: [PATCH v4] target/iblock: split T10 PI SGL across command bios

2018-09-04 Thread Mike Christie
On 09/04/2018 11:21 AM, Greg Edwards wrote: > static int > -iblock_alloc_bip(struct se_cmd *cmd, struct bio *bio) > +iblock_alloc_bip(struct se_cmd *cmd, struct bio *bio, > + struct sg_mapping_iter *miter) > { > struct se_device *dev = cmd->se_dev; > struct blk_integrity

Re: [PATCH v3] target/iblock: split T10 PI SGL across command bios

2018-09-04 Thread Greg Edwards
On Sat, Sep 01, 2018 at 08:42:16AM +0800, kbuild test robot wrote: > Hi Greg, > > Thank you for the patch! Perhaps something to improve: > > [auto build test WARNING on target/for-next] > [also build test WARNING on v4.19-rc1 next-20180831] > [if your patch is applied to the wrong git tree, please

[PATCH v4] target/iblock: split T10 PI SGL across command bios

2018-09-04 Thread Greg Edwards
When T10 PI is enabled on a backing device for the iblock backstore, the PI SGL for the entire command is attached to the first bio only. This works fine if the command is covered by a single bio, but can result in ref tag errors in the client for the other bios in a multi-bio command, e.g. [

Re: [Patch v1 0/7] mpt3sas: Hot-Plug Surprise removal support on IOC.

2018-09-04 Thread Lukas Wunner
On Tue, Sep 04, 2018 at 11:19:04AM +0530, Sreekanth Reddy wrote: > On Fri, Aug 31, 2018 at 2:25 PM, Lukas Wunner wrote: > > * Just reading the vendor ID may not be sufficient to detect unplug, > > it may also read as "all ones" if the link is down due to error > > recovery by DPC. > > So, is

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

2018-09-04 Thread Johannes Thumshirn
Acked-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) Key