Re: [RFC 00/11] Add support for iSCSI Extentions for RDMA (ISER) target

2013-03-14 Thread Or Gerlitz
On 08/03/2013 03:45, Nicholas A. Bellinger wrote: This series is first RFC for iSCSI Extentions for RDMA (ISER) target support with existing iscsi-target TCP based socket code for a future v3.10 merge. This code is available in git here: git://git.kernel.org/pub/scm/linux/kernel/git/nab/targ

[PATCH V2 00/12] Support for PMC 8081/8088/8089 controllers

2013-03-14 Thread Anand
Hi, This is second resubmission for PM8081/88/89 patchset. This handles comments from James Bottomley and Hannes. >From 375653061c0db3189e9e5678b11291b7b0195ac3 Mon Sep 17 00:00:00 2001 From: Sakthivel K Date: Wed, 13 Mar 2013 14:09:48 +0530 Subject: [PATCH V2 00/12] Support for PMC 8081/8088/80

[PATCH V2 01/12] pm80xx: fix for memory region free

2013-03-14 Thread Anand
>From 700bfe79294e9f9e1a5def178af52b13928902a9 Mon Sep 17 00:00:00 2001 From: Sakthivel K Date: Mon, 4 Feb 2013 12:10:02 +0530 Subject: [PATCH V2 01/12] pm80xx: fix for memory region free All memory regions are allocated based on variables total_len and alignment but free was based on element_siz

[PATCH V2 02/12] pm80xx: Added SPCv/ve specific ids, variables and modify for SPC

2013-03-14 Thread Anand
>From ef678e2188866af926f2a089719c24ec99e4e88c Mon Sep 17 00:00:00 2001 From: Sakthivel K Date: Wed, 27 Feb 2013 20:22:50 +0530 Subject: [PATCH V2 02/12] pm80xx: Added SPCv/ve specific ids, variables and modify for SPC Updated pci id table with device, vendor, subdevice and subvendor ids for 808

[PATCH V2 03/12] pm80xx: Multiple inbound/outbound queue configuration

2013-03-14 Thread Anand
>From f0b469f372f1c1faa393123f4a3a5e93e05b8387 Mon Sep 17 00:00:00 2001 From: Sakthivel K Date: Wed, 27 Feb 2013 20:25:25 +0530 Subject: [PATCH V2 03/12] pm80xx: Multiple inbound/outbound queue configuration Memory allocation and configuration of multiple inbound and outbound queues. Signed-off-

[PATCH V2 05/12] pm80xx: MSI-X implementation for using 64 interrupts

2013-03-14 Thread Anand
>From 62b6f575d1978a965339c69158bd10d0529815fb Mon Sep 17 00:00:00 2001 From: Sakthivel K Date: Mon, 11 Mar 2013 20:20:19 +0530 Subject: [PATCH V2 05/12] pm80xx: MSI-X implementation for using 64 interrupts Implementation of interrupt handlers and tasklets to support upto 64 interrupt for the dev

[PATCH V2 07/12] pm80xx: SPC new firmware changes for device id 0x8081 alone

2013-03-14 Thread Anand
>From 2083ae66cd04ca9d1ace29bc8f6a159215ece5b6 Mon Sep 17 00:00:00 2001 From: Sakthivel K Date: Mon, 11 Mar 2013 20:37:51 +0530 Subject: [PATCH V2 07/12] pm80xx: SPC new firmware changes for device id 0x8081 alone Additional bar shift for new SPC firmware, applicable to device id 0x8081 only. S

[PATCH V2 08/12] pm80xx: Firmware flash memory free fix, with addition of new memory region for it

2013-03-14 Thread Anand
>From 5bb77b58d81591963c8bd6754276c1a78d80c4a4 Mon Sep 17 00:00:00 2001 From: Sakthivel K Date: Mon, 11 Mar 2013 20:38:50 +0530 Subject: [PATCH V2 08/12] pm80xx: Firmware flash memory free fix, with addition of new memory region for it Performing pci_free_consistent in tasklet had result in a co

[PATCH V2 09/12] pm80xx: Changed module name and debug messages update

2013-03-14 Thread Anand
>From 763c1337ae0ec3acea557fa9a4117dd9e2f2ef32 Mon Sep 17 00:00:00 2001 From: Sakthivel K Date: Mon, 11 Mar 2013 20:41:38 +0530 Subject: [PATCH V2 09/12] pm80xx: Changed module name and debug messages update Changed name in driver to pm80xx. Updated debug messages. Signed-off-by: Sakthivel K Si

[PATCH V2 10/12] pm80xx: WWN Modification for PM8081/88/89 controllers

2013-03-14 Thread Anand
>From 39041621d54839dcd6878005a48f5ee3e1ec90b9 Mon Sep 17 00:00:00 2001 From: Sakthivel K Date: Mon, 11 Mar 2013 20:42:13 +0530 Subject: [PATCH V2 10/12] pm80xx: WWN Modification for PM8081/88/89 controllers Individual WWN read operations based on controller. PM8081 - Read WWN from Flash VPD. PM8

[PATCH V2 11/12] pm80xx: NCQ error handling changes

2013-03-14 Thread Anand
>From 6c5a97ffa25ca47e2403b11e8325c51ac044e501 Mon Sep 17 00:00:00 2001 From: Sakthivel K Date: Mon, 11 Mar 2013 20:43:20 +0530 Subject: [PATCH V2 11/12] pm80xx: NCQ error handling changes Handled NCQ errors in the low level driver as the FW is not providing the faulty tag for NCQ errors for libs

[PATCH V2 12/12] pm80xx: thermal, sas controller config and error handling update

2013-03-14 Thread Anand
>From 375653061c0db3189e9e5678b11291b7b0195ac3 Mon Sep 17 00:00:00 2001 From: Sakthivel K Date: Mon, 11 Mar 2013 20:44:36 +0530 Subject: [PATCH V2 12/12] pm80xx: thermal, sas controller config and error handling update Modified thermal configuration to happen after interrupt registration Added S

Re: [RFC 10/11] iser-target: Add logic for core

2013-03-14 Thread Or Gerlitz
On 08/03/2013 03:45, Nicholas A. Bellinger wrote: +void +isert_dump_ib_wc(struct ib_wc *wc) +{ + pr_debug("wc->wr_id: %llu\n", wc->wr_id); + pr_debug("wc->status: 0x%08x\n", wc->status); This helper is called for a CQ completion with error, but when this happens all the WC fields e

RE: [RESEND] [PATCH 05/13] pm80xx: MSI-X implementation for using 64 interrupts

2013-03-14 Thread Anand Kumar Santhanam
Hi Hannes, I have addressed your comment and merged individual tasklet to one and have resubmitted the patchset. Regards Anand -Original Message- From: Hannes Reinecke [mailto:h...@suse.de] Sent: Monday, March 04, 2013 3:46 PM To: Anand Kumar Santhanam Cc: linux-scsi@vger.kernel.org; H

Re: [RFC 09/11] iser-target: Add logic for verbs

2013-03-14 Thread Or Gerlitz
On 08/03/2013 03:45, Nicholas A. Bellinger wrote: +++ b/drivers/infiniband/ulp/isert/isert_verbs.c +#define ISERT_ADDR_ROUTE_TIMEOUT 1000 remove this define, its irrelevant and you don't use that anywhere +static void +isert_qp_event_callback(struct ib_event *e, void *context) +{ + pr_e

Re: [PATCH V2 05/12] pm80xx: MSI-X implementation for using 64 interrupts

2013-03-14 Thread Hannes Reinecke
Sorry for the late reply. On 03/14/2013 12:04 PM, Anand wrote: From 62b6f575d1978a965339c69158bd10d0529815fb Mon Sep 17 00:00:00 2001 From: Sakthivel K Date: Mon, 11 Mar 2013 20:20:19 +0530 Subject: [PATCH V2 05/12] pm80xx: MSI-X implementation for using 64 interrupts Implementation of interr

Re: [RFC 09/11] iser-target: Add logic for verbs

2013-03-14 Thread Or Gerlitz
On 08/03/2013 03:45, Nicholas A. Bellinger wrote: isert_conn->conn_rx_cq = ib_create_cq(ib_dev, isert_cq_rx_callback, + isert_cq_event_callback, + (void *)isert_conn, +

Re: [RFC 10/11] iser-target: Add logic for core

2013-03-14 Thread Or Gerlitz
On 08/03/2013 03:45, Nicholas A. Bellinger wrote: +void +iser_cq_tx_tasklet(unsigned long data) +{ + struct isert_conn *isert_conn = (struct isert_conn *)data; + struct ib_cq *tx_cq = isert_conn->conn_tx_cq; + struct iser_tx_desc *tx_desc; + struct ib_wc wc; + + whil

Re: [patch] [SCSI] mpt3sas: move dereference under check

2013-03-14 Thread Dan Carpenter
On Thu, Mar 14, 2013 at 06:52:35PM +0530, Reddy, Sreekanth wrote: > Hi Dan Carpenter, > > While analyzing this patch, I have added some debugging prints to > print the address referenced by the IOC->sense_dma_pool before and > after pci_pool_free() API and I have observed that the address > refere

[PATCH v2 net-next 00/22] Add support for Chelsio T5 adapter

2013-03-14 Thread Vipul Pandya
Hi All, This patch series adds support for Chelsio's T5 adapter. It also adds support for new features of T5. It adds these in cxgb4, cxgb4vf, RDMA/cxgb4 and csiostor drivers. Chelsio's T5 asic moves the architecture into 40GbE speeds. T5 is a 10/40GbE controller with full offload support of a co

[PATCH v2 net-next 03/22] cxgb4: Initialize T5

2013-03-14 Thread Vipul Pandya
From: Santosh Rastapur Signed-off-by: Santosh Rastapur Signed-off-by: Vipul Pandya --- v2: Replaced #ifdef with portable interface wmb in ring_tx_db drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 85 ++--- drivers/net/ethernet/chelsio/cxgb4/sge.c| 37 -- drivers/net

[PATCH v2 net-next 04/22] cxgb4: Dump T5 registers

2013-03-14 Thread Vipul Pandya
From: Santosh Rastapur Signed-off-by: Santosh Rastapur Signed-off-by: Vipul Pandya --- v2: Replaced #ifdef with portable interface wmb in ring_tx_db drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 452 ++- 1 files changed, 448 insertions(+), 4 deletions(-) diff --git a

[PATCH v2 net-next 08/22] cxgb4: Add T5 PCI ids

2013-03-14 Thread Vipul Pandya
From: Santosh Rastapur Signed-off-by: Santosh Rastapur Signed-off-by: Vipul Pandya --- v2: Replaced #ifdef with portable interface wmb in ring_tx_db drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 38 +++ 1 files changed, 38 insertions(+), 0 deletions(-) diff --git a/

[PATCH v2 net-next 10/22] cxgb4: Disable SR-IOV support for PF4-7 for T5

2013-03-14 Thread Vipul Pandya
From: Santosh Rastapur All T5 adapters will only support VFs on PF0-3 despite the ability of the hardware to support them on PF4-7. This keeps our T4 and T5 adapters more similar which simplifies host driver software. Signed-off-by: Vipul Pandya --- v2: Replaced #ifdef with portable interface

[PATCH v2 net-next 11/22] cxgb4vf: Add support for Chelsio T5 adapter

2013-03-14 Thread Vipul Pandya
From: Santosh Rastapur Signed-off-by: Santosh Rastapur Signed-off-by: Vipul Pandya --- v2: Replaced #ifdef with portable interface wmb in ring_tx_db drivers/net/ethernet/chelsio/cxgb4vf/adapter.h |1 + .../net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c| 35 ++-- dri

[PATCH v2 net-next 12/22] RDMA/cxgb4: Add Support for Chelsio T5 adapter

2013-03-14 Thread Vipul Pandya
Adds support for Chelsio T5 adapter. Enables T5's Write Combining feature. Signed-off-by: Vipul Pandya --- v2: Replaced #ifdef with portable interface wmb in ring_tx_db drivers/infiniband/hw/cxgb4/cm.c | 64 +++ drivers/infiniband/hw/cxgb4/device.c | 13 +

[PATCH v2 net-next 14/22] RDMA/cxgb4: Add module_params to enable DB FC & Coalescing on T5

2013-03-14 Thread Vipul Pandya
Both DB Flow-Control and DB Coalescing are disabled by default on T5 Signed-off-by: Vipul Pandya --- v2: Replaced #ifdef with portable interface wmb in ring_tx_db drivers/infiniband/hw/cxgb4/device.c | 25 +++-- drivers/infiniband/hw/cxgb4/iw_cxgb4.h |1 + drivers/in

[PATCH v2 net-next 16/22] RDMA/cxgb4: Map pbl buffers for dma if using DSGL.

2013-03-14 Thread Vipul Pandya
Signed-off-by: Vipul Pandya --- v2: Replaced #ifdef with portable interface wmb in ring_tx_db drivers/infiniband/hw/cxgb4/mem.c | 29 +++-- 1 files changed, 23 insertions(+), 6 deletions(-) diff --git a/drivers/infiniband/hw/cxgb4/mem.c b/drivers/infiniband/hw/cxgb4/m

[PATCH v2 net-next 02/22] cxgb4: Add macros, structures and inline functions for T5

2013-03-14 Thread Vipul Pandya
From: Santosh Rastapur Signed-off-by: Santosh Rastapur Signed-off-by: Vipul Pandya --- v2: Replaced #ifdef with portable interface wmb in ring_tx_db drivers/net/ethernet/chelsio/cxgb4/cxgb4.h| 50 - drivers/net/ethernet/chelsio/cxgb4/t4_msg.h | 45 +++

[PATCH v2 net-next 06/22] cxgb4: Enable doorbell drop recovery only for T4 adapter

2013-03-14 Thread Vipul Pandya
From: Santosh Rastapur Signed-off-by: Santosh Rastapur Signed-off-by: Vipul Pandya --- v2: Replaced #ifdef with portable interface wmb in ring_tx_db drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 87 ++ 1 files changed, 71 insertions(+), 16 deletions(-) diff --git a/

[PATCH v2 net-next 09/22] cxgb4: Update driver version and description

2013-03-14 Thread Vipul Pandya
From: Santosh Rastapur Signed-off-by: Santosh Rastapur Signed-off-by: Vipul Pandya --- v2: Replaced #ifdef with portable interface wmb in ring_tx_db drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet

[PATCH v2 net-next 07/22] cxgb4: Add T5 debugfs support

2013-03-14 Thread Vipul Pandya
From: Santosh Rastapur Signed-off-by: Santosh Rastapur Signed-off-by: Vipul Pandya --- v2: Replaced #ifdef with portable interface wmb in ring_tx_db drivers/net/ethernet/chelsio/cxgb4/cxgb4.h |3 +- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 55 +--- drivers/net/ethe

[PATCH v2 net-next 13/22] RDMA/cxgb4: Turn off db coalescing when RDMA QPs are in use.

2013-03-14 Thread Vipul Pandya
Signed-off-by: Vipul Pandya --- v2: Replaced #ifdef with portable interface wmb in ring_tx_db drivers/infiniband/hw/cxgb4/qp.c| 20 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 19 +++ drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h |

[PATCH v2 net-next 15/22] RDMA/cxgb4: Use DSGLs for fastreg and adapter memory writes for T5.

2013-03-14 Thread Vipul Pandya
It enables direct DMA by HW to memory region PBL arrays and fast register PBL arrays from host memory, vs the T4 way of passing these arrays in the WR itself. The result is lower latency for memory registration, and larger PBL array support for fast register operations. This patch also updates ULP

[PATCH v2 net-next 17/22] RDMA/cxgb4: Bump tcam_full stat and WR reply timeout

2013-03-14 Thread Vipul Pandya
Always bump the tcam_full stat. Also, bump wr reply timeout to 30 seconds. Signed-off-by: Vipul Pandya --- v2: Replaced #ifdef with portable interface wmb in ring_tx_db drivers/infiniband/hw/cxgb4/cm.c |2 +- drivers/infiniband/hw/cxgb4/iw_cxgb4.h |2 +- 2 files changed, 2 inserti

[PATCH v2 net-next 18/22] RDMA/cxgb4: Fix onchip queue support for T5

2013-03-14 Thread Vipul Pandya
T5 adapter does not support onchip queue memory. Present logic fails to allocate QP for T5 and returns an error. Also, if module parameter ocqp_support is zero then we are unable to allocate QP which should not be the case. Ideally if ocqp_support parameter is 0 or onchip queue support is disable t

[PATCH v2 net-next 19/22] csiostor: Segregate T4 adapter operations.

2013-03-14 Thread Vipul Pandya
From: Arvind Bhushan This patch separates T4 adapter operations into a new file. Signed-off-by: Arvind Bhushan Signed-off-by: Naresh Kumar Inna --- v2: Replaced #ifdef with portable interface wmb in ring_tx_db drivers/scsi/csiostor/csio_hw_t4.c | 403 1

[PATCH v2 net-next 20/22] csiostor: Add T5 adapter operations.

2013-03-14 Thread Vipul Pandya
From: Arvind Bhushan This patch creates a new file for T5 adapter operations. Signed-off-by: Arvind Bhushan Signed-off-by: Naresh Kumar Inna --- v2: Replaced #ifdef with portable interface wmb in ring_tx_db drivers/scsi/csiostor/csio_hw_t5.c | 397 1 fil

[PATCH v2 net-next 21/22] csiostor: Header file modifications for chip support and bug fixes.

2013-03-14 Thread Vipul Pandya
From: Arvind Bhushan This patch defines the common operations to support multiple chips. It includes common header file modifications to support the current chips (T4 and T5). It also includes the following bug fixes: - reconfirms the rnode state after an implicit logo. - corrects the stats array

[PATCH v2 net-next 22/22] csiostor: Cleanup chip specific operations.

2013-03-14 Thread Vipul Pandya
From: Arvind Bhushan This patch removes chip specific operations from the common hardware paths, as well as the Makefile change to accomodate the new files. Signed-off-by: Arvind Bhushan Signed-off-by: Naresh Kumar Inna --- v2: Replaced #ifdef with portable interface wmb in ring_tx_db driver

[PATCH v2 net-next 05/22] cxgb4: Add T5 write combining support

2013-03-14 Thread Vipul Pandya
From: Santosh Rastapur This patch implements a low latency Write Combining (aka Write Coalescing) work request path. PCIE maps User Space Doorbell BAR2 region writes to the new interface to SGE. SGE pulls a new message from PCIE new interface and if its a coalesced write work request then pushes

[PATCH v2 net-next 01/22] cxgb4: Add register definations for T5

2013-03-14 Thread Vipul Pandya
From: Santosh Rastapur Signed-off-by: Santosh Rastapur Signed-off-by: Vipul Pandya --- v2: Replaced #ifdef with portable interface wmb in ring_tx_db drivers/net/ethernet/chelsio/cxgb4/t4_regs.h | 94 ++ 1 files changed, 94 insertions(+), 0 deletions(-) diff --git a/

Re: [PATCH v2 net-next 00/22] Add support for Chelsio T5 adapter

2013-03-14 Thread David Miller
From: Vipul Pandya Date: Thu, 14 Mar 2013 20:38:46 +0530 > We request to merge this patch series via David Miller's net-next tree. We are > copying respective maintainers of all the drivers for reviewing the changes. > Kindly let us know in case of any review comments. All applied to net-next, t

Re: [PATCH v2 net-next 00/22] Add support for Chelsio T5 adapter

2013-03-14 Thread Steve Wise
Acked-by: Steve Wise -- 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 http://vger.kernel.org/majordomo-info.html

RE: [PATCH v2 net-next 05/22] cxgb4: Add T5 write combining support

2013-03-14 Thread David Laight
> This patch implements a low latency Write Combining (aka Write Coalescing) > work > request path. PCIE maps User Space Doorbell BAR2 region writes to the new > interface to SGE. SGE pulls a new message from PCIE new interface and if its a > coalesced write work request then pushes it for process

Re: [PATCH] scsi_transport_fc: Make 'port_state' writeable

2013-03-14 Thread Steffen Maier
Just for my understanding: So this is a bit like writing 0 into the failed attribute of a zfcp_port in sysfs (zfcp_sysfs_port_failed_store()) which forces a port reopen recovery including a sequence of fc_remote_port_delete and fc_remote_port_add? If so, it sounds good to have this functionalit

[PATCH 1/3] ipr: fix addition of abort command to HRRQ free queue

2013-03-14 Thread wenxiong
From: Kleber Sacilotto de Souza The abort command issued by ipr_cancel_op() is being added to the wrong HRRQ free queue after the command returns. Fix it by using the HRRQ pointer in the ipr command struct itself. Signed-off-by: Kleber Sacilotto de Souza Signed-off-by: Wen Xiong --- drivers/s

[PATCH 0/3] Fixed several ipr bugs when bring up an ipr adapter

2013-03-14 Thread wenxiong
-- Hi All, These patches fixed several ipr bugs when brining up new adapters. Let me know if you have any questions. 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 http://vger.k

[PATCH 2/3] ipr: dlpar failed when adding an adapter back

2013-03-14 Thread wenxiong
Reinitialize resource queue prior to freeing resource entries to ensure they are not referenced. This fixes an issue with target_destoy accessing memory after it was freed. Signed-off-by: Wen Xiong --- drivers/scsi/ipr.c |1 + 1 file changed, 1 insertion(+) Index: b/drivers/scsi/ipr.c =

[PATCH 3/3] ipr: Avoid target_destroy accessing memory after it was freed

2013-03-14 Thread wenxiong
Defined target_ids,array_ids and vsets_ids as unsigned long to avoid target_destroy accessing memory after it was freed. Signed-off-by: Wen Xiong --- drivers/scsi/ipr.c | 16 drivers/scsi/ipr.h |6 +++--- 2 files changed, 3 insertions(+), 19 deletions(-) Index: b/driver