[PATCH] megaraid_sas : Pass driver version to firmware inside IOC init frame

2015-06-10 Thread Sumit.Saxena
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com --- drivers/scsi/megaraid/megaraid_sas.h| 10 +++--- drivers/scsi/megaraid/megaraid_sas_base.c | 18 ++ drivers/scsi/megaraid/megaraid_sas_fusion.c |7 +++ 3 files changed, 32 insertions(+), 3

Re: [PATCH 0/2] target: 64-bit LUN support

2015-06-10 Thread Nicholas A. Bellinger
Hi Hannes, On Wed, 2015-06-10 at 08:41 +0200, Hannes Reinecke wrote: Hi Nic, here's now the patchset for making LIO-target support 64-bit LUNs. Pretty straightforward, plus an additional patch to remove the now obsolete limitation on 256 LUNs per TPG. There had been a comment in the header

Re: [PATCH v6] cxlflash: Base support for IBM CXL Flash Adapter

2015-06-10 Thread Brian King
Looks good. Reviewed-by: Brian King brk...@linux.vnet.ibm.com -Brian -- Brian King Power Linux I/O IBM Linux Technology Center -- 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

Re: [RFC 0/2] target: Add TFO-complete_irq queue_work bypass

2015-06-10 Thread Nicholas A. Bellinger
On Tue, 2015-06-09 at 09:19 +0200, Christoph Hellwig wrote: On Thu, Jun 04, 2015 at 12:06:09AM -0700, Nicholas A. Bellinger wrote: So I've been using tcm_loop + RAMDISK backends for prototyping, but this patch is intended for vhost-scsi so it can avoid the unnecessary queue_work() context

Re: [PATCH] megaraid_sas: insert missing space in kernel message

2015-06-10 Thread Johannes Thumshirn
On Tue, Jun 09, 2015 at 04:53:43PM +0100, Colin King wrote: From: Colin Ian King colin.k...@canonical.com The printk format specifier string is missing a space between the %p format specifier and the on the defer text. Minor fix, add the missing space. Signed-off-by: Colin Ian King

RE: [PATCH] megaraid_sas: insert missing space in kernel message

2015-06-10 Thread Sumit Saxena
-Original Message- From: Colin King [mailto:colin.k...@canonical.com] Sent: Tuesday, June 09, 2015 9:24 PM To: Kashyap Desai; Sumit Saxena; Uday Lingala; James E.J. Bottomley; megaraidlinux@avagotech.com; linux-scsi@vger.kernel.org Cc: linux-ker...@vger.kernel.org Subject: [PATCH]

[PATCH 2/2] target: Remove TARGET_MAX_LUNS_PER_TRANSPORT

2015-06-10 Thread Hannes Reinecke
LUN allocation is now fully dynamic, so there is no need to artificially restrain the number of exported LUNs. Signed-off-by: Hannes Reinecke h...@suse.de --- drivers/target/target_core_device.c | 9 - drivers/target/target_core_fabric_configfs.c | 8

[PATCH 1/2] target: use 64-bit LUNs

2015-06-10 Thread Hannes Reinecke
As we're now using a list to hold the LUNs the target core can now converted to use 64-bit LUNs internally. Signed-off-by: Hannes Reinecke h...@suse.de --- drivers/target/iscsi/iscsi_target_tmr.c | 4 +-- drivers/target/loopback/tcm_loop.c | 4 +--

[PATCH 0/2] target: 64-bit LUN support

2015-06-10 Thread Hannes Reinecke
Hi Nic, here's now the patchset for making LIO-target support 64-bit LUNs. Pretty straightforward, plus an additional patch to remove the now obsolete limitation on 256 LUNs per TPG. There had been a comment in the header that REPORT LUN emulation would only support up to one page in payload, but

re: lpfc: Add support for ELS LCB.

2015-06-10 Thread Dan Carpenter
Hello James Smart, The patch 8b017a30a313: lpfc: Add support for ELS LCB. from May 21, 2015, leads to the following static checker warning: drivers/scsi/lpfc/lpfc_els.c:5243 lpfc_els_rcv_lcb() error: potential null dereference 'lcb_context'. (kmalloc returns null)

re: lpfc: Add support for RDP ELS command.

2015-06-10 Thread Dan Carpenter
Hello James Smart, The patch 86478875eb4d: lpfc: Add support for RDP ELS command. from May 21, 2015, leads to the following static checker warning: drivers/scsi/lpfc/lpfc_mbox.c:2307 lpfc_mbx_cmpl_rdp_page_a2() error: dereferencing freed memory 'mp' drivers/scsi/lpfc/lpfc_mbox.c

[PATCH 5/9] qla2xxx: adjust debug flags

2015-06-10 Thread Himanshu Madhani
From: Quinn Tran quinn.t...@qlogic.com Adjust debug flag to match debug comment. Signed-off-by: Quinn Tran quinn.t...@qlogic.com Signed-off-by: Himanshu Madhani himanshu.madh...@qlogic.com --- drivers/scsi/qla2xxx/qla_target.c |7 --- drivers/scsi/qla2xxx/qla_target.h |3 +++

[PATCH 8/9] qla2xxx: Enable Target counters in DebugFS.

2015-06-10 Thread Himanshu Madhani
Following counters are added in target mode to help debugging efforts. Target Counters qla_core_sbt_cmd = 0 qla_core_ret_sta_ctio = 0 qla_core_ret_ctio = 0 core_qla_que_buf = 0 core_qla_snd_status = 0 core_qla_free_cmd = 0 num alloc iocb failed = 0 num term exchange sent = 0 num Q full sent = 0

[PATCH 6/9] qla2xxx: Remove msleep in qlt_send_term_exchange

2015-06-10 Thread Himanshu Madhani
Remove unnecessary msleep from qlt_send_term_exchange as it adds latency of 250 msec while sending terminate exchange to an aborted task. Signed-off-by: Himanshu Madhani himanshu.madh...@qlogic.com Signed-off-by: Giridhar Malavali giridhar.malav...@qlogic.com ---

re: lpfc: Fix rport leak.

2015-06-10 Thread Dan Carpenter
Hello James Smart, This is a semi-automatic email about new static checker warnings. The patch 466e840b7809: lpfc: Fix rport leak. from May 21, 2015, leads to the following Smatch complaint: drivers/scsi/lpfc/lpfc_hbadisc.c:3905 lpfc_register_remote_port() error: we previously assumed

[PATCH 9/9] qla2xxx: Add FW resource count in DebugFS.

2015-06-10 Thread Himanshu Madhani
From: Quinn Tran quinn.t...@qlogic.com DebugFS now will show fw_resource_count node. FW Resource count Original TGT exchg count[0] current TGT exchg count[0] original Initiator Exchange count[2048] Current Initiator Exchange count[2048] Original IOCB count[2078] Current IOCB count[2067] MAX VP

[PATCH 7/9] qla2xxx: fix command initialization in target mode.

2015-06-10 Thread Himanshu Madhani
From: Kanoj Sarcar kanoj.sar...@qlogic.com Signed-off-by: Kanoj Sarcar kanoj.sar...@qlogic.com Signed-off-by: Himanshu Madhani himanshu.madh...@qlogic.com --- drivers/scsi/qla2xxx/qla_target.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH 4/9] qla2xxx: release request queue reservation.

2015-06-10 Thread Himanshu Madhani
From: Quinn Tran quinn.t...@qlogic.com Request IOCB queue element(s) is reserved during good path IO. Under error condition such as unable to allocate IOCB handle condition, the IOCB count that was reserved is not released. Signed-off-by: Quinn Tran quinn.t...@qlogic.com Signed-off-by: Himanshu

[PATCH 1/9] qla2xxx: Fix hardware lock/unlock issue causing kernel panic.

2015-06-10 Thread Himanshu Madhani
From: Saurav Kashyap saurav.kash...@qlogic.com [ Upstream commit ef86cb2059a14b4024c7320999ee58e938873032 ] This patch fixes a kernel panic for qla2xxx Target core Module driver introduced by a fix in the qla2xxx initiator code. Commit ef86cb2 (qla2xxx: Mark port lost when we receive an RSCN

[PATCH 3/9] qla2xxx: Add flush after updating ATIOQ consumer index.

2015-06-10 Thread Himanshu Madhani
From: Quinn Tran quinn.t...@qlogic.com After updating the consumer index of ATIO Q, a read is required to flush the write to the adapter register. Signed-off-by: Quinn Tran quinn.t...@qlogic.com Signed-off-by: Himanshu Madhani himanshu.madh...@qlogic.com --- drivers/scsi/qla2xxx/qla_target.c |

[PATCH 2/9] qla2xxx: Enable target mode for ISP27XX

2015-06-10 Thread Himanshu Madhani
Signed-off-by: Himanshu Madhani himanshu.madh...@qlogic.com Signed-off-by: Giridhar Malavali giridhar.malav...@qlogic.com --- drivers/scsi/qla2xxx/qla_attr.c |2 +- drivers/scsi/qla2xxx/qla_def.h|8 drivers/scsi/qla2xxx/qla_init.c |4 ++--

[PATCH 0/9] qla2xxx: Patches for scsi misc branch.

2015-06-10 Thread Himanshu Madhani
Hi James, Please apply the following patches to the scsi tree at your earliest convenience for inclusion in the next mainline merge window. Thanks, Himanshu Himanshu Madhani (3): qla2xxx: Enable target mode for ISP27XX qla2xxx: Remove msleep in qlt_send_term_exchange qla2xxx: Enable

Re: [PATCH 0/2] target: 64-bit LUN support

2015-06-10 Thread Andy Grover
On 06/09/2015 11:41 PM, Hannes Reinecke wrote: Hi Nic, here's now the patchset for making LIO-target support 64-bit LUNs. Pretty straightforward, plus an additional patch to remove the now obsolete limitation on 256 LUNs per TPG. There had been a comment in the header that REPORT LUN emulation

[Patch V2 1/9] [SCSI] aacraid: Fix for logical device name and UID not exposed to the OS

2015-06-10 Thread rajinikanth.pandurangan
From: Rajinikanth Pandurangan rajinikanth.panduran...@pmcs.com Description: Driver sends the right size of the response buffer. Signed-off-by: Rajinikanth Pandurangan rajinikanth.panduran...@pmcs.com --- drivers/scsi/aacraid/aachba.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[Patch V2 4/9] [SCSI] aacraid: Enable 64-bit write to controller register

2015-06-10 Thread rajinikanth.pandurangan
From: Rajinikanth Pandurangan rajinikanth.panduran...@pmcs.com Description: If writeq() not supported, then do atomic two 32bit write Signed-off-by: Rajinikanth Pandurangan rajinikanth.panduran...@pmcs.com --- drivers/scsi/aacraid/aacraid.h | 9 +

[Patch V2 3/9] [SCSI] aacraid: Enable MSI interrupt for series-6 controller

2015-06-10 Thread rajinikanth.pandurangan
From: Rajinikanth Pandurangan rajinikanth.panduran...@pmcs.com Description: Enable MSI interrupt mode for series-6 controller. Signed-off-by: Rajinikanth Pandurangan rajinikanth.panduran...@pmcs.com --- drivers/scsi/aacraid/src.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[Patch V2 0/9] [SCSI] aacraid: Patchset for aacraid driver version 41010

2015-06-10 Thread rajinikanth.pandurangan
From: Rajinikanth Pandurangan rajinikanth.panduran...@pmcs.com This patchset includes the following changes (bug fixes and new feature support) specific to aacraid driver. V2: * Removed IRQF_DISABLED * Removed unwanted macro definition sa_writeq * Replaced pci_enable_msix()with

[Patch V2 2/9] [SCSI] aacraid: Add Power Management support

2015-06-10 Thread rajinikanth.pandurangan
From: Rajinikanth Pandurangan rajinikanth.panduran...@pmcs.com Description: * .suspend() and .resume() routines implemented in the driver * aac_release_resources() initiates firmware shutdown * aac_acquire_resources re-initializes the host interface Signed-off-by:

[Patch V2 0/9] [SCSI] aacraid: Patchset for aacraid driver version 41010

2015-06-10 Thread rajinikanth.pandurangan
From: Rajinikanth Pandurangan rajinikanth.panduran...@pmcs.com This patchset includes the following changes (bug fixes and new feature support) specific to aacraid driver. V2: * Removed IRQF_DISABLED * Removed unwanted macro definition sa_writeq * Replaced pci_enable_msix()with

[Patch V2 5/9] [SCSI] aacraid: Tune response path if IsFastPath bit set

2015-06-10 Thread rajinikanth.pandurangan
From: Rajinikanth Pandurangan rajinikanth.panduran...@pmcs.com Description: If 'IsFastPath' bit is set, then response path assumes no error and skips error check. Signed-off-by: Rajinikanth Pandurangan rajinikanth.panduran...@pmcs.com --- drivers/scsi/aacraid/aachba.c | 259

[Patch V2 9/9] [SCSI] aacraid: Update driver version

2015-06-10 Thread rajinikanth.pandurangan
From: Rajinikanth Pandurangan rajinikanth.panduran...@pmcs.com Signed-off-by: Rajinikanth Pandurangan rajinikanth.panduran...@pmcs.com --- drivers/scsi/aacraid/aacraid.h | 2 +- drivers/scsi/aacraid/linit.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[Patch V2 8/9] [SCSI] aacraid: Send commit-config to controller firmware

2015-06-10 Thread rajinikanth.pandurangan
From: Rajinikanth Pandurangan rajinikanth.panduran...@pmcs.com Description: Controller BIOS/UEFI driver used to send this request. But for IBM-Power system there is no BIOS/UEFI driver. So this change is required for IBM, otherwise controller will be read-only mode.

[Patch V2 6/9] [SCSI] aacraid: Reset irq affinity hints before releasing irq

2015-06-10 Thread rajinikanth.pandurangan
From: Rajinikanth Pandurangan rajinikanth.panduran...@pmcs.com Description: Reset irq affinity hints before releasing IRQ Removed duplicate code of IRQ acquire/release Signed-off-by: Rajinikanth Pandurangan rajinikanth.panduran...@pmcs.com --- drivers/scsi/aacraid/aacraid.h |

[Patch V2 7/9] [SCSI] aacraid: Unblock IOCTLs to controller once system resumed from suspend

2015-06-10 Thread rajinikanth.pandurangan
From: Rajinikanth Pandurangan rajinikanth.panduran...@pmcs.com Description: Driver blocks ioctls once it received shutdown/suspend request during suspend/hybernation. This patch unblocks ioctls on resume path. Signed-off-by: Rajinikanth Pandurangan

Re: [dm-devel] ALUA - rescan device capacity on zero sized block devices

2015-06-10 Thread Hannes Reinecke
On 06/10/2015 05:02 PM, Ewan Milne wrote: On Mon, 2015-04-20 at 07:58 +0200, Hannes Reinecke wrote: On 04/19/2015 12:56 AM, Christophe Varoqui wrote: About five years ago, we faced a somewhat simular issue with Symmetrix arrays, where the replicated LU of a SRDF pair (R2) was flagged

Re: [PATCH 09/10] qla2xxx: Comment out unreachable code

2015-06-10 Thread Himanshu Madhani
On 6/4/15, 3:57 PM, Bart Van Assche bart.vanass...@sandisk.com wrote: Comment out the code that is never reached in qla83xx_idc_unlock() and also in qlt_set_data_offset() to avoid that static source code analysis tools report warnings for this code. Signed-off-by: Bart Van Assche

Re: [PATCH 0/2] target: 64-bit LUN support

2015-06-10 Thread Hannes Reinecke
On 06/10/2015 06:45 PM, Andy Grover wrote: On 06/09/2015 11:41 PM, Hannes Reinecke wrote: Hi Nic, here's now the patchset for making LIO-target support 64-bit LUNs. Pretty straightforward, plus an additional patch to remove the now obsolete limitation on 256 LUNs per TPG. There had been a

Re: [PATCH 10/10] qla2xxx: Fix indentation

2015-06-10 Thread Himanshu Madhani
On 6/4/15, 3:58 PM, Bart Van Assche bart.vanass...@sandisk.com wrote: Detected by smatch. Signed-off-by: Bart Van Assche bvanass...@acm.org Cc: Himanshu Madhani himanshu.madh...@qlogic.com Cc: Quinn Tran quinn.t...@qlogic.com Cc: Saurav Kashyap saurav.kash...@qlogic.com ---