RE: What partition should the MTMKPART argument specify? Was: Re: st driver doesn't seem to grok LTO partitioning

2016-01-27 Thread Seymour, Shane M
Hi Kai, With the changes the I get a failure partitioning a HP DAT72 drive (DDS-5): # ./mt -f /dev/st1 stsetoption debug # ./mt -f /dev/st1 stsetoption can-partitions # ./mt -f /dev/st1 mkpartition 1000 /dev/st1: Input/output error [ 3944.387190] st: Unloaded. [ 3949.420128] st: Version 20160124

RE: [PATCH 10/15] megaraid_sas: IO throttling support

2016-01-27 Thread Sumit Saxena
> -Original Message- > From: Tomas Henzl [mailto:the...@redhat.com] > Sent: Tuesday, January 19, 2016 7:08 PM > To: Sumit Saxena; jbottom...@parallels.com; h...@infradead.org; > martin.peter...@oracle.com > Cc: linux-scsi@vger.kernel.org; kashyap.de...@avagotech.com > Subject: Re: [PATCH 10

Re: [PATCH] storvsc: use small sg_tablesize on x86

2016-01-27 Thread Olaf Hering
On Wed, Jan 27, James Bottomley wrote: > It's not really architecture independent, is it? Just use the bit > width config. Again: which one? This driver is not for mips|powerpc|score|sh. Olaf -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to ma

[mpt3sas driver 01/10] mpt3sas: Added support for high port count HBA variants.

2016-01-27 Thread Suganath prabu Subaramani
From: Suganath prabu Subramani Updated hardware description headers with MPI v2.6 and mpt3sas_pci_table[] with vendor_ids,device_ids of Cutlass and Intruder HBA which has support for 4 ports Signed-off-by: Suganath prabu Subramani Signed-off-by: Chaitra P B --- drivers/scsi/mpt3sas/mpi/mpi2.h

[mpt3sas driver 02/10] mpt3sas: Used IEEE SGL instead of MPI SGL while framing a SMP Passthrough request message.

2016-01-27 Thread Suganath prabu Subaramani
From: Suganath prabu Subramani As driver was using MPI SGL while framing the SMP Passthrough request message due to which firmware unable to post the Reply Data in the host memory and timeout is observed for this SMP Passthrough request message and so unable to perform phy disable operation. Sig

[mpt3sas driver 04/10] mpt3sas: Never block the Enclosure device

2016-01-27 Thread Suganath prabu Subaramani
From: Suganath prabu Subramani Never block the SEP device (i.e. Never invoke the scsi_internal_device_block() API for SEP device) even for the delay not responding events. Blocking the SEP device will create a deadlock while adding any device to the OS. Signed-off-by: Suganath prabu Subramani S

[mpt3sas driver 08/10] mpt3sas: Updated MPI Header to 2.00.42

2016-01-27 Thread Suganath prabu Subaramani
From: Suganath prabu Subramani Updated MPI version and MPI header files. Signed-off-by: Suganath prabu Subramani Signed-off-by: Chaitra P B --- drivers/scsi/mpt3sas/mpi/mpi2.h | 8 +--- drivers/scsi/mpt3sas/mpi/mpi2_cnfg.h | 7 +-- drivers/scsi/mpt3sas/mpi/mpi2_init.h | 3 ++- dr

[mpt3sas driver 06/10] mpt3sas: Added smp_affinity_enable module parameter.

2016-01-27 Thread Suganath prabu Subaramani
From: Suganath prabu Subramani Module parameter to enable/disable configuring affinity hint for msix vector. SMP affinity feature can be enabled/disabled by setting module parameter "smp_affinity_enable" to 1/0. By default this feature is enabled. (smp_affinity_enable = 1 enabled). Signed-off-by

[mpt3sas driver 07/10] mpt3sas: Add support for configurable Chain Frame Size

2016-01-27 Thread Suganath prabu Subaramani
From: Suganath prabu Subramani Added support for configurable Chain Frame Size. Calculate the Chain Message Frame size from the IOCMaxChainSegementSize (iocfacts). Applicable only for mpt3sas/SAS3.0 HBA's. Signed-off-by: Suganath prabu Subramani Signed-off-by: Chaitra P B --- drivers/scsi/mpt

[mpt3sas driver 10/10] mpt3sas: Updating mpt3sas driver version to 12.100.00.00

2016-01-27 Thread Suganath prabu Subaramani
From: Suganath prabu Subramani Bump mpt3sas driver version from 09.102.00.00 to 12.100.00.00 Signed-off-by: Suganath prabu Subramani Signed-off-by: Chaitra P B --- drivers/scsi/mpt3sas/mpt3sas_base.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/mpt3sa

[mpt3sas driver 09/10] mpt3sas: Fix for Asynchronous completion of timedout IO and task abort of timedout IO.

2016-01-27 Thread Suganath prabu Subaramani
From: Suganath prabu Subramani Track msix of each IO and use the same msix for issuing abort to timed out IO. With this driver will process IO's reply first followed by TM. Signed-off-by: Suganath prabu Subramani Signed-off-by: Chaitra P B --- drivers/scsi/mpt3sas/mpt3sas_base.c | 20 +++

[mpt3sas driver 05/10] mpt3sas: Make use of additional HighPriority credit message frames for sending SCSI IO's

2016-01-27 Thread Suganath prabu Subaramani
From: Suganath prabu Subramani Driver assumes HighPriority credit as part of Global credit. But, Firmware treats HighPriority credit value and global cedits as two different values. Changed host queue algorithm to treat global credits and highPriority credits as two different values. Signed-off-

[mpt3sas driver 03/10] mpt3sas: Fix static analyzer(coverity) tool identified defects

2016-01-27 Thread Suganath prabu Subaramani
From: Suganath prabu Subramani 1.Wrong size of argument is being passed The size of struct being passed as an argument to memset func and area of memory being pointed by an instance of struct in memset func should be of same structure type. 2.Dereference null return value 3.Array compared agai

[mpt3sas driver patches 00/10] mpt3sas driver enhancements and

2016-01-27 Thread Suganath prabu Subaramani
From: Suganath prabu Subramani Here is the change list: Posting 10 patches for mpt3sas driver enhancements and few fixes. * Updated hardware description headers with MPI v2.6 and mpt3sas_pci_table[] with vendor_ids,device_ids of Cutlass and Intruder HBA which has support for 4 ports.

Re: [LSF/MM TOPIC] LIO/SCST Merger

2016-01-27 Thread Nicholas A. Bellinger
On Wed, 2016-01-27 at 09:54 -0800, Bart Van Assche wrote: > Last year, during the 2015 LSF/MM summit, it has been decided that the > LIO/SCST merger project should proceed by sending the functionality > upstream that is present in SCST but not yet in LIO. This will help to > reduce the workload

Re: [PATCH 1/1] scsi: storvsc: Fix a build issue reported by kbuild test robot

2016-01-27 Thread James Bottomley
On Wed, 2016-01-27 at 23:29 -0800, K. Y. Srinivasan wrote: > tree: https://na01.safelinks.protection.outlook.com/?url=https%3a%2 > f%2fgit.kernel.org%2fpub%2fscm%2flinux%2fkernel%2fgit%2ftorvalds%2fli > nux.git&data=01%7c01%7ckys%40microsoft.com%7ce2e0622715844b79ad7108d3 > 2796ec3c%7c72f988bf86f

Re: [PATCH] storvsc: use small sg_tablesize on x86

2016-01-27 Thread James Bottomley
On Wed, 2016-01-27 at 23:09 +, KY Srinivasan wrote: > > > -Original Message- > > From: Olaf Hering [mailto:o...@aepfle.de] > > Sent: Monday, January 25, 2016 12:35 AM > > To: James Bottomley > > Cc: KY Srinivasan ; Haiyang Zhang > > ; linux-ker...@vger.kernel.org; linux- > > s...@vger

[PATCH 1/1] scsi: storvsc: Fix a build issue reported by kbuild test robot

2016-01-27 Thread K. Y. Srinivasan
tree: https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fgit.kernel.org%2fpub%2fscm%2flinux%2fkernel%2fgit%2ftorvalds%2flinux.git&data=01%7c01%7ckys%40microsoft.com%7ce2e0622715844b79ad7108d32796ec3c%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=ubr4GbBaNS%2ftOz%2buJBk0CL9N0UNG9x2Ti

Re: [PATCH-v2 1/3] target: Fix LUN_RESET active I/O handling for ACK_KREF

2016-01-27 Thread Nicholas A. Bellinger
On Tue, 2016-01-26 at 18:19 +0100, Christoph Hellwig wrote: > > +static bool __target_check_io_state(struct se_cmd *se_cmd) > > +{ > > + struct se_session *sess = se_cmd->se_sess; > > + > > + assert_spin_locked(&se_session->sess_cmd_lock); > > + WARN_ON_ONCE(!irqs_disabled()); > > Btw, I loo

Re: [PATCH-v2 11/12] xen-scsiback: Convert to percpu_ida tag allocation

2016-01-27 Thread Nicholas A. Bellinger
On Wed, 2016-01-27 at 11:57 +0100, Juergen Gross wrote: > On 27/01/16 07:28, Nicholas A. Bellinger wrote: > > On Tue, 2016-01-26 at 10:45 +0100, Juergen Gross wrote: > >> On 25/01/16 09:11, Nicholas A. Bellinger wrote: > >>> From: Nicholas Bellinger > >>> > >>> Cc: Juergen Gross > >>> Cc: Hannes

[LSF/MM TOPIC] NVMe target support

2016-01-27 Thread Nicholas A. Bellinger
Hi lsf-pc & Co, I'd like to propose a NVMe target discussion topic for LSF/MM 2016. My interest wrt NVMe target drivers is specifically around using shared infrastructure with existing TCM backend drivers (IBLOCK, FILEIO, RAMDISK), and how se_device->dev_group configfs symlinks can be associated

NEW ARRIVALS, CISCO,CPU's,Memory, LAPTOP AND AVAYA

2016-01-27 Thread Laison Computech Inc
Dear Sir/Madam, Clean tested working pulls CPUs and QTYs in stock. 115 X X5650 65 X E5410 75 X X5660 145 X E5530 100 X E5645 40 X X5680 75 X X5690 Brand new sealed IP phones and QTYs in stock. 55 x CP-7937G 77 x CP-7942G 54 x CP-7945G 75 x CP-7962G .. 45 x Avaya 9630 6

[PATCH V1] scsi: export function scsi_scan.c:sanitize_inquiry_string

2016-01-27 Thread Don Brace
The hpsa driver uses this function to cleanup inquiry data. Our new pqi driver will also use this function. This function was copied into both drivers. This patch exports sanitize_inquiry_string so the hpsa and the pqi drivers can use this function directly. Hannes recommended the change in revie

[PATCH V1] scsi update

2016-01-27 Thread Don Brace
This patch is based on Linus's tree The change is: - export sanitize_inquiry_string Changes from initial upload: - Added prototype to scsi_device.h --- Don Brace (1): scsi: export function scsi_scan.c:sanitize_inquiry_string drivers/scsi/scsi_scan.c | 12 +++- include/scs

[PATCH V2 0/2] scsi: storvsc: Miscellaneous fixes

2016-01-27 Thread K. Y. Srinivasan
Some miscellaneous fixes. V2: addressed comments from Hannes Reinecke K. Y. Srinivasan (2): scsi: storvsc: Install the storvsc specific timeout handler for FC devices scsi: storvsc: Use the specified target ID in device lookup drivers/scsi/storvsc_drv.c | 16 +++- 1 files

Re: [Bug 111381] mvsas 0.8.16 on Marvell 88SE9485 reports timeouts on load

2016-01-27 Thread James Bottomley
On Thu, 2016-01-28 at 00:37 +, bugzilla-dae...@bugzilla.kernel.org wrote: > https://bugzilla.kernel.org/show_bug.cgi?id=111381 > > --- Comment #2 from Gabriel A. Devenyi --- > After a check and reseat of all cables, now getting this in dmesg: > [ 4386.920825] sd 3:0:4:0: [sdn] tag#0 FAILED Re

[PATCH V2 2/2] scsi: storvsc: Use the specified target ID in device lookup

2016-01-27 Thread K. Y. Srinivasan
The current code assumes that there is only one target in device lookup. Fix this bug. This will alow us to correctly handle hot reomoval of LUNs. Signed-off-by: K. Y. Srinivasan Reviewed-by: Alex Ng Tested-by: Vivek Yadav --- V2: Made lun and target_id unsigned 8 bit entities - Hannes

[PATCH V2 1/2] scsi: storvsc: Install the storvsc specific timeout handler for FC devices

2016-01-27 Thread K. Y. Srinivasan
The default timeout routine used for FC transport is not suitable for FC devices managed by storvsc since FC devices managed by storvsc driver do not have an rport associated with them. Use the time out handler used for SCSI devices for FC devices as well. Signed-off-by: K. Y. Srinivasan Reviewed

[Bug 111381] mvsas 0.8.16 on Marvell 88SE9485 reports timeouts on load

2016-01-27 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=111381 --- Comment #2 from Gabriel A. Devenyi --- After a check and reseat of all cables, now getting this in dmesg: [ 4386.920825] sd 3:0:4:0: [sdn] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [ 4386.920834] sd 3:0:4:0: [sdn] tag#0 Sen

RE: [PATCH] storvsc: use small sg_tablesize on x86

2016-01-27 Thread KY Srinivasan
> -Original Message- > From: Olaf Hering [mailto:o...@aepfle.de] > Sent: Monday, January 25, 2016 12:35 AM > To: James Bottomley > Cc: KY Srinivasan ; Haiyang Zhang > ; linux-ker...@vger.kernel.org; linux- > s...@vger.kernel.org > Subject: Re: [PATCH] storvsc: use small sg_tablesize on x

[Bug 111381] mvsas 0.8.16 on Marvell 88SE9485 reports timeouts on load

2016-01-27 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=111381 --- Comment #1 from Gabriel A. Devenyi --- Okay, I'll move around the cables and see if the problems move with them. -- You are receiving this mail because: You are watching the assignee of the bug. -- To unsubscribe from this list: send the li

Re: [Bug 111381] New: mvsas 0.8.16 on Marvell 88SE9485 reports timeouts on load

2016-01-27 Thread James Bottomley
On Wed, 2016-01-27 at 21:56 +, bugzilla-dae...@bugzilla.kernel.org wrote: > https://bugzilla.kernel.org/show_bug.cgi?id=111381 > > Bug ID: 111381 >Summary: mvsas 0.8.16 on Marvell 88SE9485 reports timeouts > on > load >Product: SCSI Drive

[Bug 111381] New: mvsas 0.8.16 on Marvell 88SE9485 reports timeouts on load

2016-01-27 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=111381 Bug ID: 111381 Summary: mvsas 0.8.16 on Marvell 88SE9485 reports timeouts on load Product: SCSI Drivers Version: 2.5 Kernel Version: 4.1.15 Hardware: x86-64

Re: [PATCH 03/11] qla2xxx: Allow fw to hold status before sending ABTS response.

2016-01-27 Thread Himanshu Madhani
On 1/27/16, 12:24 AM, "Hannes Reinecke" wrote: >On 01/26/2016 06:10 PM, Himanshu Madhani wrote: >> Set bit 12 of additional firmware options 3 to let firmware >> hold status IOCB until ABTS response is received from Target. >> >> Signed-off-by: Himanshu Madhani >> Signed-off-by: Giridhar Malav

Re: [Lsf-pc] [LSF/MM TOPIC] LIO/SCST Merger

2016-01-27 Thread James Bottomley
On Wed, 2016-01-27 at 10:19 -0800, Bart Van Assche wrote: > On 01/27/2016 10:08 AM, James Bottomley wrote: > > On Wed, 2016-01-27 at 09:54 -0800, Bart Van Assche wrote: > > > Last year, during the 2015 LSF/MM summit, it has been decided > > > that > > > the LIO/SCST merger project should proceed by

Re: [Lsf-pc] [LSF/MM TOPIC] LIO/SCST Merger

2016-01-27 Thread Bart Van Assche
On 01/27/2016 10:08 AM, James Bottomley wrote: On Wed, 2016-01-27 at 09:54 -0800, Bart Van Assche wrote: Last year, during the 2015 LSF/MM summit, it has been decided that the LIO/SCST merger project should proceed by sending the functionality upstream that is present in SCST but not yet in LIO.

RE: [PATCH 07/15] megaraid_sas: Reply Descriptor Post Queue(RDPQ) support

2016-01-27 Thread Sumit Saxena
Tomas, This reply was stuck in my outbox(was not sent). Just realized now this when reworking on patches to accommodate your feedback. Apologies for late reply. Thanks, Sumit > -Original Message- > From: Tomas Henzl [mailto:the...@redhat.com] > Sent: Thursday, January 14, 2016 11:09 PM >

Re: [Lsf-pc] [LSF/MM TOPIC] LIO/SCST Merger

2016-01-27 Thread James Bottomley
On Wed, 2016-01-27 at 09:54 -0800, Bart Van Assche wrote: > Last year, during the 2015 LSF/MM summit, it has been decided that > the LIO/SCST merger project should proceed by sending the > functionality upstream that is present in SCST but not yet in LIO. > This will help to reduce the workload

RE: [PATCH V3 7/9] aacraid: Fix AIF triggered IOP_RESET

2016-01-27 Thread Raghava Aditya Renukunta
Hello Martin, > -Original Message- > From: Martin K. Petersen [mailto:martin.peter...@oracle.com] > Sent: Tuesday, January 26, 2016 6:31 PM > To: Raghava Aditya Renukunta > Cc: Tomas Henzl; james.bottom...@hansenpartnership.com; > martin.peter...@oracle.com; linux-scsi@vger.kernel.org; Mah

[LSF/MM TOPIC] LIO/SCST Merger

2016-01-27 Thread Bart Van Assche
Last year, during the 2015 LSF/MM summit, it has been decided that the LIO/SCST merger project should proceed by sending the functionality upstream that is present in SCST but not yet in LIO. This will help to reduce the workload of target driver maintainers that maintain a version of their tar

[LSF/MM TOPIC] Improving DISCARD support

2016-01-27 Thread Bart Van Assche
Increasing the discard granularity of an SSD helps with reducing the production cost of an SSD. This makes it likely that in the future even more SSDs will have a discard granularity that is larger than the block size than today. Kernel drivers like DRBD and OCFS2 need a way to efficiently eras

[PATCH v2 07/11] qla2xxx: Avoid side effects when using endianizer macros.

2016-01-27 Thread Himanshu Madhani
From: Joe Carnuccio Signed-off-by: Joe Carnuccio Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_attr.c |4 +- drivers/scsi/qla2xxx/qla_dbg.c| 141 - drivers/scsi/qla2xxx/qla_init.c | 16 ++-- drivers/scsi/qla2xxx/qla_inline.h |

[PATCH v2 06/11] qla2xxx: Add support for Private link statistics counters.

2016-01-27 Thread Himanshu Madhani
From: Harish Zunjarrao Signed-off-by: Harish Zunjarrao Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_attr.c |6 ++- drivers/scsi/qla2xxx/qla_bsg.c | 61 +++ drivers/scsi/qla2xxx/qla_bsg.h |1 + drivers/scsi/qla2xxx/qla_dbg.c |

[PATCH v2 05/11] qla2xxx: Add support for buffer to buffer credit value for ISP27XX.

2016-01-27 Thread Himanshu Madhani
From: Sawan Chandak Signed-off-by: Sawan Chandak Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_bsg.c | 55 drivers/scsi/qla2xxx/qla_bsg.h | 24 + drivers/scsi/qla2xxx/qla_def.h |2 + drivers/scsi/qla2xxx/qla_fw.h

[PATCH v2 01/11] qla2xxx: Remove unneeded link offline message.

2016-01-27 Thread Himanshu Madhani
From: Chad Dupuis Signed-off-by: Chad Dupuis Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_dbg.c |1 + drivers/scsi/qla2xxx/qla_isr.c |4 2 files changed, 1 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_dbg.c b/drivers/scsi/qla2xxx/qla_dbg.c i

[PATCH v2 02/11] qla2xxx: Seed init-cb login timeout from nvram exclusively.

2016-01-27 Thread Himanshu Madhani
From: Joe Carnuccio Signed-off-by: Joe Carnuccio Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_init.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index 52a8765..a663ff6 100644 --- a/

[PATCH v2 10/11] qla2xxx: Set relogin flag when we fail to queue login requests.

2016-01-27 Thread Himanshu Madhani
From: Chad Dupuis If we fail to queue an srb for an async login we should set the relogin flag so it will be retried as the reason for the queuing failure was most likely transient. Failure to do this can lead to failed paths as login is never retried if the relogin flag is not set. Signed-off-

[PATCH v2 00/11] qla2xxx: Patches for scsi "misc" branch.

2016-01-27 Thread Himanshu Madhani
Hi James, Martin, Please apply following patches to the scsi tree, misc branch at your earliest convenience. Changes from v1 --> v2 o Fix kbuild warning for following patch "qla2xxx: Avoid side effects when using endianizer macros." Thanks, - Himanshu Chad Dupuis (2): qla2xxx: Remove

[PATCH v2 04/11] qla2xxx: Add support for online flash update for ISP27XX.

2016-01-27 Thread Himanshu Madhani
From: Sawan Chandak Signed-off-by: Sawan Chandak Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_attr.c | 12 - drivers/scsi/qla2xxx/qla_bsg.c | 80 ++ drivers/scsi/qla2xxx/qla_bsg.h |7 +++ drivers/scsi/qla2xxx/qla_dbg.c |2 +- d

[PATCH v2 11/11] qla2xxx: Update driver version to 8.07.00.33-k

2016-01-27 Thread Himanshu Madhani
Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_version.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_version.h b/drivers/scsi/qla2xxx/qla_version.h index 6d31faa..0bc93fa 100644 --- a/drivers/scsi/qla2xxx/qla_version.h +++ b/dr

[PATCH v2 09/11] qla2xxx: Enable T10-DIF for ISP27XX

2016-01-27 Thread Himanshu Madhani
Signed-off-by: Himanshu Madhani Signed-off-by: Giridhar Malavali --- drivers/scsi/qla2xxx/qla_os.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index d94a236..fa017e9 100644 --- a/drivers/scsi/qla2xxx/qla

[PATCH v2 08/11] qla2xxx: Provide mbx info in BBCR data after mbx failure

2016-01-27 Thread Himanshu Madhani
From: Harish Zunjarrao Signed-off-by: Harish Zunjarrao Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_bsg.c |9 +++-- drivers/scsi/qla2xxx/qla_bsg.h |4 +++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_bsg.c b/drivers/scsi/

[PATCH v2 03/11] qla2xxx: Allow fw to hold status before sending ABTS response.

2016-01-27 Thread Himanshu Madhani
Set bit 12 of additional firmware options 3 to let firmware hold status IOCB until ABTS response is received from Target. Signed-off-by: Himanshu Madhani Signed-off-by: Giridhar Malavali --- drivers/scsi/qla2xxx/qla_gbl.h |1 + drivers/scsi/qla2xxx/qla_init.c | 11 ++- drivers/sc

Re: [PATCH] add driver for DesignWare UFS Host Controller

2016-01-27 Thread Joao Pinto
Hi! I am currently working in the implementation of DesignWare Quirks in the existing UFS core and implementing a glue platform driver. The project status is the following: - Synopsys MPHY Test Chip is well configured - Link is up in Host & Device (validated through the 0xd083 register) - Addition

UFS Help: OCS is returning invalid (0x7)

2016-01-27 Thread Joao Pinto
Hi! I am currently working in the implementation of DesignWare Quirks in the existing UFS core and implementing a glue platform driver. The project status is the following: - Synopsys MPHY Test Chip is well configured - Link is up in Host & Device (validated through the 0xd083 register) - Addition

Re: [PATCH v3] mptlan: add checks for dma mapping errors

2016-01-27 Thread James Bottomley
On Wed, 2016-01-27 at 17:14 +0100, Tomas Henzl wrote: > On 27.1.2016 06:44, Sathya Prakash wrote: > > There is no fusion based network card and resources exists today in > > Avago(LSI) to test this patch so we prefer to leave it as is. We > > would > > like to prevent any new changes on MPT (FC/SCS

Re: [PATCH v3] mptlan: add checks for dma mapping errors

2016-01-27 Thread Tomas Henzl
On 27.1.2016 06:44, Sathya Prakash wrote: > There is no fusion based network card and resources exists today in > Avago(LSI) to test this patch so we prefer to leave it as is. We would > like to prevent any new changes on MPT (FC/SCSI/SAS/LAN) drivers as we > don't have support for those cards anym

[PATCH 3/7] scsi: acornscsi: mark calc_sync_xfer as __maybe_unused

2016-01-27 Thread Arnd Bergmann
The calc_sync_xfer function is only used if CONFIG_SCSI_ACORNSCSI_SYNC is set, otherwise we get a compiler warning: scsi/arm/acornscsi.c:680:15: warning: 'calc_sync_xfer' defined but not used [-Wunused-function] unsigned char calc_sync_xfer(unsigned int period, unsigned int offset) This marks t

[PATCH 0/7] SCSI bug fixes for 4.6

2016-01-27 Thread Arnd Bergmann
Here are a bunch of fixes for harmless bugs I found during ARM randconfig testing. It would be nice to get them mered in 4.6, but there is no need to have them in 4.5 as no incorrect behavior results from the current code, and the warnings are all hard to trigger. Arnd Bergmann (7): scsi: fdomai

[PATCH 1/7] scsi: fdomain: drop fdomain_pci_tbl when built-in

2016-01-27 Thread Arnd Bergmann
The fdomain SCSI host driver is one of the last remaining drivers that manually search the PCI bus using pci_get_device rather than registering a pci_driver instance. This means the module device table is unused when the driver is built-in, and we get a warning about it: drivers/scsi/fdomain.c:17

[PATCH 4/7] scsi: fas216: avoid fas216_log_setup for loadable module

2016-01-27 Thread Arnd Bergmann
We get a warning for the fas216 driver when it is compiled as a loadable module, as the __setup() functions are never called then: scsi/arm/fas216.c:101:19: warning: 'fas216_log_setup' defined but not used [-Wunused-function] static int __init fas216_log_setup(char *str) This adds an #ifndef MO

[PATCH 5/7] scsi: qla4xxx: shut up warning for rd_reg_indirect

2016-01-27 Thread Arnd Bergmann
The qla4_83xx_rd_reg_indirect() function can fail when it is unable to read a register, but not all callers check its return value before using the register data, and gcc correctly warns about this: qla4xxx/ql4_83xx.c: In function 'qla4_83xx_process_reset_template': qla4xxx/ql4_83xx.c:1073:36: war

[PATCH 7/7] scsi_dh: force modular build if SCSI is a module

2016-01-27 Thread Arnd Bergmann
When the scsi_dh core was moved into the scsi core module, CONFIG_SCSI_DH became a 'bool' option, and now anything depending on it can be built-in even when CONFIG_SCSI=m. This of course cannot link successfully: drivers/scsi/built-in.o: In function `rdac_init': scsi_dh_alua.c:(.init.text+0x14): u

[PATCH 6/7] scsi: aha1542: avoid uninitialized variable warnings

2016-01-27 Thread Arnd Bergmann
Gcc incorrectly detects that two variables in aha1542_queuecommand might be used without an initialization: scsi/aha1542.c: In function 'aha1542_queuecommand': scsi/aha1542.c:382:16: error: 'cptr' may be used uninitialized in this function [-Werror=maybe-uninitialized] scsi/aha1542.c:379:11: erro

[PATCH 2/7] mptfusion: hide unused seq_mpt_print_ioc_summary function

2016-01-27 Thread Arnd Bergmann
The seq_mpt_print_ioc_summary function is used for the /proc/mpt/iocN/summary implementation and never gets called when CONFIG_PROC_FS is disabled: drivers/message/fusion/mptbase.c:6851:13: warning: 'seq_mpt_print_ioc_summary' defined but not used [-Wunused-function] static void seq_mpt_print_io

[PATCH] SCSI: Add Marvell Console to VPD blacklist

2016-01-27 Thread Mika Westerberg
I have a Marvell 88SE9230 SATA Controller that has some sort of integrated console SCSI device attached to one of the ports. ata14: SATA link up 1.5 Gbps (SStatus 113 SControl 300) ata14.00: ATAPI: MARVELL VIRTUALL, 1.09, max UDMA/66 ata14.00: configured for UDMA/66 scsi 13:0:0:0: Processo

Re: [PATCH-v2 11/12] xen-scsiback: Convert to percpu_ida tag allocation

2016-01-27 Thread Juergen Gross
On 27/01/16 07:28, Nicholas A. Bellinger wrote: > On Tue, 2016-01-26 at 10:45 +0100, Juergen Gross wrote: >> On 25/01/16 09:11, Nicholas A. Bellinger wrote: >>> From: Nicholas Bellinger >>> >>> Cc: Juergen Gross >>> Cc: Hannes Reinecke >>> Cc: David Vrabel >>> Signed-off-by: Nicholas Bellinger

Re: [PATCH 10/11] qla2xxx: Set relogin flag when we fail to queue login requests.

2016-01-27 Thread Hannes Reinecke
On 01/26/2016 06:10 PM, Himanshu Madhani wrote: > From: Chad Dupuis > > If we fail to queue an srb for an async login we should set the > relogin flag so it will be retried as the reason for the queuing > failure was most likely transient. Failure to do this can lead to > failed paths as login i

Re: [PATCH 11/11] qla2xxx: Update driver version to 8.07.00.33-k

2016-01-27 Thread Hannes Reinecke
On 01/26/2016 06:10 PM, Himanshu Madhani wrote: > Signed-off-by: Himanshu Madhani > --- > drivers/scsi/qla2xxx/qla_version.h |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/scsi/qla2xxx/qla_version.h > b/drivers/scsi/qla2xxx/qla_version.h > index 6d31faa..

Re: [PATCH 09/11] qla2xxx: Enable T10-DIF for ISP27XX

2016-01-27 Thread Hannes Reinecke
On 01/26/2016 06:10 PM, Himanshu Madhani wrote: > Signed-off-by: Himanshu Madhani > Signed-off-by: Giridhar Malavali > --- > drivers/scsi/qla2xxx/qla_os.c |3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > Reviewed-by: Hannes Reinecke Cheers, Hannes -- Dr. Hannes Reinecke

Re: [PATCH 08/11] qla2xxx: Provide mbx info in BBCR data after mbx failure

2016-01-27 Thread Hannes Reinecke
On 01/26/2016 06:10 PM, Himanshu Madhani wrote: > From: Harish Zunjarrao > > Signed-off-by: Harish Zunjarrao > Signed-off-by: Himanshu Madhani > --- > drivers/scsi/qla2xxx/qla_bsg.c |9 +++-- > drivers/scsi/qla2xxx/qla_bsg.h |4 +++- > 2 files changed, 10 insertions(+), 3 deletions

Re: [PATCH 07/11] qla2xxx: Avoid side effects when using endianizer macros.

2016-01-27 Thread Hannes Reinecke
On 01/26/2016 06:10 PM, Himanshu Madhani wrote: > From: Joe Carnuccio > > Signed-off-by: Joe Carnuccio > Signed-off-by: Himanshu Madhani > --- > drivers/scsi/qla2xxx/qla_attr.c |4 +- > drivers/scsi/qla2xxx/qla_dbg.c| 141 > - > drivers/scsi/qla2

Re: [PATCH 06/11] qla2xxx: Add support for Private link statistics counters.

2016-01-27 Thread Hannes Reinecke
On 01/26/2016 06:10 PM, Himanshu Madhani wrote: > From: Harish Zunjarrao > > Signed-off-by: Harish Zunjarrao > Signed-off-by: Himanshu Madhani > --- > drivers/scsi/qla2xxx/qla_attr.c |6 ++- > drivers/scsi/qla2xxx/qla_bsg.c | 61 > +++ > drivers/scsi

Re: [PATCH 05/11] qla2xxx: Add support for buffer to buffer credit value for ISP27XX.

2016-01-27 Thread Hannes Reinecke
On 01/26/2016 06:10 PM, Himanshu Madhani wrote: > From: Sawan Chandak > > Signed-off-by: Sawan Chandak > Signed-off-by: Himanshu Madhani > --- > drivers/scsi/qla2xxx/qla_bsg.c | 55 > > drivers/scsi/qla2xxx/qla_bsg.h | 24 + > drive

Re: [PATCH 04/11] qla2xxx: Add support for online flash update for ISP27XX.

2016-01-27 Thread Hannes Reinecke
On 01/26/2016 06:10 PM, Himanshu Madhani wrote: > From: Sawan Chandak > > Signed-off-by: Sawan Chandak > Signed-off-by: Himanshu Madhani > --- > drivers/scsi/qla2xxx/qla_attr.c | 12 - > drivers/scsi/qla2xxx/qla_bsg.c | 80 ++ > drivers/scsi/qla2xxx/qla

Re: [PATCH 03/11] qla2xxx: Allow fw to hold status before sending ABTS response.

2016-01-27 Thread Hannes Reinecke
On 01/26/2016 06:10 PM, Himanshu Madhani wrote: > Set bit 12 of additional firmware options 3 to let firmware > hold status IOCB until ABTS response is received from Target. > > Signed-off-by: Himanshu Madhani > Signed-off-by: Giridhar Malavali > --- > drivers/scsi/qla2xxx/qla_gbl.h |1 + >

Re: [PATCH 01/11] qla2xxx: Remove unneeded link offline message.

2016-01-27 Thread Hannes Reinecke
On 01/26/2016 06:10 PM, Himanshu Madhani wrote: > From: Chad Dupuis > > Signed-off-by: Chad Dupuis > Signed-off-by: Himanshu Madhani > --- > drivers/scsi/qla2xxx/qla_dbg.c |1 + > drivers/scsi/qla2xxx/qla_isr.c |4 > 2 files changed, 1 insertions(+), 4 deletions(-) > Reviewed-by:

Re: [PATCH 02/11] qla2xxx: Seed init-cb login timeout from nvram exclusively.

2016-01-27 Thread Hannes Reinecke
On 01/26/2016 06:10 PM, Himanshu Madhani wrote: > From: Joe Carnuccio > > Signed-off-by: Joe Carnuccio > Signed-off-by: Himanshu Madhani > --- > drivers/scsi/qla2xxx/qla_init.c |3 --- > 1 files changed, 0 insertions(+), 3 deletions(-) > Reviewed-by: Hannes Reinecke Cheers, Hannes --

RE: [PATCH v4 00/17] be2iscsi: driver update 11.0.0.0

2016-01-27 Thread Jitendra Bhivare
> -Original Message- > From: Martin K. Petersen [mailto:martin.peter...@oracle.com] > Sent: Wednesday, January 27, 2016 7:15 AM > To: Jitendra Bhivare > Cc: linux-scsi@vger.kernel.org; micha...@cs.wisc.edu > Subject: Re: [PATCH v4 00/17] be2iscsi: driver update 11.0.0.0 > > > "Jitendra"