All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/18] qla2xxx: Updates for scsi-misc-2.6
@ 2011-03-30 18:46 madhu.iyengar
  2011-03-30 18:46 ` [PATCH 01/18] qla2xxx: Display PortID information during FCP command-status handling madhu.iyengar
                   ` (18 more replies)
  0 siblings, 19 replies; 21+ messages in thread
From: madhu.iyengar @ 2011-03-30 18:46 UTC (permalink / raw)
  To: James.Bottomley
  Cc: giridhar.malavali, madhu.iyengar, andrew.vasquez, linux-scsi,
	Madhuranath Iyengar

From: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>

James,

Please add these patches. Thanks.

Andrew Vasquez (7):
  qla2xxx: Display PortID information during FCP command-status
    handling.
  qla2xxx: Correct calling contexts of qla2x00_mark_device_lost() in
    async paths.
  qla2xxx: Check for a match before attempting to set FCP-priority
    information.
  qla2xxx: Remove extraneous setting of FCF_ASYNC_SENT during
    login-done completion.
  qla2xxx: Free firmware PCB on logout request.
  qla2xxx: Update copyright banner.
  qla2xxx: Verify login-state has transitioned to PRLI-completed.

Chad Dupuis (1):
  qla2xxx: Log fcport state transitions when debug messages are
    enabled.

Giridhar Malavali (6):
  qla2xxx: Updated the reset sequence for ISP82xx.
  qla2xxx: Remove extra call to qla82xx_check_fw_alive().
  qla2xxx: Perform FCoE context reset before trying adapter reset for
    ISP82xx.
  qla2xxx: Display hardware/firmware registers to get more information
    about the error for ISP82xx.
  qla2xxx: Add the ql2xdontresethba module_param.
  qla2xxx: Limit the logs in case device state does not change for
    ISP82xx.

Joe Carnuccio (1):
  qla2xxx: Add test for valid loop id to qla2x00_relogin().

Madhuranath Iyengar (2):
  qla2xxx: Update License file.
  qla2xxx: Update version number to 8.03.07.03-k.

Mike Hernandez (1):
  qla2xxx: Include request queue ID in the upper 16-bits of the I/O
    handle for Abort I/O IOCBs.

 Documentation/scsi/LICENSE.qla2xxx  |  292 ++++++++++++++++++++++++++++++++++-
 drivers/scsi/qla2xxx/qla_attr.c     |    4 +-
 drivers/scsi/qla2xxx/qla_bsg.c      |    2 +-
 drivers/scsi/qla2xxx/qla_bsg.h      |    2 +-
 drivers/scsi/qla2xxx/qla_dbg.c      |    2 +-
 drivers/scsi/qla2xxx/qla_dbg.h      |    2 +-
 drivers/scsi/qla2xxx/qla_def.h      |   10 +-
 drivers/scsi/qla2xxx/qla_dfs.c      |    2 +-
 drivers/scsi/qla2xxx/qla_fw.h       |    2 +-
 drivers/scsi/qla2xxx/qla_gbl.h      |    5 +-
 drivers/scsi/qla2xxx/qla_gs.c       |    2 +-
 drivers/scsi/qla2xxx/qla_init.c     |   45 ++++--
 drivers/scsi/qla2xxx/qla_inline.h   |   21 +++-
 drivers/scsi/qla2xxx/qla_iocb.c     |    2 +-
 drivers/scsi/qla2xxx/qla_isr.c      |   43 ++++--
 drivers/scsi/qla2xxx/qla_mbx.c      |   24 ++-
 drivers/scsi/qla2xxx/qla_mid.c      |    4 +-
 drivers/scsi/qla2xxx/qla_nx.c       |   59 ++++++-
 drivers/scsi/qla2xxx/qla_nx.h       |    2 +-
 drivers/scsi/qla2xxx/qla_os.c       |   43 +++++-
 drivers/scsi/qla2xxx/qla_settings.h |    2 +-
 drivers/scsi/qla2xxx/qla_sup.c      |    2 +-
 drivers/scsi/qla2xxx/qla_version.h  |    6 +-
 23 files changed, 499 insertions(+), 79 deletions(-)


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [PATCH 01/18] qla2xxx: Display PortID information during FCP command-status handling.
  2011-03-30 18:46 [PATCH 00/18] qla2xxx: Updates for scsi-misc-2.6 madhu.iyengar
@ 2011-03-30 18:46 ` madhu.iyengar
  2011-03-30 18:46 ` [PATCH 02/18] qla2xxx: Correct calling contexts of qla2x00_mark_device_lost() in async paths madhu.iyengar
                   ` (17 subsequent siblings)
  18 siblings, 0 replies; 21+ messages in thread
From: madhu.iyengar @ 2011-03-30 18:46 UTC (permalink / raw)
  To: James.Bottomley
  Cc: giridhar.malavali, madhu.iyengar, andrew.vasquez, linux-scsi

From: Andrew Vasquez <andrew.vasquez@qlogic.com>

To provide a clearer translation of the command-status origin in
relation to the midlayer's standard SCSI nexus.

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>
---
 drivers/scsi/qla2xxx/qla_isr.c |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c
index d17ed9a..5bb4d58 100644
--- a/drivers/scsi/qla2xxx/qla_isr.c
+++ b/drivers/scsi/qla2xxx/qla_isr.c
@@ -1794,12 +1794,13 @@ out:
 	if (logit)
 		DEBUG2(qla_printk(KERN_INFO, ha,
 		    "scsi(%ld:%d:%d) FCP command status: 0x%x-0x%x (0x%x) "
-		    "oxid=0x%x cdb=%02x%02x%02x len=0x%x "
+		    "portid=%02x%02x%02x oxid=0x%x cdb=%02x%02x%02x len=0x%x "
 		    "rsp_info=0x%x resid=0x%x fw_resid=0x%x\n", vha->host_no,
 		    cp->device->id, cp->device->lun, comp_status, scsi_status,
-		    cp->result, ox_id, cp->cmnd[0],
-		    cp->cmnd[1], cp->cmnd[2], scsi_bufflen(cp), rsp_info_len,
-		    resid_len, fw_resid_len));
+		    cp->result, fcport->d_id.b.domain, fcport->d_id.b.area,
+		    fcport->d_id.b.al_pa, ox_id, cp->cmnd[0], cp->cmnd[1],
+		    cp->cmnd[2], scsi_bufflen(cp), rsp_info_len, resid_len,
+		    fw_resid_len));
 
 	if (rsp->status_srb == NULL)
 		qla2x00_sp_compl(ha, sp);
-- 
1.6.0.2


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 02/18] qla2xxx: Correct calling contexts of qla2x00_mark_device_lost() in async paths.
  2011-03-30 18:46 [PATCH 00/18] qla2xxx: Updates for scsi-misc-2.6 madhu.iyengar
  2011-03-30 18:46 ` [PATCH 01/18] qla2xxx: Display PortID information during FCP command-status handling madhu.iyengar
@ 2011-03-30 18:46 ` madhu.iyengar
  2011-03-30 18:46 ` [PATCH 03/18] qla2xxx: Check for a match before attempting to set FCP-priority information madhu.iyengar
                   ` (16 subsequent siblings)
  18 siblings, 0 replies; 21+ messages in thread
From: madhu.iyengar @ 2011-03-30 18:46 UTC (permalink / raw)
  To: James.Bottomley
  Cc: giridhar.malavali, madhu.iyengar, andrew.vasquez, linux-scsi

From: Andrew Vasquez <andrew.vasquez@qlogic.com>

The respective done() functions are called from process context,
so there's no reason to 'defer' the request.

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>
---
 drivers/scsi/qla2xxx/qla_init.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index 8575808..394d03d 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -397,7 +397,7 @@ qla2x00_async_login_done(struct scsi_qla_host *vha, fc_port_t *fcport,
 		if (data[1] & QLA_LOGIO_LOGIN_RETRIED)
 			set_bit(RELOGIN_NEEDED, &vha->dpc_flags);
 		else
-			qla2x00_mark_device_lost(vha, fcport, 1, 1);
+			qla2x00_mark_device_lost(vha, fcport, 1, 0);
 		break;
 	case MBS_PORT_ID_USED:
 		fcport->loop_id = data[1];
@@ -409,7 +409,7 @@ qla2x00_async_login_done(struct scsi_qla_host *vha, fc_port_t *fcport,
 		rval = qla2x00_find_new_loop_id(vha, fcport);
 		if (rval != QLA_SUCCESS) {
 			fcport->flags &= ~FCF_ASYNC_SENT;
-			qla2x00_mark_device_lost(vha, fcport, 1, 1);
+			qla2x00_mark_device_lost(vha, fcport, 1, 0);
 			break;
 		}
 		qla2x00_post_async_login_work(vha, fcport, NULL);
@@ -441,7 +441,7 @@ qla2x00_async_adisc_done(struct scsi_qla_host *vha, fc_port_t *fcport,
 	if (data[1] & QLA_LOGIO_LOGIN_RETRIED)
 		set_bit(RELOGIN_NEEDED, &vha->dpc_flags);
 	else
-		qla2x00_mark_device_lost(vha, fcport, 1, 1);
+		qla2x00_mark_device_lost(vha, fcport, 1, 0);
 
 	return;
 }
-- 
1.6.0.2


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 03/18] qla2xxx: Check for a match before attempting to set FCP-priority information.
  2011-03-30 18:46 [PATCH 00/18] qla2xxx: Updates for scsi-misc-2.6 madhu.iyengar
  2011-03-30 18:46 ` [PATCH 01/18] qla2xxx: Display PortID information during FCP command-status handling madhu.iyengar
  2011-03-30 18:46 ` [PATCH 02/18] qla2xxx: Correct calling contexts of qla2x00_mark_device_lost() in async paths madhu.iyengar
@ 2011-03-30 18:46 ` madhu.iyengar
  2011-03-30 18:46 ` [PATCH 04/18] qla2xxx: Remove extraneous setting of FCF_ASYNC_SENT during login-done completion madhu.iyengar
                   ` (15 subsequent siblings)
  18 siblings, 0 replies; 21+ messages in thread
From: madhu.iyengar @ 2011-03-30 18:46 UTC (permalink / raw)
  To: James.Bottomley
  Cc: giridhar.malavali, madhu.iyengar, andrew.vasquez, linux-scsi

From: Andrew Vasquez <andrew.vasquez@qlogic.com>

Modifying qla24xx_get_fcp_prio() to return a 'found' status
allows the driver to short circuit the 'set FCP-priority' call
and reduce the amount of noise generated in the messages file:

	scsi(5): Unable to activate fcp priority,  ret=0x102
	scsi(5): Unable to activate fcp priority,  ret=0x102

Also make qla24xx_get_fcp_prio() static.

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>
---
 drivers/scsi/qla2xxx/qla_init.c |   15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index 394d03d..f98cfac 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -5508,26 +5508,26 @@ qla81xx_update_fw_options(scsi_qla_host_t *vha)
  *
  * Return:
  *	non-zero (if found)
- * 	0 (if not found)
+ *	-1 (if not found)
  *
  * Context:
  * 	Kernel context
  */
-uint8_t
+static int
 qla24xx_get_fcp_prio(scsi_qla_host_t *vha, fc_port_t *fcport)
 {
 	int i, entries;
 	uint8_t pid_match, wwn_match;
-	uint8_t priority;
+	int priority;
 	uint32_t pid1, pid2;
 	uint64_t wwn1, wwn2;
 	struct qla_fcp_prio_entry *pri_entry;
 	struct qla_hw_data *ha = vha->hw;
 
 	if (!ha->fcp_prio_cfg || !ha->flags.fcp_prio_enabled)
-		return 0;
+		return -1;
 
-	priority = 0;
+	priority = -1;
 	entries = ha->fcp_prio_cfg->num_entries;
 	pri_entry = &ha->fcp_prio_cfg->entry[0];
 
@@ -5610,7 +5610,7 @@ int
 qla24xx_update_fcport_fcp_prio(scsi_qla_host_t *vha, fc_port_t *fcport)
 {
 	int ret;
-	uint8_t priority;
+	int priority;
 	uint16_t mb[5];
 
 	if (fcport->port_type != FCT_TARGET ||
@@ -5618,6 +5618,9 @@ qla24xx_update_fcport_fcp_prio(scsi_qla_host_t *vha, fc_port_t *fcport)
 		return QLA_FUNCTION_FAILED;
 
 	priority = qla24xx_get_fcp_prio(vha, fcport);
+	if (priority < 0)
+		return QLA_FUNCTION_FAILED;
+
 	ret = qla24xx_set_fcp_prio(vha, fcport->loop_id, priority, mb);
 	if (ret == QLA_SUCCESS)
 		fcport->fcp_prio = priority;
-- 
1.6.0.2


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 04/18] qla2xxx: Remove extraneous setting of FCF_ASYNC_SENT during login-done completion.
  2011-03-30 18:46 [PATCH 00/18] qla2xxx: Updates for scsi-misc-2.6 madhu.iyengar
                   ` (2 preceding siblings ...)
  2011-03-30 18:46 ` [PATCH 03/18] qla2xxx: Check for a match before attempting to set FCP-priority information madhu.iyengar
@ 2011-03-30 18:46 ` madhu.iyengar
  2011-03-30 18:46 ` [PATCH 05/18] qla2xxx: Include request queue ID in the upper 16-bits of the I/O handle for Abort I/O IOCBs madhu.iyengar
                   ` (14 subsequent siblings)
  18 siblings, 0 replies; 21+ messages in thread
From: madhu.iyengar @ 2011-03-30 18:46 UTC (permalink / raw)
  To: James.Bottomley
  Cc: giridhar.malavali, madhu.iyengar, andrew.vasquez, linux-scsi

From: Andrew Vasquez <andrew.vasquez@qlogic.com>

The bit is already set upon entry.

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>
---
 drivers/scsi/qla2xxx/qla_init.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index f98cfac..0f75fab 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -386,7 +386,6 @@ qla2x00_async_login_done(struct scsi_qla_host *vha, fc_port_t *fcport,
 	switch (data[0]) {
 	case MBS_COMMAND_COMPLETE:
 		if (fcport->flags & FCF_FCP2_DEVICE) {
-			fcport->flags |= FCF_ASYNC_SENT;
 			qla2x00_post_async_adisc_work(vha, fcport, data);
 			break;
 		}
-- 
1.6.0.2


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 05/18] qla2xxx: Include request queue ID in the upper 16-bits of the I/O handle for Abort I/O IOCBs.
  2011-03-30 18:46 [PATCH 00/18] qla2xxx: Updates for scsi-misc-2.6 madhu.iyengar
                   ` (3 preceding siblings ...)
  2011-03-30 18:46 ` [PATCH 04/18] qla2xxx: Remove extraneous setting of FCF_ASYNC_SENT during login-done completion madhu.iyengar
@ 2011-03-30 18:46 ` madhu.iyengar
  2011-03-30 18:46 ` [PATCH 06/18] qla2xxx: Free firmware PCB on logout request madhu.iyengar
                   ` (13 subsequent siblings)
  18 siblings, 0 replies; 21+ messages in thread
From: madhu.iyengar @ 2011-03-30 18:46 UTC (permalink / raw)
  To: James.Bottomley
  Cc: giridhar.malavali, madhu.iyengar, andrew.vasquez, linux-scsi,
	Mike Hernandez

From: Mike Hernandez <michael.hernandez@qlogic.com>

The upper 16-bits of the handle for all I/O in multi-queue supported
drivers carries the ID of the request queue it was submitted on. When
using Abort I/O IOCB, the driver needs to also populate the upper
16-bits in the handle_to_abort field so the fw can correlate with the
actual I/O.

Signed-off-by: Mike Hernandez <michael.hernandez@qlogic.com>
Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>
---
 drivers/scsi/qla2xxx/qla_mbx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/scsi/qla2xxx/qla_mbx.c b/drivers/scsi/qla2xxx/qla_mbx.c
index 7a7c0ec..fae75ca 100644
--- a/drivers/scsi/qla2xxx/qla_mbx.c
+++ b/drivers/scsi/qla2xxx/qla_mbx.c
@@ -2362,7 +2362,7 @@ qla24xx_abort_command(srb_t *sp)
 	abt->entry_count = 1;
 	abt->handle = MAKE_HANDLE(req->id, abt->handle);
 	abt->nport_handle = cpu_to_le16(fcport->loop_id);
-	abt->handle_to_abort = handle;
+	abt->handle_to_abort = MAKE_HANDLE(req->id, handle);
 	abt->port_id[0] = fcport->d_id.b.al_pa;
 	abt->port_id[1] = fcport->d_id.b.area;
 	abt->port_id[2] = fcport->d_id.b.domain;
-- 
1.6.0.2


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 06/18] qla2xxx: Free firmware PCB on logout request.
  2011-03-30 18:46 [PATCH 00/18] qla2xxx: Updates for scsi-misc-2.6 madhu.iyengar
                   ` (4 preceding siblings ...)
  2011-03-30 18:46 ` [PATCH 05/18] qla2xxx: Include request queue ID in the upper 16-bits of the I/O handle for Abort I/O IOCBs madhu.iyengar
@ 2011-03-30 18:46 ` madhu.iyengar
  2011-03-30 18:46 ` [PATCH 07/18] qla2xxx: Update License file madhu.iyengar
                   ` (12 subsequent siblings)
  18 siblings, 0 replies; 21+ messages in thread
From: madhu.iyengar @ 2011-03-30 18:46 UTC (permalink / raw)
  To: James.Bottomley
  Cc: giridhar.malavali, madhu.iyengar, andrew.vasquez, linux-scsi

From: Andrew Vasquez <andrew.vasquez@qlogic.com>

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>
---
 drivers/scsi/qla2xxx/qla_mbx.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/scsi/qla2xxx/qla_mbx.c b/drivers/scsi/qla2xxx/qla_mbx.c
index fae75ca..db2e4b1 100644
--- a/drivers/scsi/qla2xxx/qla_mbx.c
+++ b/drivers/scsi/qla2xxx/qla_mbx.c
@@ -1883,7 +1883,8 @@ qla24xx_fabric_logout(scsi_qla_host_t *vha, uint16_t loop_id, uint8_t domain,
 	lg->handle = MAKE_HANDLE(req->id, lg->handle);
 	lg->nport_handle = cpu_to_le16(loop_id);
 	lg->control_flags =
-	    __constant_cpu_to_le16(LCF_COMMAND_LOGO|LCF_IMPL_LOGO);
+	    __constant_cpu_to_le16(LCF_COMMAND_LOGO|LCF_IMPL_LOGO|
+		LCF_FREE_NPORT);
 	lg->port_id[0] = al_pa;
 	lg->port_id[1] = area;
 	lg->port_id[2] = domain;
-- 
1.6.0.2


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 07/18] qla2xxx: Update License file.
  2011-03-30 18:46 [PATCH 00/18] qla2xxx: Updates for scsi-misc-2.6 madhu.iyengar
                   ` (5 preceding siblings ...)
  2011-03-30 18:46 ` [PATCH 06/18] qla2xxx: Free firmware PCB on logout request madhu.iyengar
@ 2011-03-30 18:46 ` madhu.iyengar
  2011-03-30 18:46 ` [PATCH 08/18] qla2xxx: Update copyright banner madhu.iyengar
                   ` (11 subsequent siblings)
  18 siblings, 0 replies; 21+ messages in thread
From: madhu.iyengar @ 2011-03-30 18:46 UTC (permalink / raw)
  To: James.Bottomley
  Cc: giridhar.malavali, madhu.iyengar, andrew.vasquez, linux-scsi,
	Madhuranath Iyengar

From: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>

Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>
---
 Documentation/scsi/LICENSE.qla2xxx |  292 +++++++++++++++++++++++++++++++++++-
 1 files changed, 287 insertions(+), 5 deletions(-)

diff --git a/Documentation/scsi/LICENSE.qla2xxx b/Documentation/scsi/LICENSE.qla2xxx
index 9e15b4f..19e7cd4 100644
--- a/Documentation/scsi/LICENSE.qla2xxx
+++ b/Documentation/scsi/LICENSE.qla2xxx
@@ -1,11 +1,11 @@
-Copyright (c)  2003-2005 QLogic Corporation
-QLogic Linux Fibre Channel HBA Driver
+Copyright (c) 2003-2011 QLogic Corporation
+QLogic Linux/ESX Fibre Channel HBA Driver
 
-This program includes a device driver for Linux 2.6 that may be
+This program includes a device driver for Linux 2.6/ESX that may be
 distributed with QLogic hardware specific firmware binary file.
 You may modify and redistribute the device driver code under the
-GNU General Public License as published by the Free Software
-Foundation (version 2 or a later version).
+GNU General Public License (a copy of which is attached hereto as
+Exhibit A) published by the Free Software Foundation (version 2).
 
 You may redistribute the hardware specific firmware binary file
 under the following terms:
@@ -43,3 +43,285 @@ OTHERWISE IN ANY INTELLECTUAL PROPERTY RIGHTS (PATENT, COPYRIGHT,
 TRADE SECRET, MASK WORK, OR OTHER PROPRIETARY RIGHT) EMBODIED IN
 ANY OTHER QLOGIC HARDWARE OR SOFTWARE EITHER SOLELY OR IN
 COMBINATION WITH THIS PROGRAM.
+
+
+EXHIBIT A
+
+		    GNU GENERAL PUBLIC LICENSE
+		       Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+ 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+			    Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users.  This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it.  (Some other Free Software Foundation software is covered by
+the GNU Lesser General Public License instead.)  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have.  You must make sure that they, too, receive or can get the
+source code.  And you must show them these terms so they know their
+rights.
+
+  We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+  Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software.  If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+  Finally, any free program is threatened constantly by software
+patents.  We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary.  To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+		    GNU GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License.  The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language.  (Hereinafter, translation is included without limitation in
+the term "modification".)  Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+  1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+  2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+    a) You must cause the modified files to carry prominent notices
+    stating that you changed the files and the date of any change.
+
+    b) You must cause any work that you distribute or publish, that in
+    whole or in part contains or is derived from the Program or any
+    part thereof, to be licensed as a whole at no charge to all third
+    parties under the terms of this License.
+
+    c) If the modified program normally reads commands interactively
+    when run, you must cause it, when started running for such
+    interactive use in the most ordinary way, to print or display an
+    announcement including an appropriate copyright notice and a
+    notice that there is no warranty (or else, saying that you provide
+    a warranty) and that users may redistribute the program under
+    these conditions, and telling the user how to view a copy of this
+    License.  (Exception: if the Program itself is interactive but
+    does not normally print such an announcement, your work based on
+    the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole.  If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works.  But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+  3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+    a) Accompany it with the complete corresponding machine-readable
+    source code, which must be distributed under the terms of Sections
+    1 and 2 above on a medium customarily used for software interchange; or,
+
+    b) Accompany it with a written offer, valid for at least three
+    years, to give any third party, for a charge no more than your
+    cost of physically performing source distribution, a complete
+    machine-readable copy of the corresponding source code, to be
+    distributed under the terms of Sections 1 and 2 above on a medium
+    customarily used for software interchange; or,
+
+    c) Accompany it with the information you received as to the offer
+    to distribute corresponding source code.  (This alternative is
+    allowed only for noncommercial distribution and only if you
+    received the program in object code or executable form with such
+    an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it.  For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable.  However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+  4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License.  Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+  5. You are not required to accept this License, since you have not
+signed it.  However, nothing else grants you permission to modify or
+distribute the Program or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+  6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions.  You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+  7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices.  Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+  8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded.  In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+  9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time.  Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation.  If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+  10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission.  For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this.  Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+			    NO WARRANTY
+
+  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
-- 
1.6.0.2


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 08/18] qla2xxx: Update copyright banner.
  2011-03-30 18:46 [PATCH 00/18] qla2xxx: Updates for scsi-misc-2.6 madhu.iyengar
                   ` (6 preceding siblings ...)
  2011-03-30 18:46 ` [PATCH 07/18] qla2xxx: Update License file madhu.iyengar
@ 2011-03-30 18:46 ` madhu.iyengar
  2011-03-30 18:46 ` [PATCH 09/18] qla2xxx: Updated the reset sequence for ISP82xx madhu.iyengar
                   ` (10 subsequent siblings)
  18 siblings, 0 replies; 21+ messages in thread
From: madhu.iyengar @ 2011-03-30 18:46 UTC (permalink / raw)
  To: James.Bottomley
  Cc: giridhar.malavali, madhu.iyengar, andrew.vasquez, linux-scsi

From: Andrew Vasquez <andrew.vasquez@qlogic.com>

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>
---
 drivers/scsi/qla2xxx/qla_attr.c     |    2 +-
 drivers/scsi/qla2xxx/qla_bsg.c      |    2 +-
 drivers/scsi/qla2xxx/qla_bsg.h      |    2 +-
 drivers/scsi/qla2xxx/qla_dbg.c      |    2 +-
 drivers/scsi/qla2xxx/qla_dbg.h      |    2 +-
 drivers/scsi/qla2xxx/qla_def.h      |    2 +-
 drivers/scsi/qla2xxx/qla_dfs.c      |    2 +-
 drivers/scsi/qla2xxx/qla_fw.h       |    2 +-
 drivers/scsi/qla2xxx/qla_gbl.h      |    2 +-
 drivers/scsi/qla2xxx/qla_gs.c       |    2 +-
 drivers/scsi/qla2xxx/qla_init.c     |    2 +-
 drivers/scsi/qla2xxx/qla_inline.h   |    2 +-
 drivers/scsi/qla2xxx/qla_iocb.c     |    2 +-
 drivers/scsi/qla2xxx/qla_isr.c      |    2 +-
 drivers/scsi/qla2xxx/qla_mbx.c      |    2 +-
 drivers/scsi/qla2xxx/qla_mid.c      |    2 +-
 drivers/scsi/qla2xxx/qla_nx.c       |    2 +-
 drivers/scsi/qla2xxx/qla_nx.h       |    2 +-
 drivers/scsi/qla2xxx/qla_os.c       |    2 +-
 drivers/scsi/qla2xxx/qla_settings.h |    2 +-
 drivers/scsi/qla2xxx/qla_sup.c      |    2 +-
 drivers/scsi/qla2xxx/qla_version.h  |    2 +-
 22 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/drivers/scsi/qla2xxx/qla_attr.c b/drivers/scsi/qla2xxx/qla_attr.c
index d3e58d7..cee3eed 100644
--- a/drivers/scsi/qla2xxx/qla_attr.c
+++ b/drivers/scsi/qla2xxx/qla_attr.c
@@ -1,6 +1,6 @@
 /*
  * QLogic Fibre Channel HBA Driver
- * Copyright (c)  2003-2010 QLogic Corporation
+ * Copyright (c)  2003-2011 QLogic Corporation
  *
  * See LICENSE.qla2xxx for copyright and licensing details.
  */
diff --git a/drivers/scsi/qla2xxx/qla_bsg.c b/drivers/scsi/qla2xxx/qla_bsg.c
index 903b058..8c10e2c 100644
--- a/drivers/scsi/qla2xxx/qla_bsg.c
+++ b/drivers/scsi/qla2xxx/qla_bsg.c
@@ -1,6 +1,6 @@
 /*
  * QLogic Fibre Channel HBA Driver
- * Copyright (c)  2003-2010 QLogic Corporation
+ * Copyright (c)  2003-2011 QLogic Corporation
  *
  * See LICENSE.qla2xxx for copyright and licensing details.
  */
diff --git a/drivers/scsi/qla2xxx/qla_bsg.h b/drivers/scsi/qla2xxx/qla_bsg.h
index 074a999..0f0f54e 100644
--- a/drivers/scsi/qla2xxx/qla_bsg.h
+++ b/drivers/scsi/qla2xxx/qla_bsg.h
@@ -1,6 +1,6 @@
 /*
  * QLogic Fibre Channel HBA Driver
- * Copyright (c)  2003-2010 QLogic Corporation
+ * Copyright (c)  2003-2011 QLogic Corporation
  *
  * See LICENSE.qla2xxx for copyright and licensing details.
  */
diff --git a/drivers/scsi/qla2xxx/qla_dbg.c b/drivers/scsi/qla2xxx/qla_dbg.c
index 0961411..c53719a 100644
--- a/drivers/scsi/qla2xxx/qla_dbg.c
+++ b/drivers/scsi/qla2xxx/qla_dbg.c
@@ -1,6 +1,6 @@
 /*
  * QLogic Fibre Channel HBA Driver
- * Copyright (c)  2003-2010 QLogic Corporation
+ * Copyright (c)  2003-2011 QLogic Corporation
  *
  * See LICENSE.qla2xxx for copyright and licensing details.
  */
diff --git a/drivers/scsi/qla2xxx/qla_dbg.h b/drivers/scsi/qla2xxx/qla_dbg.h
index b74e6b5..9304145 100644
--- a/drivers/scsi/qla2xxx/qla_dbg.h
+++ b/drivers/scsi/qla2xxx/qla_dbg.h
@@ -1,6 +1,6 @@
 /*
  * QLogic Fibre Channel HBA Driver
- * Copyright (c)  2003-2010 QLogic Corporation
+ * Copyright (c)  2003-2011 QLogic Corporation
  *
  * See LICENSE.qla2xxx for copyright and licensing details.
  */
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h
index 6c51c0a..316f01b 100644
--- a/drivers/scsi/qla2xxx/qla_def.h
+++ b/drivers/scsi/qla2xxx/qla_def.h
@@ -1,6 +1,6 @@
 /*
  * QLogic Fibre Channel HBA Driver
- * Copyright (c)  2003-2010 QLogic Corporation
+ * Copyright (c)  2003-2011 QLogic Corporation
  *
  * See LICENSE.qla2xxx for copyright and licensing details.
  */
diff --git a/drivers/scsi/qla2xxx/qla_dfs.c b/drivers/scsi/qla2xxx/qla_dfs.c
index 6271353..a5a4e12 100644
--- a/drivers/scsi/qla2xxx/qla_dfs.c
+++ b/drivers/scsi/qla2xxx/qla_dfs.c
@@ -1,6 +1,6 @@
 /*
  * QLogic Fibre Channel HBA Driver
- * Copyright (c)  2003-2010 QLogic Corporation
+ * Copyright (c)  2003-2011 QLogic Corporation
  *
  * See LICENSE.qla2xxx for copyright and licensing details.
  */
diff --git a/drivers/scsi/qla2xxx/qla_fw.h b/drivers/scsi/qla2xxx/qla_fw.h
index 631fefc..11490be 100644
--- a/drivers/scsi/qla2xxx/qla_fw.h
+++ b/drivers/scsi/qla2xxx/qla_fw.h
@@ -1,6 +1,6 @@
 /*
  * QLogic Fibre Channel HBA Driver
- * Copyright (c)  2003-2010 QLogic Corporation
+ * Copyright (c)  2003-2011 QLogic Corporation
  *
  * See LICENSE.qla2xxx for copyright and licensing details.
  */
diff --git a/drivers/scsi/qla2xxx/qla_gbl.h b/drivers/scsi/qla2xxx/qla_gbl.h
index d48326e..d009c6f 100644
--- a/drivers/scsi/qla2xxx/qla_gbl.h
+++ b/drivers/scsi/qla2xxx/qla_gbl.h
@@ -1,6 +1,6 @@
 /*
  * QLogic Fibre Channel HBA Driver
- * Copyright (c)  2003-2010 QLogic Corporation
+ * Copyright (c)  2003-2011 QLogic Corporation
  *
  * See LICENSE.qla2xxx for copyright and licensing details.
  */
diff --git a/drivers/scsi/qla2xxx/qla_gs.c b/drivers/scsi/qla2xxx/qla_gs.c
index 74a91b6..8cd9066 100644
--- a/drivers/scsi/qla2xxx/qla_gs.c
+++ b/drivers/scsi/qla2xxx/qla_gs.c
@@ -1,6 +1,6 @@
 /*
  * QLogic Fibre Channel HBA Driver
- * Copyright (c)  2003-2010 QLogic Corporation
+ * Copyright (c)  2003-2011 QLogic Corporation
  *
  * See LICENSE.qla2xxx for copyright and licensing details.
  */
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index 0f75fab..2c9f47a 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -1,6 +1,6 @@
 /*
  * QLogic Fibre Channel HBA Driver
- * Copyright (c)  2003-2010 QLogic Corporation
+ * Copyright (c)  2003-2011 QLogic Corporation
  *
  * See LICENSE.qla2xxx for copyright and licensing details.
  */
diff --git a/drivers/scsi/qla2xxx/qla_inline.h b/drivers/scsi/qla2xxx/qla_inline.h
index 48f97a9..4d17e70 100644
--- a/drivers/scsi/qla2xxx/qla_inline.h
+++ b/drivers/scsi/qla2xxx/qla_inline.h
@@ -1,6 +1,6 @@
 /*
  * QLogic Fibre Channel HBA Driver
- * Copyright (c)  2003-2010 QLogic Corporation
+ * Copyright (c)  2003-2011 QLogic Corporation
  *
  * See LICENSE.qla2xxx for copyright and licensing details.
  */
diff --git a/drivers/scsi/qla2xxx/qla_iocb.c b/drivers/scsi/qla2xxx/qla_iocb.c
index d78d589..7bac3cd 100644
--- a/drivers/scsi/qla2xxx/qla_iocb.c
+++ b/drivers/scsi/qla2xxx/qla_iocb.c
@@ -1,6 +1,6 @@
 /*
  * QLogic Fibre Channel HBA Driver
- * Copyright (c)  2003-2010 QLogic Corporation
+ * Copyright (c)  2003-2011 QLogic Corporation
  *
  * See LICENSE.qla2xxx for copyright and licensing details.
  */
diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c
index 5bb4d58..85dd791 100644
--- a/drivers/scsi/qla2xxx/qla_isr.c
+++ b/drivers/scsi/qla2xxx/qla_isr.c
@@ -1,6 +1,6 @@
 /*
  * QLogic Fibre Channel HBA Driver
- * Copyright (c)  2003-2010 QLogic Corporation
+ * Copyright (c)  2003-2011 QLogic Corporation
  *
  * See LICENSE.qla2xxx for copyright and licensing details.
  */
diff --git a/drivers/scsi/qla2xxx/qla_mbx.c b/drivers/scsi/qla2xxx/qla_mbx.c
index db2e4b1..33502e8 100644
--- a/drivers/scsi/qla2xxx/qla_mbx.c
+++ b/drivers/scsi/qla2xxx/qla_mbx.c
@@ -1,6 +1,6 @@
 /*
  * QLogic Fibre Channel HBA Driver
- * Copyright (c)  2003-2010 QLogic Corporation
+ * Copyright (c)  2003-2011 QLogic Corporation
  *
  * See LICENSE.qla2xxx for copyright and licensing details.
  */
diff --git a/drivers/scsi/qla2xxx/qla_mid.c b/drivers/scsi/qla2xxx/qla_mid.c
index 2b69392..3082e2f 100644
--- a/drivers/scsi/qla2xxx/qla_mid.c
+++ b/drivers/scsi/qla2xxx/qla_mid.c
@@ -1,6 +1,6 @@
 /*
  * QLogic Fibre Channel HBA Driver
- * Copyright (c)  2003-2010 QLogic Corporation
+ * Copyright (c)  2003-2011 QLogic Corporation
  *
  * See LICENSE.qla2xxx for copyright and licensing details.
  */
diff --git a/drivers/scsi/qla2xxx/qla_nx.c b/drivers/scsi/qla2xxx/qla_nx.c
index 76ec876..b221705 100644
--- a/drivers/scsi/qla2xxx/qla_nx.c
+++ b/drivers/scsi/qla2xxx/qla_nx.c
@@ -1,6 +1,6 @@
 /*
  * QLogic Fibre Channel HBA Driver
- * Copyright (c)  2003-2010 QLogic Corporation
+ * Copyright (c)  2003-2011 QLogic Corporation
  *
  * See LICENSE.qla2xxx for copyright and licensing details.
  */
diff --git a/drivers/scsi/qla2xxx/qla_nx.h b/drivers/scsi/qla2xxx/qla_nx.h
index ed5883f..8a21832 100644
--- a/drivers/scsi/qla2xxx/qla_nx.h
+++ b/drivers/scsi/qla2xxx/qla_nx.h
@@ -1,6 +1,6 @@
 /*
  * QLogic Fibre Channel HBA Driver
- * Copyright (c)  2003-2010 QLogic Corporation
+ * Copyright (c)  2003-2011 QLogic Corporation
  *
  * See LICENSE.qla2xxx for copyright and licensing details.
  */
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
index 6c002fb..aab3e20 100644
--- a/drivers/scsi/qla2xxx/qla_os.c
+++ b/drivers/scsi/qla2xxx/qla_os.c
@@ -1,6 +1,6 @@
 /*
  * QLogic Fibre Channel HBA Driver
- * Copyright (c)  2003-2010 QLogic Corporation
+ * Copyright (c)  2003-2011 QLogic Corporation
  *
  * See LICENSE.qla2xxx for copyright and licensing details.
  */
diff --git a/drivers/scsi/qla2xxx/qla_settings.h b/drivers/scsi/qla2xxx/qla_settings.h
index f0b2b99..d70f030 100644
--- a/drivers/scsi/qla2xxx/qla_settings.h
+++ b/drivers/scsi/qla2xxx/qla_settings.h
@@ -1,6 +1,6 @@
 /*
  * QLogic Fibre Channel HBA Driver
- * Copyright (c)  2003-2010 QLogic Corporation
+ * Copyright (c)  2003-2011 QLogic Corporation
  *
  * See LICENSE.qla2xxx for copyright and licensing details.
  */
diff --git a/drivers/scsi/qla2xxx/qla_sup.c b/drivers/scsi/qla2xxx/qla_sup.c
index 2207062..6936476 100644
--- a/drivers/scsi/qla2xxx/qla_sup.c
+++ b/drivers/scsi/qla2xxx/qla_sup.c
@@ -1,6 +1,6 @@
 /*
  * QLogic Fibre Channel HBA Driver
- * Copyright (c)  2003-2010 QLogic Corporation
+ * Copyright (c)  2003-2011 QLogic Corporation
  *
  * See LICENSE.qla2xxx for copyright and licensing details.
  */
diff --git a/drivers/scsi/qla2xxx/qla_version.h b/drivers/scsi/qla2xxx/qla_version.h
index 3a260c3..86f589c 100644
--- a/drivers/scsi/qla2xxx/qla_version.h
+++ b/drivers/scsi/qla2xxx/qla_version.h
@@ -1,6 +1,6 @@
 /*
  * QLogic Fibre Channel HBA Driver
- * Copyright (c)  2003-2010 QLogic Corporation
+ * Copyright (c)  2003-2011 QLogic Corporation
  *
  * See LICENSE.qla2xxx for copyright and licensing details.
  */
-- 
1.6.0.2


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 09/18] qla2xxx: Updated the reset sequence for ISP82xx.
  2011-03-30 18:46 [PATCH 00/18] qla2xxx: Updates for scsi-misc-2.6 madhu.iyengar
                   ` (7 preceding siblings ...)
  2011-03-30 18:46 ` [PATCH 08/18] qla2xxx: Update copyright banner madhu.iyengar
@ 2011-03-30 18:46 ` madhu.iyengar
  2011-03-30 18:46 ` [PATCH 10/18] qla2xxx: Remove extra call to qla82xx_check_fw_alive() madhu.iyengar
                   ` (9 subsequent siblings)
  18 siblings, 0 replies; 21+ messages in thread
From: madhu.iyengar @ 2011-03-30 18:46 UTC (permalink / raw)
  To: James.Bottomley
  Cc: giridhar.malavali, madhu.iyengar, andrew.vasquez, linux-scsi

From: Giridhar Malavali <giridhar.malavali@qlogic.com>

Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>
---
 drivers/scsi/qla2xxx/qla_nx.c |   19 +++++++++++++++++--
 1 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/drivers/scsi/qla2xxx/qla_nx.c b/drivers/scsi/qla2xxx/qla_nx.c
index b221705..d823098 100644
--- a/drivers/scsi/qla2xxx/qla_nx.c
+++ b/drivers/scsi/qla2xxx/qla_nx.c
@@ -1081,12 +1081,26 @@ qla82xx_pinit_from_rom(scsi_qla_host_t *vha)
 	/* Halt all the indiviual PEGs and other blocks of the ISP */
 	qla82xx_rom_lock(ha);
 
-	/* mask all niu interrupts */
+	/* disable all I2Q */
+	qla82xx_wr_32(ha, QLA82XX_CRB_I2Q + 0x10, 0x0);
+	qla82xx_wr_32(ha, QLA82XX_CRB_I2Q + 0x14, 0x0);
+	qla82xx_wr_32(ha, QLA82XX_CRB_I2Q + 0x18, 0x0);
+	qla82xx_wr_32(ha, QLA82XX_CRB_I2Q + 0x1c, 0x0);
+	qla82xx_wr_32(ha, QLA82XX_CRB_I2Q + 0x20, 0x0);
+	qla82xx_wr_32(ha, QLA82XX_CRB_I2Q + 0x24, 0x0);
+
+	/* disable all niu interrupts */
 	qla82xx_wr_32(ha, QLA82XX_CRB_NIU + 0x40, 0xff);
 	/* disable xge rx/tx */
 	qla82xx_wr_32(ha, QLA82XX_CRB_NIU + 0x70000, 0x00);
 	/* disable xg1 rx/tx */
 	qla82xx_wr_32(ha, QLA82XX_CRB_NIU + 0x80000, 0x00);
+	/* disable sideband mac */
+	qla82xx_wr_32(ha, QLA82XX_CRB_NIU + 0x90000, 0x00);
+	/* disable ap0 mac */
+	qla82xx_wr_32(ha, QLA82XX_CRB_NIU + 0xa0000, 0x00);
+	/* disable ap1 mac */
+	qla82xx_wr_32(ha, QLA82XX_CRB_NIU + 0xb0000, 0x00);
 
 	/* halt sre */
 	val = qla82xx_rd_32(ha, QLA82XX_CRB_SRE + 0x1000);
@@ -1101,6 +1115,7 @@ qla82xx_pinit_from_rom(scsi_qla_host_t *vha)
 	qla82xx_wr_32(ha, QLA82XX_CRB_TIMER + 0x10, 0x0);
 	qla82xx_wr_32(ha, QLA82XX_CRB_TIMER + 0x18, 0x0);
 	qla82xx_wr_32(ha, QLA82XX_CRB_TIMER + 0x100, 0x0);
+	qla82xx_wr_32(ha, QLA82XX_CRB_TIMER + 0x200, 0x0);
 
 	/* halt pegs */
 	qla82xx_wr_32(ha, QLA82XX_CRB_PEG_NET_0 + 0x3c, 1);
@@ -1108,9 +1123,9 @@ qla82xx_pinit_from_rom(scsi_qla_host_t *vha)
 	qla82xx_wr_32(ha, QLA82XX_CRB_PEG_NET_2 + 0x3c, 1);
 	qla82xx_wr_32(ha, QLA82XX_CRB_PEG_NET_3 + 0x3c, 1);
 	qla82xx_wr_32(ha, QLA82XX_CRB_PEG_NET_4 + 0x3c, 1);
+	msleep(20);
 
 	/* big hammer */
-	msleep(1000);
 	if (test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags))
 		/* don't reset CAM block on reset */
 		qla82xx_wr_32(ha, QLA82XX_ROMUSB_GLB_SW_RESET, 0xfeffffff);
-- 
1.6.0.2


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 10/18] qla2xxx: Remove extra call to qla82xx_check_fw_alive().
  2011-03-30 18:46 [PATCH 00/18] qla2xxx: Updates for scsi-misc-2.6 madhu.iyengar
                   ` (8 preceding siblings ...)
  2011-03-30 18:46 ` [PATCH 09/18] qla2xxx: Updated the reset sequence for ISP82xx madhu.iyengar
@ 2011-03-30 18:46 ` madhu.iyengar
  2011-03-30 18:46 ` [PATCH 11/18] qla2xxx: Perform FCoE context reset before trying adapter reset for ISP82xx madhu.iyengar
                   ` (8 subsequent siblings)
  18 siblings, 0 replies; 21+ messages in thread
From: madhu.iyengar @ 2011-03-30 18:46 UTC (permalink / raw)
  To: James.Bottomley
  Cc: giridhar.malavali, madhu.iyengar, andrew.vasquez, linux-scsi

From: Giridhar Malavali <giridhar.malavali@qlogic.com>

The stanadlone call to qla82xx_check_fw_alive() in qla82xx_watchdog()
is a typo, so remove it.

Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>
---
 drivers/scsi/qla2xxx/qla_nx.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/scsi/qla2xxx/qla_nx.c b/drivers/scsi/qla2xxx/qla_nx.c
index d823098..6e4b429 100644
--- a/drivers/scsi/qla2xxx/qla_nx.c
+++ b/drivers/scsi/qla2xxx/qla_nx.c
@@ -3647,7 +3647,6 @@ void qla82xx_watchdog(scsi_qla_host_t *vha)
 			set_bit(ISP_QUIESCE_NEEDED, &vha->dpc_flags);
 			qla2xxx_wake_dpc(vha);
 		} else {
-			qla82xx_check_fw_alive(vha);
 			if (qla82xx_check_fw_alive(vha)) {
 				halt_status = qla82xx_rd_32(ha,
 				    QLA82XX_PEG_HALT_STATUS1);
-- 
1.6.0.2


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 11/18] qla2xxx: Perform FCoE context reset before trying adapter reset for ISP82xx.
  2011-03-30 18:46 [PATCH 00/18] qla2xxx: Updates for scsi-misc-2.6 madhu.iyengar
                   ` (9 preceding siblings ...)
  2011-03-30 18:46 ` [PATCH 10/18] qla2xxx: Remove extra call to qla82xx_check_fw_alive() madhu.iyengar
@ 2011-03-30 18:46 ` madhu.iyengar
  2011-03-30 18:46 ` [PATCH 12/18] qla2xxx: Add test for valid loop id to qla2x00_relogin() madhu.iyengar
                   ` (7 subsequent siblings)
  18 siblings, 0 replies; 21+ messages in thread
From: madhu.iyengar @ 2011-03-30 18:46 UTC (permalink / raw)
  To: James.Bottomley
  Cc: giridhar.malavali, madhu.iyengar, andrew.vasquez, linux-scsi

From: Giridhar Malavali <giridhar.malavali@qlogic.com>

For certain failures, try to recover first by doing FCoE context reset before
attempting big hammer approach(adpater reset).

Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>
---
 drivers/scsi/qla2xxx/qla_isr.c |   32 ++++++++++++++++++++++++--------
 drivers/scsi/qla2xxx/qla_os.c  |   16 +++++++++++++---
 2 files changed, 37 insertions(+), 11 deletions(-)

diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c
index 85dd791..3bd252f 100644
--- a/drivers/scsi/qla2xxx/qla_isr.c
+++ b/drivers/scsi/qla2xxx/qla_isr.c
@@ -843,7 +843,10 @@ qla2x00_process_completed_request(struct scsi_qla_host *vha,
 		qla_printk(KERN_WARNING, ha,
 		    "Invalid SCSI completion handle %d.\n", index);
 
-		set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags);
+		if (IS_QLA82XX(ha))
+			set_bit(FCOE_CTX_RESET_NEEDED, &vha->dpc_flags);
+		else
+			set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags);
 		return;
 	}
 
@@ -861,7 +864,10 @@ qla2x00_process_completed_request(struct scsi_qla_host *vha,
 		qla_printk(KERN_WARNING, ha,
 		    "Invalid ISP SCSI completion handle\n");
 
-		set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags);
+		if (IS_QLA82XX(ha))
+			set_bit(FCOE_CTX_RESET_NEEDED, &vha->dpc_flags);
+		else
+			set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags);
 	}
 }
 
@@ -878,7 +884,10 @@ qla2x00_get_sp_from_handle(scsi_qla_host_t *vha, const char *func,
 	if (index >= MAX_OUTSTANDING_COMMANDS) {
 		qla_printk(KERN_WARNING, ha,
 		    "%s: Invalid completion handle (%x).\n", func, index);
-		set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags);
+		if (IS_QLA82XX(ha))
+			set_bit(FCOE_CTX_RESET_NEEDED, &vha->dpc_flags);
+		else
+			set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags);
 		goto done;
 	}
 	sp = req->outstanding_cmds[index];
@@ -1564,7 +1573,10 @@ qla2x00_status_entry(scsi_qla_host_t *vha, struct rsp_que *rsp, void *pkt)
 		    "scsi(%ld): Invalid status handle (0x%x).\n", vha->host_no,
 		    sts->handle);
 
-		set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags);
+		if (IS_QLA82XX(ha))
+			set_bit(FCOE_CTX_RESET_NEEDED, &vha->dpc_flags);
+		else
+			set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags);
 		qla2xxx_wake_dpc(vha);
 		return;
 	}
@@ -1909,13 +1921,17 @@ qla2x00_error_entry(scsi_qla_host_t *vha, struct rsp_que *rsp, sts_entry_t *pkt)
 		qla2x00_sp_compl(ha, sp);
 
 	} else if (pkt->entry_type == COMMAND_A64_TYPE || pkt->entry_type ==
-	    COMMAND_TYPE || pkt->entry_type == COMMAND_TYPE_7) {
+		COMMAND_TYPE || pkt->entry_type == COMMAND_TYPE_7
+		|| pkt->entry_type == COMMAND_TYPE_6) {
 		DEBUG2(printk("scsi(%ld): Error entry - invalid handle\n",
-		    vha->host_no));
+			vha->host_no));
 		qla_printk(KERN_WARNING, ha,
-		    "Error entry - invalid handle\n");
+			"Error entry - invalid handle\n");
 
-		set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags);
+		if (IS_QLA82XX(ha))
+			set_bit(FCOE_CTX_RESET_NEEDED, &vha->dpc_flags);
+		else
+			set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags);
 		qla2xxx_wake_dpc(vha);
 	}
 }
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
index aab3e20..2255033 100644
--- a/drivers/scsi/qla2xxx/qla_os.c
+++ b/drivers/scsi/qla2xxx/qla_os.c
@@ -3612,7 +3612,8 @@ qla2x00_timer(scsi_qla_host_t *vha)
 
 	/* Loop down handler. */
 	if (atomic_read(&vha->loop_down_timer) > 0 &&
-	    !(test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags))
+	    !(test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags)) &&
+	    !(test_bit(FCOE_CTX_RESET_NEEDED, &vha->dpc_flags))
 		&& vha->flags.online) {
 
 		if (atomic_read(&vha->loop_down_timer) ==
@@ -3648,7 +3649,11 @@ qla2x00_timer(scsi_qla_host_t *vha)
 					if (!(sfcp->flags & FCF_FCP2_DEVICE))
 						continue;
 
-					set_bit(ISP_ABORT_NEEDED,
+					if (IS_QLA82XX(ha))
+						set_bit(FCOE_CTX_RESET_NEEDED,
+							&vha->dpc_flags);
+					else
+						set_bit(ISP_ABORT_NEEDED,
 							&vha->dpc_flags);
 					break;
 				}
@@ -3667,7 +3672,12 @@ qla2x00_timer(scsi_qla_host_t *vha)
 				qla_printk(KERN_WARNING, ha,
 				    "Loop down - aborting ISP.\n");
 
-				set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags);
+				if (IS_QLA82XX(ha))
+					set_bit(FCOE_CTX_RESET_NEEDED,
+						&vha->dpc_flags);
+				else
+					set_bit(ISP_ABORT_NEEDED,
+						&vha->dpc_flags);
 			}
 		}
 		DEBUG3(printk("scsi(%ld): Loop Down - seconds remaining %d\n",
-- 
1.6.0.2


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 12/18] qla2xxx: Add test for valid loop id to qla2x00_relogin().
  2011-03-30 18:46 [PATCH 00/18] qla2xxx: Updates for scsi-misc-2.6 madhu.iyengar
                   ` (10 preceding siblings ...)
  2011-03-30 18:46 ` [PATCH 11/18] qla2xxx: Perform FCoE context reset before trying adapter reset for ISP82xx madhu.iyengar
@ 2011-03-30 18:46 ` madhu.iyengar
  2011-03-30 18:46 ` [PATCH 13/18] qla2xxx: Display hardware/firmware registers to get more information about the error for ISP82xx madhu.iyengar
                   ` (6 subsequent siblings)
  18 siblings, 0 replies; 21+ messages in thread
From: madhu.iyengar @ 2011-03-30 18:46 UTC (permalink / raw)
  To: James.Bottomley
  Cc: giridhar.malavali, madhu.iyengar, andrew.vasquez, linux-scsi,
	Joe Carnuccio

From: Joe Carnuccio <joe.carnuccio@qlogic.com>

If fabric device has invalid loop id (FC_NO_LOOP_ID) then call
qla2x00_find_new_loop_id() to attempt to obtain valid loop id.

Signed-off-by: Joe Carnuccio <joe.carnuccio@qlogic.com>
Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>
---
 drivers/scsi/qla2xxx/qla_gbl.h  |    2 ++
 drivers/scsi/qla2xxx/qla_init.c |    4 +---
 drivers/scsi/qla2xxx/qla_os.c   |   11 +++++++++++
 3 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/drivers/scsi/qla2xxx/qla_gbl.h b/drivers/scsi/qla2xxx/qla_gbl.h
index d009c6f..cd646ca 100644
--- a/drivers/scsi/qla2xxx/qla_gbl.h
+++ b/drivers/scsi/qla2xxx/qla_gbl.h
@@ -39,6 +39,8 @@ extern int qla81xx_load_risc(scsi_qla_host_t *, uint32_t *);
 extern int qla2x00_perform_loop_resync(scsi_qla_host_t *);
 extern int qla2x00_loop_resync(scsi_qla_host_t *);
 
+extern int qla2x00_find_new_loop_id(scsi_qla_host_t *, fc_port_t *);
+
 extern int qla2x00_fabric_login(scsi_qla_host_t *, fc_port_t *, uint16_t *);
 extern int qla2x00_local_device_login(scsi_qla_host_t *, fc_port_t *);
 
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index 2c9f47a..234c1c2 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -35,8 +35,6 @@ static int qla2x00_fabric_dev_login(scsi_qla_host_t *, fc_port_t *,
 
 static int qla2x00_restart_isp(scsi_qla_host_t *);
 
-static int qla2x00_find_new_loop_id(scsi_qla_host_t *, fc_port_t *);
-
 static struct qla_chip_state_84xx *qla84xx_get_chip(struct scsi_qla_host *);
 static int qla84xx_init_chip(scsi_qla_host_t *);
 static int qla25xx_init_queues(struct qla_hw_data *);
@@ -3390,7 +3388,7 @@ qla2x00_find_all_fabric_devs(scsi_qla_host_t *vha,
  * Context:
  *	Kernel context.
  */
-static int
+int
 qla2x00_find_new_loop_id(scsi_qla_host_t *vha, fc_port_t *dev)
 {
 	int	rval;
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
index 2255033..b36964d 100644
--- a/drivers/scsi/qla2xxx/qla_os.c
+++ b/drivers/scsi/qla2xxx/qla_os.c
@@ -3214,6 +3214,17 @@ void qla2x00_relogin(struct scsi_qla_host *vha)
 							fcport->d_id.b.area,
 							fcport->d_id.b.al_pa);
 
+				if (fcport->loop_id == FC_NO_LOOP_ID) {
+					fcport->loop_id = next_loopid =
+					    ha->min_external_loopid;
+					status = qla2x00_find_new_loop_id(
+					    vha, fcport);
+					if (status != QLA_SUCCESS) {
+						/* Ran out of IDs to use */
+						break;
+					}
+				}
+
 				if (IS_ALOGIO_CAPABLE(ha)) {
 					fcport->flags |= FCF_ASYNC_SENT;
 					data[0] = 0;
-- 
1.6.0.2


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 13/18] qla2xxx: Display hardware/firmware registers to get more information about the error for ISP82xx.
  2011-03-30 18:46 [PATCH 00/18] qla2xxx: Updates for scsi-misc-2.6 madhu.iyengar
                   ` (11 preceding siblings ...)
  2011-03-30 18:46 ` [PATCH 12/18] qla2xxx: Add test for valid loop id to qla2x00_relogin() madhu.iyengar
@ 2011-03-30 18:46 ` madhu.iyengar
  2011-03-30 18:46 ` [PATCH 14/18] qla2xxx: Add the ql2xdontresethba module_param madhu.iyengar
                   ` (5 subsequent siblings)
  18 siblings, 0 replies; 21+ messages in thread
From: madhu.iyengar @ 2011-03-30 18:46 UTC (permalink / raw)
  To: James.Bottomley
  Cc: giridhar.malavali, madhu.iyengar, andrew.vasquez, linux-scsi

From: Giridhar Malavali <giridhar.malavali@qlogic.com>

Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>
---
 drivers/scsi/qla2xxx/qla_nx.c |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/drivers/scsi/qla2xxx/qla_nx.c b/drivers/scsi/qla2xxx/qla_nx.c
index 6e4b429..9eadb7c 100644
--- a/drivers/scsi/qla2xxx/qla_nx.c
+++ b/drivers/scsi/qla2xxx/qla_nx.c
@@ -3650,6 +3650,24 @@ void qla82xx_watchdog(scsi_qla_host_t *vha)
 			if (qla82xx_check_fw_alive(vha)) {
 				halt_status = qla82xx_rd_32(ha,
 				    QLA82XX_PEG_HALT_STATUS1);
+				qla_printk(KERN_INFO, ha,
+				    "scsi(%ld): %s, Dumping hw/fw registers:\n "
+				    " PEG_HALT_STATUS1: 0x%x, PEG_HALT_STATUS2: 0x%x,\n "
+				    " PEG_NET_0_PC: 0x%x, PEG_NET_1_PC: 0x%x,\n "
+				    " PEG_NET_2_PC: 0x%x, PEG_NET_3_PC: 0x%x,\n "
+				    " PEG_NET_4_PC: 0x%x\n",
+				    vha->host_no, __func__, halt_status,
+				    qla82xx_rd_32(ha, QLA82XX_PEG_HALT_STATUS2),
+				    qla82xx_rd_32(ha,
+					    QLA82XX_CRB_PEG_NET_0 + 0x3c),
+				    qla82xx_rd_32(ha,
+					    QLA82XX_CRB_PEG_NET_1 + 0x3c),
+				    qla82xx_rd_32(ha,
+					    QLA82XX_CRB_PEG_NET_2 + 0x3c),
+				    qla82xx_rd_32(ha,
+					    QLA82XX_CRB_PEG_NET_3 + 0x3c),
+				    qla82xx_rd_32(ha,
+					    QLA82XX_CRB_PEG_NET_4 + 0x3c));
 				if (halt_status & HALT_STATUS_UNRECOVERABLE) {
 					set_bit(ISP_UNRECOVERABLE,
 					    &vha->dpc_flags);
-- 
1.6.0.2


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 14/18] qla2xxx: Add the ql2xdontresethba module_param.
  2011-03-30 18:46 [PATCH 00/18] qla2xxx: Updates for scsi-misc-2.6 madhu.iyengar
                   ` (12 preceding siblings ...)
  2011-03-30 18:46 ` [PATCH 13/18] qla2xxx: Display hardware/firmware registers to get more information about the error for ISP82xx madhu.iyengar
@ 2011-03-30 18:46 ` madhu.iyengar
  2011-03-30 18:46 ` [PATCH 15/18] qla2xxx: Limit the logs in case device state does not change for ISP82xx madhu.iyengar
                   ` (4 subsequent siblings)
  18 siblings, 0 replies; 21+ messages in thread
From: madhu.iyengar @ 2011-03-30 18:46 UTC (permalink / raw)
  To: James.Bottomley
  Cc: giridhar.malavali, madhu.iyengar, andrew.vasquez, linux-scsi

From: Giridhar Malavali <giridhar.malavali@qlogic.com>

Also, change the ISP82xx code to only reset if this module_param is set
and reset is intended via the QLA82XX_DEV_NEED_RESET case.

Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>
---
 drivers/scsi/qla2xxx/qla_gbl.h |    1 +
 drivers/scsi/qla2xxx/qla_nx.c  |    1 +
 drivers/scsi/qla2xxx/qla_os.c  |    8 ++++++++
 3 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/drivers/scsi/qla2xxx/qla_gbl.h b/drivers/scsi/qla2xxx/qla_gbl.h
index cd646ca..fbb4b8f 100644
--- a/drivers/scsi/qla2xxx/qla_gbl.h
+++ b/drivers/scsi/qla2xxx/qla_gbl.h
@@ -102,6 +102,7 @@ extern int ql2xgffidenable;
 extern int ql2xenabledif;
 extern int ql2xenablehba_err_chk;
 extern int ql2xtargetreset;
+extern int ql2xdontresethba;
 
 extern int qla2x00_loop_reset(scsi_qla_host_t *);
 extern void qla2x00_abort_all_cmds(scsi_qla_host_t *, int);
diff --git a/drivers/scsi/qla2xxx/qla_nx.c b/drivers/scsi/qla2xxx/qla_nx.c
index 9eadb7c..d540b73 100644
--- a/drivers/scsi/qla2xxx/qla_nx.c
+++ b/drivers/scsi/qla2xxx/qla_nx.c
@@ -3585,6 +3585,7 @@ qla82xx_device_state_handler(scsi_qla_host_t *vha)
 			qla82xx_idc_lock(ha);
 			break;
 		case QLA82XX_DEV_NEED_RESET:
+		    if (!ql2xdontresethba)
 			qla82xx_need_reset_handler(vha);
 			dev_init_timeout = jiffies +
 				(ha->nx_dev_init_timeout * HZ);
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
index b36964d..7eeab98 100644
--- a/drivers/scsi/qla2xxx/qla_os.c
+++ b/drivers/scsi/qla2xxx/qla_os.c
@@ -164,6 +164,14 @@ module_param(ql2xasynctmfenable, int, S_IRUGO);
 MODULE_PARM_DESC(ql2xasynctmfenable,
 		"Enables issue of TM IOCBs asynchronously via IOCB mechanism"
 		"Default is 0 - Issue TM IOCBs via mailbox mechanism.");
+
+int ql2xdontresethba;
+module_param(ql2xdontresethba, int, S_IRUGO);
+MODULE_PARM_DESC(ql2xdontresethba,
+	"Option to specify reset behaviour\n"
+	" 0 (Default) -- Reset on failure.\n"
+	" 1 -- Do not reset on failure.\n");
+
 /*
  * SCSI host template entry points
  */
-- 
1.6.0.2


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 15/18] qla2xxx: Limit the logs in case device state does not change for ISP82xx.
  2011-03-30 18:46 [PATCH 00/18] qla2xxx: Updates for scsi-misc-2.6 madhu.iyengar
                   ` (13 preceding siblings ...)
  2011-03-30 18:46 ` [PATCH 14/18] qla2xxx: Add the ql2xdontresethba module_param madhu.iyengar
@ 2011-03-30 18:46 ` madhu.iyengar
  2011-03-30 18:46 ` [PATCH 16/18] qla2xxx: Verify login-state has transitioned to PRLI-completed madhu.iyengar
                   ` (3 subsequent siblings)
  18 siblings, 0 replies; 21+ messages in thread
From: madhu.iyengar @ 2011-03-30 18:46 UTC (permalink / raw)
  To: James.Bottomley
  Cc: giridhar.malavali, madhu.iyengar, andrew.vasquez, linux-scsi

From: Giridhar Malavali <giridhar.malavali@qlogic.com>

Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>
---
 drivers/scsi/qla2xxx/qla_nx.c |   18 ++++++++++++++----
 1 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/drivers/scsi/qla2xxx/qla_nx.c b/drivers/scsi/qla2xxx/qla_nx.c
index d540b73..f64e126 100644
--- a/drivers/scsi/qla2xxx/qla_nx.c
+++ b/drivers/scsi/qla2xxx/qla_nx.c
@@ -3543,15 +3543,18 @@ int
 qla82xx_device_state_handler(scsi_qla_host_t *vha)
 {
 	uint32_t dev_state;
+	uint32_t old_dev_state;
 	int rval = QLA_SUCCESS;
 	unsigned long dev_init_timeout;
 	struct qla_hw_data *ha = vha->hw;
+	int loopcount = 0;
 
 	qla82xx_idc_lock(ha);
 	if (!vha->flags.init_done)
 		qla82xx_set_drv_active(vha);
 
 	dev_state = qla82xx_rd_32(ha, QLA82XX_CRB_DEV_STATE);
+	old_dev_state = dev_state;
 	qla_printk(KERN_INFO, ha, "1:Device state is 0x%x = %s\n", dev_state,
 		dev_state < MAX_STATES ? qdev_state[dev_state] : "Unknown");
 
@@ -3568,10 +3571,16 @@ qla82xx_device_state_handler(scsi_qla_host_t *vha)
 			break;
 		}
 		dev_state = qla82xx_rd_32(ha, QLA82XX_CRB_DEV_STATE);
-		qla_printk(KERN_INFO, ha,
-			"2:Device state is 0x%x = %s\n", dev_state,
-			dev_state < MAX_STATES ?
-			qdev_state[dev_state] : "Unknown");
+		if (old_dev_state != dev_state) {
+			loopcount = 0;
+			old_dev_state = dev_state;
+		}
+		if (loopcount < 5) {
+			qla_printk(KERN_INFO, ha,
+			    "2:Device state is 0x%x = %s\n", dev_state,
+			    dev_state < MAX_STATES ?
+			    qdev_state[dev_state] : "Unknown");
+		}
 
 		switch (dev_state) {
 		case QLA82XX_DEV_READY:
@@ -3620,6 +3629,7 @@ qla82xx_device_state_handler(scsi_qla_host_t *vha)
 			msleep(1000);
 			qla82xx_idc_lock(ha);
 		}
+		loopcount++;
 	}
 exit:
 	qla82xx_idc_unlock(ha);
-- 
1.6.0.2


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 16/18] qla2xxx: Verify login-state has transitioned to PRLI-completed.
  2011-03-30 18:46 [PATCH 00/18] qla2xxx: Updates for scsi-misc-2.6 madhu.iyengar
                   ` (14 preceding siblings ...)
  2011-03-30 18:46 ` [PATCH 15/18] qla2xxx: Limit the logs in case device state does not change for ISP82xx madhu.iyengar
@ 2011-03-30 18:46 ` madhu.iyengar
  2011-03-30 18:46 ` [PATCH 17/18] qla2xxx: Log fcport state transitions when debug messages are enabled madhu.iyengar
                   ` (2 subsequent siblings)
  18 siblings, 0 replies; 21+ messages in thread
From: madhu.iyengar @ 2011-03-30 18:46 UTC (permalink / raw)
  To: James.Bottomley
  Cc: giridhar.malavali, madhu.iyengar, andrew.vasquez, linux-scsi

From: Andrew Vasquez <andrew.vasquez@qlogic.com>

Before driver's own internal state is marked as PLOGI/PRLI
complete. This additional check closes a window seen with
dual-personality initiator/target devices where a driver's
PLOGI/PRLI request occurs within the window after the target's
PLOGI request has completed, but prior to the target's PRLI
arriving and processed by the firmware. Without this additional
check, the firmware will return port-information stating that the
port neither supports target nor initiator functions, causing the
driver to register the rport prematurely to the FC-transport
without the proper 'roles' being set.

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>
---
 drivers/scsi/qla2xxx/qla_init.c |   11 +++++++++++
 drivers/scsi/qla2xxx/qla_mbx.c  |   17 ++++++++++++-----
 2 files changed, 23 insertions(+), 5 deletions(-)

diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index 234c1c2..d31ac9b 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -383,6 +383,17 @@ qla2x00_async_login_done(struct scsi_qla_host *vha, fc_port_t *fcport,
 
 	switch (data[0]) {
 	case MBS_COMMAND_COMPLETE:
+		/*
+		 * Driver must validate login state - If PRLI not complete,
+		 * force a relogin attempt via implicit LOGO, PLOGI, and PRLI
+		 * requests.
+		 */
+		rval = qla2x00_get_port_database(vha, fcport, 0);
+		if (rval != QLA_SUCCESS) {
+			qla2x00_post_async_logout_work(vha, fcport, NULL);
+			qla2x00_post_async_login_work(vha, fcport, NULL);
+			break;
+		}
 		if (fcport->flags & FCF_FCP2_DEVICE) {
 			qla2x00_post_async_adisc_work(vha, fcport, data);
 			break;
diff --git a/drivers/scsi/qla2xxx/qla_mbx.c b/drivers/scsi/qla2xxx/qla_mbx.c
index 33502e8..6ce699b 100644
--- a/drivers/scsi/qla2xxx/qla_mbx.c
+++ b/drivers/scsi/qla2xxx/qla_mbx.c
@@ -1261,11 +1261,12 @@ qla2x00_get_port_database(scsi_qla_host_t *vha, fc_port_t *fcport, uint8_t opt)
 		/* Check for logged in state. */
 		if (pd24->current_login_state != PDS_PRLI_COMPLETE &&
 		    pd24->last_login_state != PDS_PRLI_COMPLETE) {
-			DEBUG2(printk("%s(%ld): Unable to verify "
-			    "login-state (%x/%x) for loop_id %x\n",
-			    __func__, vha->host_no,
-			    pd24->current_login_state,
-			    pd24->last_login_state, fcport->loop_id));
+			DEBUG2(qla_printk(KERN_WARNING, ha,
+			   "scsi(%ld): Unable to verify login-state (%x/%x) "
+			   " - portid=%02x%02x%02x.\n", vha->host_no,
+			   pd24->current_login_state, pd24->last_login_state,
+			   fcport->d_id.b.domain, fcport->d_id.b.area,
+			   fcport->d_id.b.al_pa));
 			rval = QLA_FUNCTION_FAILED;
 			goto gpd_error_out;
 		}
@@ -1289,6 +1290,12 @@ qla2x00_get_port_database(scsi_qla_host_t *vha, fc_port_t *fcport, uint8_t opt)
 		/* Check for logged in state. */
 		if (pd->master_state != PD_STATE_PORT_LOGGED_IN &&
 		    pd->slave_state != PD_STATE_PORT_LOGGED_IN) {
+			DEBUG2(qla_printk(KERN_WARNING, ha,
+			   "scsi(%ld): Unable to verify login-state (%x/%x) "
+			   " - portid=%02x%02x%02x.\n", vha->host_no,
+			   pd->master_state, pd->slave_state,
+			   fcport->d_id.b.domain, fcport->d_id.b.area,
+			   fcport->d_id.b.al_pa));
 			rval = QLA_FUNCTION_FAILED;
 			goto gpd_error_out;
 		}
-- 
1.6.0.2


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 17/18] qla2xxx: Log fcport state transitions when debug messages are enabled.
  2011-03-30 18:46 [PATCH 00/18] qla2xxx: Updates for scsi-misc-2.6 madhu.iyengar
                   ` (15 preceding siblings ...)
  2011-03-30 18:46 ` [PATCH 16/18] qla2xxx: Verify login-state has transitioned to PRLI-completed madhu.iyengar
@ 2011-03-30 18:46 ` madhu.iyengar
  2011-03-30 18:46 ` [PATCH 18/18] qla2xxx: Update version number to 8.03.07.03-k madhu.iyengar
  2011-04-19 21:26 ` [PATCH 00/18] qla2xxx: Updates for scsi-misc-2.6 Madhu Iyengar
  18 siblings, 0 replies; 21+ messages in thread
From: madhu.iyengar @ 2011-03-30 18:46 UTC (permalink / raw)
  To: James.Bottomley
  Cc: giridhar.malavali, madhu.iyengar, andrew.vasquez, linux-scsi,
	Chad Dupuis

From: Chad Dupuis <chad.dupuis@qlogic.com>

Add the inline function qla2x00_set_port_state() so that when a fcport state
transition happens we can log the state transition if debug messages are
enabled.

Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>
---
 drivers/scsi/qla2xxx/qla_attr.c   |    2 +-
 drivers/scsi/qla2xxx/qla_def.h    |    8 ++++++++
 drivers/scsi/qla2xxx/qla_init.c   |    6 +++---
 drivers/scsi/qla2xxx/qla_inline.h |   19 +++++++++++++++++++
 drivers/scsi/qla2xxx/qla_mid.c    |    2 +-
 drivers/scsi/qla2xxx/qla_os.c     |    6 +++---
 6 files changed, 35 insertions(+), 8 deletions(-)

diff --git a/drivers/scsi/qla2xxx/qla_attr.c b/drivers/scsi/qla2xxx/qla_attr.c
index cee3eed..75faf48 100644
--- a/drivers/scsi/qla2xxx/qla_attr.c
+++ b/drivers/scsi/qla2xxx/qla_attr.c
@@ -1568,7 +1568,7 @@ qla2x00_dev_loss_tmo_callbk(struct fc_rport *rport)
 
 	/* Now that the rport has been deleted, set the fcport state to
 	   FCS_DEVICE_DEAD */
-	atomic_set(&fcport->state, FCS_DEVICE_DEAD);
+	qla2x00_set_fcport_state(fcport, FCS_DEVICE_DEAD);
 
 	/*
 	 * Transport has effectively 'deleted' the rport, clear
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h
index 316f01b..738d3fc 100644
--- a/drivers/scsi/qla2xxx/qla_def.h
+++ b/drivers/scsi/qla2xxx/qla_def.h
@@ -1717,6 +1717,14 @@ typedef struct fc_port {
 #define FCS_DEVICE_LOST		3
 #define FCS_ONLINE		4
 
+static const char * const port_state_str[] = {
+	"Unknown",
+	"UNCONFIGURED",
+	"DEAD",
+	"LOST",
+	"ONLINE"
+};
+
 /*
  * FC port flags.
  */
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index d31ac9b..24d2d19 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -2544,7 +2544,7 @@ qla2x00_alloc_fcport(scsi_qla_host_t *vha, gfp_t flags)
 	fcport->vp_idx = vha->vp_idx;
 	fcport->port_type = FCT_UNKNOWN;
 	fcport->loop_id = FC_NO_LOOP_ID;
-	atomic_set(&fcport->state, FCS_UNCONFIGURED);
+	qla2x00_set_fcport_state(fcport, FCS_UNCONFIGURED);
 	fcport->supported_classes = FC_COS_UNSPECIFIED;
 
 	return fcport;
@@ -2730,7 +2730,7 @@ qla2x00_configure_local_loop(scsi_qla_host_t *vha)
 			    "loop_id=0x%04x\n",
 			    vha->host_no, fcport->loop_id));
 
-			atomic_set(&fcport->state, FCS_DEVICE_LOST);
+			qla2x00_set_fcport_state(fcport, FCS_DEVICE_LOST);
 		}
 	}
 
@@ -2942,7 +2942,7 @@ qla2x00_update_fcport(scsi_qla_host_t *vha, fc_port_t *fcport)
 	qla2x00_iidma_fcport(vha, fcport);
 	qla24xx_update_fcport_fcp_prio(vha, fcport);
 	qla2x00_reg_remote_port(vha, fcport);
-	atomic_set(&fcport->state, FCS_ONLINE);
+	qla2x00_set_fcport_state(fcport, FCS_ONLINE);
 }
 
 /*
diff --git a/drivers/scsi/qla2xxx/qla_inline.h b/drivers/scsi/qla2xxx/qla_inline.h
index 4d17e70..4c8167e 100644
--- a/drivers/scsi/qla2xxx/qla_inline.h
+++ b/drivers/scsi/qla2xxx/qla_inline.h
@@ -83,3 +83,22 @@ qla2x00_clean_dsd_pool(struct qla_hw_data *ha, srb_t *sp)
 	}
 	INIT_LIST_HEAD(&((struct crc_context *)sp->ctx)->dsd_list);
 }
+
+static inline void
+qla2x00_set_fcport_state(fc_port_t *fcport, int state)
+{
+	int old_state;
+
+	old_state = atomic_read(&fcport->state);
+	atomic_set(&fcport->state, state);
+
+	/* Don't print state transitions during initial allocation of fcport */
+	if (old_state && old_state != state) {
+		DEBUG(qla_printk(KERN_WARNING, fcport->vha->hw,
+		    "scsi(%ld): FCPort state transitioned from %s to %s - "
+		    "portid=%02x%02x%02x.\n", fcport->vha->host_no,
+		    port_state_str[old_state], port_state_str[state],
+		    fcport->d_id.b.domain, fcport->d_id.b.area,
+		    fcport->d_id.b.al_pa));
+	}
+}
diff --git a/drivers/scsi/qla2xxx/qla_mid.c b/drivers/scsi/qla2xxx/qla_mid.c
index 3082e2f..e34d7dd 100644
--- a/drivers/scsi/qla2xxx/qla_mid.c
+++ b/drivers/scsi/qla2xxx/qla_mid.c
@@ -136,7 +136,7 @@ qla2x00_mark_vp_devices_dead(scsi_qla_host_t *vha)
 		    vha->host_no, fcport->loop_id, fcport->vp_idx));
 
 		qla2x00_mark_device_lost(vha, fcport, 0, 0);
-		atomic_set(&fcport->state, FCS_UNCONFIGURED);
+		qla2x00_set_fcport_state(fcport, FCS_UNCONFIGURED);
 	}
 }
 
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
index 7eeab98..05cec05 100644
--- a/drivers/scsi/qla2xxx/qla_os.c
+++ b/drivers/scsi/qla2xxx/qla_os.c
@@ -2552,7 +2552,7 @@ void qla2x00_mark_device_lost(scsi_qla_host_t *vha, fc_port_t *fcport,
 {
 	if (atomic_read(&fcport->state) == FCS_ONLINE &&
 	    vha->vp_idx == fcport->vp_idx) {
-		atomic_set(&fcport->state, FCS_DEVICE_LOST);
+		qla2x00_set_fcport_state(fcport, FCS_DEVICE_LOST);
 		qla2x00_schedule_rport_del(vha, fcport, defer);
 	}
 	/*
@@ -2560,7 +2560,7 @@ void qla2x00_mark_device_lost(scsi_qla_host_t *vha, fc_port_t *fcport,
 	 * port but do the retries.
 	 */
 	if (atomic_read(&fcport->state) != FCS_DEVICE_DEAD)
-		atomic_set(&fcport->state, FCS_DEVICE_LOST);
+		qla2x00_set_fcport_state(fcport, FCS_DEVICE_LOST);
 
 	if (!do_login)
 		return;
@@ -2615,7 +2615,7 @@ qla2x00_mark_all_devices_lost(scsi_qla_host_t *vha, int defer)
 		if (atomic_read(&fcport->state) == FCS_DEVICE_DEAD)
 			continue;
 		if (atomic_read(&fcport->state) == FCS_ONLINE) {
-			atomic_set(&fcport->state, FCS_DEVICE_LOST);
+			qla2x00_set_fcport_state(fcport, FCS_DEVICE_LOST);
 			if (defer)
 				qla2x00_schedule_rport_del(vha, fcport, defer);
 			else if (vha->vp_idx == fcport->vp_idx)
-- 
1.6.0.2


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 18/18] qla2xxx: Update version number to 8.03.07.03-k.
  2011-03-30 18:46 [PATCH 00/18] qla2xxx: Updates for scsi-misc-2.6 madhu.iyengar
                   ` (16 preceding siblings ...)
  2011-03-30 18:46 ` [PATCH 17/18] qla2xxx: Log fcport state transitions when debug messages are enabled madhu.iyengar
@ 2011-03-30 18:46 ` madhu.iyengar
  2011-04-19 21:26 ` [PATCH 00/18] qla2xxx: Updates for scsi-misc-2.6 Madhu Iyengar
  18 siblings, 0 replies; 21+ messages in thread
From: madhu.iyengar @ 2011-03-30 18:46 UTC (permalink / raw)
  To: James.Bottomley
  Cc: giridhar.malavali, madhu.iyengar, andrew.vasquez, linux-scsi,
	Madhuranath Iyengar

From: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>

A minor change in the versioning. We'll be attaching the "-k"
in the end.

Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>
---
 drivers/scsi/qla2xxx/qla_version.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/scsi/qla2xxx/qla_version.h b/drivers/scsi/qla2xxx/qla_version.h
index 86f589c..062c97b 100644
--- a/drivers/scsi/qla2xxx/qla_version.h
+++ b/drivers/scsi/qla2xxx/qla_version.h
@@ -7,9 +7,9 @@
 /*
  * Driver version
  */
-#define QLA2XXX_VERSION      "8.03.07.00"
+#define QLA2XXX_VERSION      "8.03.07.03-k"
 
 #define QLA_DRIVER_MAJOR_VER	8
 #define QLA_DRIVER_MINOR_VER	3
 #define QLA_DRIVER_PATCH_VER	7
-#define QLA_DRIVER_BETA_VER	0
+#define QLA_DRIVER_BETA_VER	3
-- 
1.6.0.2


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* RE: [PATCH 00/18] qla2xxx: Updates for scsi-misc-2.6
  2011-03-30 18:46 [PATCH 00/18] qla2xxx: Updates for scsi-misc-2.6 madhu.iyengar
                   ` (17 preceding siblings ...)
  2011-03-30 18:46 ` [PATCH 18/18] qla2xxx: Update version number to 8.03.07.03-k madhu.iyengar
@ 2011-04-19 21:26 ` Madhu Iyengar
  2011-04-29 19:08   ` Madhu Iyengar
  18 siblings, 1 reply; 21+ messages in thread
From: Madhu Iyengar @ 2011-04-19 21:26 UTC (permalink / raw)
  To: James.Bottomley
  Cc: Giridhar Malavali, Andrew Vasquez, linux-scsi, Madhu Iyengar

James,

I had submitted 18 patches on March 30th. Please let me know the status on these.

I've included the link for 00/18 of this set.

http://marc.info/?l=linux-scsi&m=130151107627961&w=2

Thanks,
Madhu

> -----Original Message-----
> From: madhu.iyengar@qlogic.com [mailto:madhu.iyengar@qlogic.com]
> Sent: Wednesday, March 30, 2011 11:46 AM
> To: James.Bottomley@suse.de
> Cc: Giridhar Malavali; Madhu Iyengar; Andrew Vasquez; linux-
> scsi@vger.kernel.org; Madhu Iyengar
> Subject: [PATCH 00/18] qla2xxx: Updates for scsi-misc-2.6
>
> From: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>
>
> James,
>
> Please add these patches. Thanks.
>
> Andrew Vasquez (7):
>   qla2xxx: Display PortID information during FCP command-status
>     handling.
>   qla2xxx: Correct calling contexts of qla2x00_mark_device_lost() in
>     async paths.
>   qla2xxx: Check for a match before attempting to set FCP-priority
>     information.
>   qla2xxx: Remove extraneous setting of FCF_ASYNC_SENT during
>     login-done completion.
>   qla2xxx: Free firmware PCB on logout request.
>   qla2xxx: Update copyright banner.
>   qla2xxx: Verify login-state has transitioned to PRLI-completed.
>
> Chad Dupuis (1):
>   qla2xxx: Log fcport state transitions when debug messages are
>     enabled.
>
> Giridhar Malavali (6):
>   qla2xxx: Updated the reset sequence for ISP82xx.
>   qla2xxx: Remove extra call to qla82xx_check_fw_alive().
>   qla2xxx: Perform FCoE context reset before trying adapter reset for
>     ISP82xx.
>   qla2xxx: Display hardware/firmware registers to get more information
>     about the error for ISP82xx.
>   qla2xxx: Add the ql2xdontresethba module_param.
>   qla2xxx: Limit the logs in case device state does not change for
>     ISP82xx.
>
> Joe Carnuccio (1):
>   qla2xxx: Add test for valid loop id to qla2x00_relogin().
>
> Madhuranath Iyengar (2):
>   qla2xxx: Update License file.
>   qla2xxx: Update version number to 8.03.07.03-k.
>
> Mike Hernandez (1):
>   qla2xxx: Include request queue ID in the upper 16-bits of the I/O
>     handle for Abort I/O IOCBs.
>
>  Documentation/scsi/LICENSE.qla2xxx  |  292
> ++++++++++++++++++++++++++++++++++-
>  drivers/scsi/qla2xxx/qla_attr.c     |    4 +-
>  drivers/scsi/qla2xxx/qla_bsg.c      |    2 +-
>  drivers/scsi/qla2xxx/qla_bsg.h      |    2 +-
>  drivers/scsi/qla2xxx/qla_dbg.c      |    2 +-
>  drivers/scsi/qla2xxx/qla_dbg.h      |    2 +-
>  drivers/scsi/qla2xxx/qla_def.h      |   10 +-
>  drivers/scsi/qla2xxx/qla_dfs.c      |    2 +-
>  drivers/scsi/qla2xxx/qla_fw.h       |    2 +-
>  drivers/scsi/qla2xxx/qla_gbl.h      |    5 +-
>  drivers/scsi/qla2xxx/qla_gs.c       |    2 +-
>  drivers/scsi/qla2xxx/qla_init.c     |   45 ++++--
>  drivers/scsi/qla2xxx/qla_inline.h   |   21 +++-
>  drivers/scsi/qla2xxx/qla_iocb.c     |    2 +-
>  drivers/scsi/qla2xxx/qla_isr.c      |   43 ++++--
>  drivers/scsi/qla2xxx/qla_mbx.c      |   24 ++-
>  drivers/scsi/qla2xxx/qla_mid.c      |    4 +-
>  drivers/scsi/qla2xxx/qla_nx.c       |   59 ++++++-
>  drivers/scsi/qla2xxx/qla_nx.h       |    2 +-
>  drivers/scsi/qla2xxx/qla_os.c       |   43 +++++-
>  drivers/scsi/qla2xxx/qla_settings.h |    2 +-
>  drivers/scsi/qla2xxx/qla_sup.c      |    2 +-
>  drivers/scsi/qla2xxx/qla_version.h  |    6 +-
>  23 files changed, 499 insertions(+), 79 deletions(-)


This message and any attached documents contain information from QLogic Corporation or its wholly-owned subsidiaries that may be confidential. If you are not the intended recipient, you may not read, copy, distribute, or use this information. If you have received this transmission in error, please notify the sender immediately by reply e-mail and then delete this message.


^ permalink raw reply	[flat|nested] 21+ messages in thread

* RE: [PATCH 00/18] qla2xxx: Updates for scsi-misc-2.6
  2011-04-19 21:26 ` [PATCH 00/18] qla2xxx: Updates for scsi-misc-2.6 Madhu Iyengar
@ 2011-04-29 19:08   ` Madhu Iyengar
  0 siblings, 0 replies; 21+ messages in thread
From: Madhu Iyengar @ 2011-04-29 19:08 UTC (permalink / raw)
  To: Madhu Iyengar, James.Bottomley
  Cc: Giridhar Malavali, Andrew Vasquez, linux-scsi

James,

Can you provide status on the acceptance of the patches below?

Thanks,
Madhu

> -----Original Message-----
> From: Madhu Iyengar
> Sent: Tuesday, April 19, 2011 2:27 PM
> To: James.Bottomley@suse.de
> Cc: Giridhar Malavali; Andrew Vasquez; linux-scsi@vger.kernel.org; Madhu
> Iyengar
> Subject: RE: [PATCH 00/18] qla2xxx: Updates for scsi-misc-2.6
>
> James,
>
> I had submitted 18 patches on March 30th. Please let me know the status on
> these.
>
> I've included the link for 00/18 of this set.
>
> http://marc.info/?l=linux-scsi&m=130151107627961&w=2
>
> Thanks,
> Madhu
>
> > -----Original Message-----
> > From: madhu.iyengar@qlogic.com [mailto:madhu.iyengar@qlogic.com]
> > Sent: Wednesday, March 30, 2011 11:46 AM
> > To: James.Bottomley@suse.de
> > Cc: Giridhar Malavali; Madhu Iyengar; Andrew Vasquez; linux-
> > scsi@vger.kernel.org; Madhu Iyengar
> > Subject: [PATCH 00/18] qla2xxx: Updates for scsi-misc-2.6
> >
> > From: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>
> >
> > James,
> >
> > Please add these patches. Thanks.
> >
> > Andrew Vasquez (7):
> >   qla2xxx: Display PortID information during FCP command-status
> >     handling.
> >   qla2xxx: Correct calling contexts of qla2x00_mark_device_lost() in
> >     async paths.
> >   qla2xxx: Check for a match before attempting to set FCP-priority
> >     information.
> >   qla2xxx: Remove extraneous setting of FCF_ASYNC_SENT during
> >     login-done completion.
> >   qla2xxx: Free firmware PCB on logout request.
> >   qla2xxx: Update copyright banner.
> >   qla2xxx: Verify login-state has transitioned to PRLI-completed.
> >
> > Chad Dupuis (1):
> >   qla2xxx: Log fcport state transitions when debug messages are
> >     enabled.
> >
> > Giridhar Malavali (6):
> >   qla2xxx: Updated the reset sequence for ISP82xx.
> >   qla2xxx: Remove extra call to qla82xx_check_fw_alive().
> >   qla2xxx: Perform FCoE context reset before trying adapter reset for
> >     ISP82xx.
> >   qla2xxx: Display hardware/firmware registers to get more information
> >     about the error for ISP82xx.
> >   qla2xxx: Add the ql2xdontresethba module_param.
> >   qla2xxx: Limit the logs in case device state does not change for
> >     ISP82xx.
> >
> > Joe Carnuccio (1):
> >   qla2xxx: Add test for valid loop id to qla2x00_relogin().
> >
> > Madhuranath Iyengar (2):
> >   qla2xxx: Update License file.
> >   qla2xxx: Update version number to 8.03.07.03-k.
> >
> > Mike Hernandez (1):
> >   qla2xxx: Include request queue ID in the upper 16-bits of the I/O
> >     handle for Abort I/O IOCBs.
> >
> >  Documentation/scsi/LICENSE.qla2xxx  |  292
> > ++++++++++++++++++++++++++++++++++-
> >  drivers/scsi/qla2xxx/qla_attr.c     |    4 +-
> >  drivers/scsi/qla2xxx/qla_bsg.c      |    2 +-
> >  drivers/scsi/qla2xxx/qla_bsg.h      |    2 +-
> >  drivers/scsi/qla2xxx/qla_dbg.c      |    2 +-
> >  drivers/scsi/qla2xxx/qla_dbg.h      |    2 +-
> >  drivers/scsi/qla2xxx/qla_def.h      |   10 +-
> >  drivers/scsi/qla2xxx/qla_dfs.c      |    2 +-
> >  drivers/scsi/qla2xxx/qla_fw.h       |    2 +-
> >  drivers/scsi/qla2xxx/qla_gbl.h      |    5 +-
> >  drivers/scsi/qla2xxx/qla_gs.c       |    2 +-
> >  drivers/scsi/qla2xxx/qla_init.c     |   45 ++++--
> >  drivers/scsi/qla2xxx/qla_inline.h   |   21 +++-
> >  drivers/scsi/qla2xxx/qla_iocb.c     |    2 +-
> >  drivers/scsi/qla2xxx/qla_isr.c      |   43 ++++--
> >  drivers/scsi/qla2xxx/qla_mbx.c      |   24 ++-
> >  drivers/scsi/qla2xxx/qla_mid.c      |    4 +-
> >  drivers/scsi/qla2xxx/qla_nx.c       |   59 ++++++-
> >  drivers/scsi/qla2xxx/qla_nx.h       |    2 +-
> >  drivers/scsi/qla2xxx/qla_os.c       |   43 +++++-
> >  drivers/scsi/qla2xxx/qla_settings.h |    2 +-
> >  drivers/scsi/qla2xxx/qla_sup.c      |    2 +-
> >  drivers/scsi/qla2xxx/qla_version.h  |    6 +-
> >  23 files changed, 499 insertions(+), 79 deletions(-)


This message and any attached documents contain information from QLogic Corporation or its wholly-owned subsidiaries that may be confidential. If you are not the intended recipient, you may not read, copy, distribute, or use this information. If you have received this transmission in error, please notify the sender immediately by reply e-mail and then delete this message.


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2011-04-29 19:08 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-30 18:46 [PATCH 00/18] qla2xxx: Updates for scsi-misc-2.6 madhu.iyengar
2011-03-30 18:46 ` [PATCH 01/18] qla2xxx: Display PortID information during FCP command-status handling madhu.iyengar
2011-03-30 18:46 ` [PATCH 02/18] qla2xxx: Correct calling contexts of qla2x00_mark_device_lost() in async paths madhu.iyengar
2011-03-30 18:46 ` [PATCH 03/18] qla2xxx: Check for a match before attempting to set FCP-priority information madhu.iyengar
2011-03-30 18:46 ` [PATCH 04/18] qla2xxx: Remove extraneous setting of FCF_ASYNC_SENT during login-done completion madhu.iyengar
2011-03-30 18:46 ` [PATCH 05/18] qla2xxx: Include request queue ID in the upper 16-bits of the I/O handle for Abort I/O IOCBs madhu.iyengar
2011-03-30 18:46 ` [PATCH 06/18] qla2xxx: Free firmware PCB on logout request madhu.iyengar
2011-03-30 18:46 ` [PATCH 07/18] qla2xxx: Update License file madhu.iyengar
2011-03-30 18:46 ` [PATCH 08/18] qla2xxx: Update copyright banner madhu.iyengar
2011-03-30 18:46 ` [PATCH 09/18] qla2xxx: Updated the reset sequence for ISP82xx madhu.iyengar
2011-03-30 18:46 ` [PATCH 10/18] qla2xxx: Remove extra call to qla82xx_check_fw_alive() madhu.iyengar
2011-03-30 18:46 ` [PATCH 11/18] qla2xxx: Perform FCoE context reset before trying adapter reset for ISP82xx madhu.iyengar
2011-03-30 18:46 ` [PATCH 12/18] qla2xxx: Add test for valid loop id to qla2x00_relogin() madhu.iyengar
2011-03-30 18:46 ` [PATCH 13/18] qla2xxx: Display hardware/firmware registers to get more information about the error for ISP82xx madhu.iyengar
2011-03-30 18:46 ` [PATCH 14/18] qla2xxx: Add the ql2xdontresethba module_param madhu.iyengar
2011-03-30 18:46 ` [PATCH 15/18] qla2xxx: Limit the logs in case device state does not change for ISP82xx madhu.iyengar
2011-03-30 18:46 ` [PATCH 16/18] qla2xxx: Verify login-state has transitioned to PRLI-completed madhu.iyengar
2011-03-30 18:46 ` [PATCH 17/18] qla2xxx: Log fcport state transitions when debug messages are enabled madhu.iyengar
2011-03-30 18:46 ` [PATCH 18/18] qla2xxx: Update version number to 8.03.07.03-k madhu.iyengar
2011-04-19 21:26 ` [PATCH 00/18] qla2xxx: Updates for scsi-misc-2.6 Madhu Iyengar
2011-04-29 19:08   ` Madhu Iyengar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.