[PATCH v2 04/23] bfa: Use pci_enable_msix_exact() instead of pci_enable_msix()

2014-02-24 Thread Alexander Gordeev
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() or pci_enable_msi_exact() and pci_enable_msix_range() or pci_enable_msix_exact() interfaces.

[PATCH v2 23/23] vmw_pvscsi: Use pci_enable_msix_exact() instead of pci_enable_msix()

2014-02-24 Thread Alexander Gordeev
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() or pci_enable_msi_exact() and pci_enable_msix_range() or pci_enable_msix_exact() interfaces.

[PATCH v2 09/23] hpsa: Use pci_enable_msix_exact() instead of pci_enable_msix()

2014-02-24 Thread Alexander Gordeev
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() or pci_enable_msi_exact() and pci_enable_msix_range() or pci_enable_msix_exact() interfaces.

[PATCH v2 08/23] hpsa: Fallback to MSI rather than to INTx if MSI-X failed

2014-02-24 Thread Alexander Gordeev
Currently the driver falls back to INTx mode when MSI-X initialization failed. This is a suboptimal behaviour for chips that also support MSI. This update changes that behaviour and falls back to MSI mode in case MSI-X mode initialization failed. Signed-off-by: Alexander Gordeev

[PATCH v2 17/23] pm8001: Fix invalid return when request_irq() failed

2014-02-24 Thread Alexander Gordeev
When a call to request_irq() failed pm8001_setup_msix() still returns the success. This udate fixes the described misbehaviour. Signed-off-by: Alexander Gordeev agord...@redhat.com Cc: xjtu...@gmail.com Cc: lindar_...@usish.com Cc: linux-scsi@vger.kernel.org Cc: linux-...@vger.kernel.org

[PATCH v2 18/23] pm8001: Use pci_enable_msix_exact() instead of pci_enable_msix()

2014-02-24 Thread Alexander Gordeev
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() or pci_enable_msi_exact() and pci_enable_msix_range() or pci_enable_msix_exact() interfaces.

[PATCH v2 22/23] qla4xxx: Use pci_enable_msix_exact() instead of pci_enable_msix()

2014-02-24 Thread Alexander Gordeev
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() or pci_enable_msi_exact() and pci_enable_msix_range() or pci_enable_msix_exact() interfaces.

[PATCH v2 20/23] pmcraid: Use pci_enable_msix_range() instead of pci_enable_msix()

2014-02-24 Thread Alexander Gordeev
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() or pci_enable_msi_exact() and pci_enable_msix_range() or pci_enable_msix_exact() interfaces.

[PATCH v2 19/23] pmcraid: Get rid of a redundant assignment

2014-02-24 Thread Alexander Gordeev
Signed-off-by: Alexander Gordeev agord...@redhat.com Cc: Anil Ravindranath anil_ravindran...@pmc-sierra.com Cc: linux-scsi@vger.kernel.org Cc: linux-...@vger.kernel.org --- drivers/scsi/pmcraid.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/pmcraid.c

[PATCH v2 16/23] mpt3sas: Use pci_enable_msix_exact() instead of pci_enable_msix()

2014-02-24 Thread Alexander Gordeev
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() or pci_enable_msi_exact() and pci_enable_msix_range() or pci_enable_msix_exact() interfaces.

[PATCH v2 11/23] lpfc: Remove superfluous call to pci_disable_msix()

2014-02-24 Thread Alexander Gordeev
There is no need to call pci_disable_msix() in case the previous call to pci_enable_msix() failed Signed-off-by: Alexander Gordeev agord...@redhat.com Cc: James Smart james.sm...@emulex.com Cc: linux-scsi@vger.kernel.org Cc: linux-...@vger.kernel.org Acked-by: James Smart james.sm...@emulex.com

[PATCH v2 00/23] scsi: Use pci_enable_msix_range() instead of pci_enable_msix()

2014-02-24 Thread Alexander Gordeev
Hello! This series is against James Bottomley's SCSI tree [1], but it needs commit f7fc32c (PCI/MSI: Add pci_enable_msi_exact() and pci_enable_msix_exact()) from from Bjorn Helgaas's PCI tree [2]: 1. git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next 2.

[PATCH v2 02/23] bfa: Do not call pci_enable_msix() after it failed once

2014-02-24 Thread Alexander Gordeev
Function pci_enable_msix() should not be called in case it threw a negative errno from a previous call. Signed-off-by: Alexander Gordeev agord...@redhat.com Cc: Anil Gurumurthy aguru...@brocade.com Cc: Vijaya Mohan Guvva vmo...@brocade.com Cc: linux-scsi@vger.kernel.org Cc:

Re: [PATCH 00/15] A different approach for using blk-mq in the SCSI layer

2014-02-24 Thread Christoph Hellwig
On Wed, Feb 05, 2014 at 04:41:18AM -0800, Christoph Hellwig wrote: There are still lots of limits mostly due to the lack of functionality in blk-mq, and I will try to address these in the blk-mq core mostly. A git tree is also available at

Re: memory-barriers.txt again (was Re: [PATCH 4/9] firewire: don't use PREPARE_DELAYED_WORK)

2014-02-24 Thread Paul E. McKenney
On Sun, Feb 23, 2014 at 07:09:55PM -0500, Peter Hurley wrote: On 02/23/2014 06:50 PM, Paul E. McKenney wrote: On Sun, Feb 23, 2014 at 03:35:31PM -0500, Peter Hurley wrote: Hi Paul, On 02/23/2014 11:37 AM, Paul E. McKenney wrote: commit aba6b0e82c9de53eb032844f1932599f148ff68d Author: Paul

Re: [PATCH] [SCSI] lpfc 8.3.43: use NULL instead of 0 for pointer

2014-02-24 Thread James Smart
Acked-by: James Smart james.sm...@emulex.com -- james s On 2/20/2014 8:10 PM, Daeseok Youn wrote: From 9e7478f6e953fac5b2bef0f5abe76fe8dc9e59d1 Mon Sep 17 00:00:00 2001 From: Daeseok Youn daeseok.y...@gmail.com Date: Fri, 21 Feb 2014 09:03:32 +0900 Subject: [PATCH] [SCSI] lpfc 8.3.43: use

Re: [PATCH v13 2/3] ata: Add APM X-Gene SoC AHCI SATA host controller driver

2014-02-24 Thread Tejun Heo
Hello, Loc. Almost there. Just one more thing. On Sun, Feb 23, 2014 at 10:54:24PM -0700, Loc Ho wrote: +static int xgene_ahci_init_memram(struct xgene_ahci_context *ctx) +{ + void __iomem *diagcsr = ctx-csr_base + SATA_DIAG_OFFSET; + int try; + u32 val; + + val =

Re: [PATCH 05/11] IB/iser: Replace fastreg descriptor valid bool with indicators container

2014-02-24 Thread Nicholas A. Bellinger
On Mon, 2014-02-24 at 10:27 +0200, Sagi Grimberg wrote: On 2/24/2014 9:30 AM, Nicholas A. Bellinger wrote: On Sun, 2014-02-23 at 22:53 -0800, Nicholas A. Bellinger wrote: On Sun, 2014-02-23 at 14:19 +0200, Sagi Grimberg wrote: In T10-PI support we will have memory keys for protection

Re: [PATCH 0/4] isci, libsas fixes for 3.4-rc2

2014-02-24 Thread Dan Williams
On Sun, Feb 23, 2014 at 12:12 PM, James Bottomley james.bottom...@hansenpartnership.com wrote: On Thu, 2014-02-06 at 12:22 -0800, Dan Williams wrote: Hi James, Here are some collected fixes. All but patch 2 are tagged for -stable. Patch 1 and 4 have been on the list since before the 3.14

[PATCH]: qla2xxx: Fix kernel panic on selective retransmission request.

2014-02-24 Thread Dr. Greg Wettstein
From: Dr. Greg Wettstein g...@enjellic.com qla2xxx: Fix kernel panic on selective retransmission request. A selective retransmission request (SRR) is a fibre-channel protocol control request which provides support for requesting retransmission of a data sequence in response to an issue such

Re: [PATCH]: qla2xxx: Fix kernel panic on selective retransmission request.

2014-02-24 Thread Nicholas A. Bellinger
Hi Greg, On Mon, 2014-02-24 at 13:59 -0600, Dr. Greg Wettstein wrote: From: Dr. Greg Wettstein g...@enjellic.com qla2xxx: Fix kernel panic on selective retransmission request. A selective retransmission request (SRR) is a fibre-channel protocol control request which provides support

[PATCH] vhost/scsi: Check LUN structure byte 0 is set to 1, per spec

2014-02-24 Thread Venkatesh Srinivas
The virtio spec requires byte 0 of the virtio-scsi LUN structure to be '1'. Signed-off-by: Venkatesh Srinivas venkate...@google.com --- drivers/vhost/scsi.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/vhost/scsi.c b/drivers/vhost/scsi.c index 0a025b8..e48d4a6 100644 ---

Re: loading scsi_debug with data integrity hits BUG_ON

2014-02-24 Thread Muthu Kumar
NAB, On Thu, Feb 20, 2014 at 11:28 AM, Nicholas A. Bellinger n...@linux-iscsi.org wrote: On Thu, 2014-02-20 at 14:16 -0500, Martin K. Petersen wrote: nab == Nicholas A Bellinger n...@linux-iscsi.org writes: nab Given that there is no (easy) way to ascertain what the original nab value of

[Bug 71021] WARNING: CPU: 0 PID: 5517 at /build/buildd/linux-3.13.0/fs/sysfs/group.c:214 sysfs_remove_group+0xc6/0xd0()

2014-02-24 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=71021 Alan a...@lxorguk.ukuu.org.uk changed: What|Removed |Added CC||a...@lxorguk.ukuu.org.uk

Re: [PATCH] vhost/scsi: Check LUN structure byte 0 is set to 1, per spec

2014-02-24 Thread Paolo Bonzini
The virtio spec requires byte 0 of the virtio-scsi LUN structure to be '1'. Signed-off-by: Venkatesh Srinivas venkate...@google.com --- drivers/vhost/scsi.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/vhost/scsi.c b/drivers/vhost/scsi.c index 0a025b8..e48d4a6

Re: loading scsi_debug with data integrity hits BUG_ON

2014-02-24 Thread Muthu Kumar
yep... silly me ;) On Mon, Feb 24, 2014 at 2:37 PM, Jens Axboe ax...@kernel.dk wrote: On 2014-02-24 14:15, Muthu Kumar wrote: NAB, On Thu, Feb 20, 2014 at 11:28 AM, Nicholas A. Bellinger n...@linux-iscsi.org wrote: On Thu, 2014-02-20 at 14:16 -0500, Martin K. Petersen wrote: nab ==

Re: [PATCH] vhost/scsi: Check LUN structure byte 0 is set to 1, per spec

2014-02-24 Thread Nicholas A. Bellinger
Hi Venkatesh, On Mon, 2014-02-24 at 14:13 -0800, Venkatesh Srinivas wrote: The virtio spec requires byte 0 of the virtio-scsi LUN structure to be '1'. Signed-off-by: Venkatesh Srinivas venkate...@google.com --- drivers/vhost/scsi.c | 6 ++ 1 file changed, 6 insertions(+) diff

[PATCH 0/2] Formatting overlay 0x21 and new CCINs

2014-02-24 Thread wenxiong
This patch series included formatting overlay 0x21 and adding three more new CCINs for new hardware. Thanks, Wendy -- -- To unsubscribe from this list: send the line unsubscribe linux-scsi in the body of a message to majord...@vger.kernel.org More majordomo info at

[PATCH 1/2] ipr: Format HCAM overlay ID 0x21

2014-02-24 Thread wenxiong
This patch adds formatting error overlay 0x21 to improve debug capabilities. Signed-off-by: Wen Xiong wenxi...@linux.vnet.ibm.com --- drivers/scsi/ipr.c | 39 +++ drivers/scsi/ipr.h | 14 ++ 2 files changed, 53 insertions(+) Index:

[PATCH 2/2] ipr: Add new CCIN definition for new hardware support

2014-02-24 Thread wenxiong
Add the appropriate definition and table entry for new hardware support. Signed-off-by: Wen Xiong wenxi...@linux.vnet.ibm.com --- drivers/scsi/ipr.c |6 ++ drivers/scsi/ipr.h |3 +++ 2 files changed, 9 insertions(+) Index: b/drivers/scsi/ipr.c

Re: [PATCH v13 2/3] ata: Add APM X-Gene SoC AHCI SATA host controller driver

2014-02-24 Thread Tejun Heo
Hey, On Mon, Feb 24, 2014 at 05:02:52PM -0800, Loc Ho wrote: The completion of the RAM removal from shutdown is quite fast. As per spec, the max time is 1ms but from the run-time code, it only take one (1us) or two (2us) read for this to completed. An 1 ms hard delay is more than 100 time

[PATCH 08/10] qla4xxx: Initialize hardware queue for ISP40XX

2014-02-24 Thread vikas.chaudhary
From: Vikas Chaudhary vikas.chaudh...@qlogic.com Issue: System crash while target discovery for ISP40XX Root cause: Function qla4xxx_init_rings() is not called for ISP40XX Fix: Call function qla4xxx_init_rings() for ISP40XX from qla4xxx_start_firmware(). Signed-off-by: Vikas Chaudhary

[PATCH 02/10] qla4xxx: Change default capture to firmware defined capture mask

2014-02-24 Thread vikas.chaudhary
From: Tej Parkash tej.park...@qlogic.com Signed-off-by: Tej Parkash tej.park...@qlogic.com Signed-off-by: Vikas Chaudhary vikas.chaudh...@qlogic.com --- drivers/scsi/qla4xxx/ql4_os.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/qla4xxx/ql4_os.c

[PATCH 04/10] qla4xxx: Added new opcodes for 84XX Minidump template

2014-02-24 Thread vikas.chaudhary
From: Tej Parkash tej.park...@qlogic.com Updated driver with new opcode (RDDFE, RDMDIO and POLLWR) which are added with latest firmware minidump template Signed-off-by: Tej Parkash tej.park...@qlogic.com Signed-off-by: Vikas Chaudhary vikas.chaudh...@qlogic.com ---

[PATCH 10/10] qla4xxx: Update driver version to 5.04.00-k5

2014-02-24 Thread vikas.chaudhary
From: Vikas Chaudhary vikas.chaudh...@qlogic.com Signed-off-by: Vikas Chaudhary vikas.chaudh...@qlogic.com --- drivers/scsi/qla4xxx/ql4_version.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/qla4xxx/ql4_version.h b/drivers/scsi/qla4xxx/ql4_version.h index

[PATCH 06/10] qla4xxx: qla4xxx: Move qla4_8xxx_ms_mem_write_128b to ql4_nx.c

2014-02-24 Thread vikas.chaudhary
From: Vikas Chaudhary vikas.chaudh...@qlogic.com Signed-off-by: Vikas Chaudhary vikas.chaudh...@qlogic.com --- drivers/scsi/qla4xxx/ql4_83xx.c | 106 drivers/scsi/qla4xxx/ql4_nx.c | 106 2 files changed, 106

[PATCH 01/10] qla4xxx: Do not wait for IO completion, after issuing stop_firmware

2014-02-24 Thread vikas.chaudhary
From: Tej Parkash tej.park...@qlogic.com Problem: iSCSI stop_firmware mailbox command is not completing outstanding IO. Solution: Do not wait for IO completion after issuing stop_firmware mailbox command Signed-off-by: Tej Parkash tej.park...@qlogic.com Signed-off-by: Vikas Chaudhary

[PATCH 05/10] qla4xxx: Added PEX DMA Support for ISP8022 Adapter

2014-02-24 Thread vikas.chaudhary
From: Tej Parkash tej.park...@qlogic.com Signed-off-by: Tej Parkash tej.park...@qlogic.com Signed-off-by: Vikas Chaudhary vikas.chaudh...@qlogic.com --- drivers/scsi/qla4xxx/ql4_83xx.c | 44 + drivers/scsi/qla4xxx/ql4_glbl.h | 2 +-

[PATCH v14 3/3] arm64: Add APM X-Gene SoC AHCI SATA host controller DTS entries

2014-02-24 Thread Loc Ho
Signed-off-by: Loc Ho l...@apm.com Signed-off-by: Tuan Phan tp...@apm.com Signed-off-by: Suman Tripathi stripa...@apm.com --- arch/arm64/boot/dts/apm-storm.dtsi | 75 1 files changed, 75 insertions(+), 0 deletions(-) diff --git

[PATCH v14 1/3] Documentation: Add documentation for APM X-Gene SoC SATA host controller DTS binding

2014-02-24 Thread Loc Ho
Signed-off-by: Loc Ho l...@apm.com Signed-off-by: Tuan Phan tp...@apm.com Signed-off-by: Suman Tripathi stripa...@apm.com --- .../devicetree/bindings/ata/apm-xgene.txt | 70 1 files changed, 70 insertions(+), 0 deletions(-) create mode 100644

[PATCH v14 0/3] ata: Add APM X-Gene SoC AHCI SATA host controller support

2014-02-24 Thread Loc Ho
This patch adds support for the APM X-Gene SoC AHCI SATA host controller. In order for the host controller to work, the corresponding PHY driver musts also be available. v14: * Remove the shutdown already check and replace the while loop check with msleep in function xgene_ahci_init_memram

Re: [PATCH v13 3/3] arm64: Add APM X-Gene SoC AHCI SATA host controller DTS entries

2014-02-24 Thread Kishon Vijay Abraham I
Hi, On Tuesday 25 February 2014 06:44 AM, Loc Ho wrote: Hi Tejun, On Sun, Feb 23, 2014 at 10:54:25PM -0700, Loc Ho wrote: Signed-off-by: Loc Ho l...@apm.com mailto:l...@apm.com Signed-off-by: Tuan Phan tp...@apm.com mailto:tp...@apm.com Signed-off-by: Suman Tripathi

Re: [RFC 0/6] vhost/scsi: Add T10 PI SGL passthrough support

2014-02-24 Thread Nicholas A. Bellinger
On Mon, 2014-02-24 at 11:23 +0100, Paolo Bonzini wrote: Il 24/02/2014 06:32, Nicholas A. Bellinger ha scritto: AFAICT up until this point the -prio field has been unused, but I'm certainly open to better ways of signaling (to vhost) that some number of metadata iovs are to be expected..

Re: [PATCH v13 3/3] arm64: Add APM X-Gene SoC AHCI SATA host controller DTS entries

2014-02-24 Thread Loc Ho
Hi Kishon/Tejun, Signed-off-by: Loc Ho l...@apm.com mailto:l...@apm.com Signed-off-by: Tuan Phan tp...@apm.com mailto:tp...@apm.com Signed-off-by: Suman Tripathi stripa...@apm.com mailto:stripa...@apm.com This doesn't apply cleanly to libata/for-3.15. How should this be