[PATCH 9/18] lpfc 8.3.42: Fixed logging format of setting driver sysfs attributes hard to interpret

2013-09-06 Thread James Smart
Fixed logging format of setting driver sysfs attributes hard to interpret Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_attr.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c

[PATCH 10/18] lpfc 8.3.42: Fix crash on driver load due to cpu affinity logic

2013-09-06 Thread James Smart
Fix crash on driver load due to cpu affinity logic Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_attr.c |5 - lpfc_init.c | 28 +++- 2 files changed, 27 insertions(+), 6 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi

[PATCH 3/18] lpfc 8.3.42: Fix ramdom errors using first burst

2013-09-06 Thread James Smart
Fix ramdom errors using first burst Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_scsi.c |9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c --- a/drivers/scsi/lpfc/lpfc_scsi.c 2013-09

[PATCH 11/18] lpfc 8.3.42: Fixed driver iocbq structure's iocb_flag field running out of space

2013-09-06 Thread James Smart
Fixed driver iocbq structure's iocb_flag field running out of space Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_bsg.c | 14 +++--- lpfc_sli.h |5 ++--- 2 files changed, 9 insertions(+), 10 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_bsg.c b/drivers/scsi

[PATCH 13/18] lpfc 8.3.42: Fix WARN_ON when driver unloads

2013-09-06 Thread James Smart
Fix WARN_ON when driver unloads Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_init.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c --- a/drivers/scsi/lpfc/lpfc_init.c 2013-09-06

[PATCH 2/18] lpfc 8.3.42: Fixed not able to log informational messages at early stage of driver init time

2013-09-06 Thread James Smart
Fixed not able to log informational messages at early stage of driver init time Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_init.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c

[PATCH 1/18] lpfc 8.3.42: Fixed using unsafe linked list macro for walking and deleting linked list

2013-09-06 Thread James Smart
Fixed using unsafe linked list macro for walking and deleting linked list Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_bsg.c |4 ++-- lpfc_sli.c |5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_bsg.c b/drivers/scsi/lpfc

[PATCH 17/18] lpfc 8.3.42: Fixed issue of task management commands having a fixed timeout

2013-09-06 Thread James Smart
Fixed issue of task management commands having a fixed timeout Signed-off-by: James Smart james.sm...@emulex.com --- lpfc.h |1 + lpfc_attr.c |8 lpfc_scsi.c |2 +- 3 files changed, 10 insertions(+), 1 deletion(-) diff -upNr a/drivers/scsi/lpfc/lpfc_attr.c b

[PATCH 5/18] lpfc 8.3.42: Back out data count,(residual fcfi_parm) fix for bad target.

2013-09-06 Thread James Smart
Back out data count,(residual fcfi_parm) fix for bad target. Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_scsi.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c --- a/drivers/scsi/lpfc

[PATCH 8/18] lpfc 8.3.42: Fixed back to back RSCNs discovery failure.

2013-09-06 Thread James Smart
Fixed back to back RSCNs discovery failure. Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_hbadisc.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff -upNr a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c --- a/drivers/scsi/lpfc

[PATCH 18/18] lpfc 8.3.42: Update lpfc version to driver version 8.3.42

2013-09-06 Thread James Smart
Update lpfc version to driver version 8.3.42 Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_version.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -upNr a/drivers/scsi/lpfc/lpfc_version.h b/drivers/scsi/lpfc/lpfc_version.h --- a/drivers/scsi/lpfc/lpfc_version.h

[PATCH 6/18] lpfc 8.3.42: Fixed function mode field defined too small for not recognizing dual-chute mode

2013-09-06 Thread James Smart
Fixed function mode field defined too small for not recognizing dual-chute mode Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_sli4.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -upNr a/drivers/scsi/lpfc/lpfc_sli4.h b/drivers/scsi/lpfc/lpfc_sli4.h

Re: [PATCH 17/18] lpfc 8.3.42: Fixed issue of task management commands having a fixed timeout

2013-09-08 Thread James Smart
it in the past. The other issue - we seem to have missed your prior post. I'll look into it shortly. The two patches work on the same code, but are independent topics. -- james On 9/6/2013 2:38 PM, Jeremy Linton wrote: On 9/6/2013 11:22 AM, James Smart wrote: Fixed issue of task management

[PATCH 1/8] lpfc 8.3.43: Fix crash after xri limit is reached.

2013-10-10 Thread James Smart
Fix crash after xri limit is reached. Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_scsi.c | 19 --- lpfc_sli4.h |1 + 2 files changed, 13 insertions(+), 7 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c

[PATCH 2/8] lpfc 8.3.43: Fixed spinlock inversion problem.

2013-10-10 Thread James Smart
Fixed spinlock inversion problem. Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_sli.c |9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c --- a/drivers/scsi/lpfc/lpfc_sli.c 2013-10-09

[PATCH 3/8] lpfc 8.3.43: Fixed invalid mailbox timeouts

2013-10-10 Thread James Smart
Fixed invalid mailbox timeouts Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_sli.c | 112 + 1 file changed, 112 insertions(+) diff -upNr a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c --- a/drivers

[PATCH 5/8] lpfc 8.3.43: Fixed invalid Total_Data_Placed value received for els and ct command responses

2013-10-10 Thread James Smart
Fixed invalid Total_Data_Placed value received for els and ct command responses Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_hw4.h |6 -- lpfc_sli.c | 38 -- 2 files changed, 40 insertions(+), 4 deletions(-) diff -upNr a/drivers

[PATCH 4/8] lpfc 8.3.43: Fixed invalid fcp_rsp length fir FCP_ICMND

2013-10-10 Thread James Smart
Fixed invalid fcp_rsp length fir FCP_ICMND Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_hw4.h | 24 +--- lpfc_sli.c | 19 ++- 2 files changed, 35 insertions(+), 8 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_hw4.h b/drivers/scsi

[PATCH 6/8] lpfc 8.3.43: Fixed spinlock hang.

2013-10-10 Thread James Smart
Fixed spinlock hang. Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_hbadisc.c |8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c --- a/drivers/scsi/lpfc/lpfc_hbadisc.c 2013-10-09 10

[PATCH 7/8] lpfc 8.3.43: Fixed not processing task management IOCB response status

2013-10-10 Thread James Smart
-successful status, which it previously treated as a successful TMF. The patch also corrects a flushing of I/O that was done which should only be done on successful TMF completion. Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_bsg.c |7 ++- lpfc_scsi.c | 112

[PATCH 8/8] lpfc 8.3.43: Update lpfc version to driver version 8.3.43

2013-10-10 Thread James Smart
Update lpfc version to driver version 8.3.43 Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_version.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -upNr a/drivers/scsi/lpfc/lpfc_version.h b/drivers/scsi/lpfc/lpfc_version.h --- a/drivers/scsi/lpfc/lpfc_version.h

[PATCH 0/8] lpfc 8.3.43: Update lpfc to revision 8.3.43

2013-10-10 Thread James Smart
for els and ct command responses - Fixed spinlock hang. - Fixed not processing task management IOCB response status - Update lpfc version to driver version 8.3.43 The patches were cut against scsi.git, branch misc. -- james s Signed-off-by: James Smart james.sm...@emulex.com

Re: [PATCH] drivers: scsi: lpfc: Fix typo on NULL assignment

2013-10-16 Thread James Smart
Acked-by: James Smart james.sm...@emulex.com -- james s On 10/15/2013 8:29 PM, Felipe Pena wrote: In the lpfc_ct_free_iocb function after freeing associated memory to the ctiocb-context3, the ctiocb-context1 is set to NULL instead of context3. Signed-off-by: Felipe Pena felipe...@gmail.com

Re: [PATCH] drivers: scsi: lpfc_debugfs: Fix wrong assignment

2013-11-14 Thread James Smart
Thanks! Acked-by: James Smart james.sm...@emulex.com -- james s On 10/18/2013 7:15 PM, Felipe Pena wrote: On lpfc_debugfs_initialize function the dumpHostSlim member setup happens when 'phba-sli_rev LPFC_SLI_REV4' is true, however when it is false NULL has been assigned

[PATCH 1/7] lpfc 8.3.44: Fixed IO hang when in msi mode.

2013-12-02 Thread James Smart
Fixed IO hang when in msi mode. Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_scsi.c | 18 ++ lpfc_sli.c |3 ++- 2 files changed, 20 insertions(+), 1 deletion(-) diff -upNr a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c --- a/drivers

[PATCH 2/7] lpfc 8.3.44: Fixed stopped FCF discovery on failed FCF record read.

2013-12-02 Thread James Smart
Fixed stopped FCF discovery on failed FCF record read. Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_hbadisc.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c --- a/drivers

[PATCH 0/7] lpfc 8.3.44: Update lpfc to revision 8.3.44

2013-12-02 Thread James Smart
of iDiags directories/files in debugfs - Fixed unassigned variable in ELS timeout message - Update lpfc version to driver version 8.3.44 The patches were cut against scsi.git, branch misc. -- james s Signed-off-by: James Smart james.sm...@emulex.com -- To unsubscribe from this list: send

[PATCH 3/7] lpfc 8.3.44: Fix Crash in lpfc_els_timeout_handler

2013-12-02 Thread James Smart
Fix Crash in lpfc_els_timeout_handler Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_els.c | 101 +++ lpfc_nportdisc.c | 56 ++ 2 files changed, 84 insertions(+), 73 deletions(-) diff -upNr

[PATCH 4/7] lpfc 8.3.44: Fix kernel panics from corrupted ndlp list.

2013-12-02 Thread James Smart
Fix kernel panics from corrupted ndlp list. Signed-off-by: James Smart james.sm...@emulex.com --- lpfc.h |2 + lpfc_crtn.h|1 lpfc_disc.h|2 - lpfc_els.c | 80 +++-- lpfc_hbadisc.c | 21

[PATCH 5/7] lpfc 8.3.44: Fixed incorrect allocation of iDiags directories/files in debugfs

2013-12-02 Thread James Smart
Fixed incorrect allocation of iDiags directories/files in debugfs Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_debugfs.c | 10 ++ 1 file changed, 10 insertions(+) diff -upNr a/drivers/scsi/lpfc/lpfc_debugfs.c b/drivers/scsi/lpfc/lpfc_debugfs.c --- a/drivers/scsi

[PATCH 7/7] lpfc 8.3.44: Update lpfc version to driver version 8.3.44

2013-12-02 Thread James Smart
Update lpfc version to driver version 8.3.44 Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_version.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -upNr a/drivers/scsi/lpfc/lpfc_version.h b/drivers/scsi/lpfc/lpfc_version.h --- a/drivers/scsi/lpfc/lpfc_version.h

[PATCH 6/7] lpfc 8.3.44: Fixed unassigned variable in ELS timeout message

2013-12-02 Thread James Smart
Fixed unassigned variable in ELS timeout message Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_els.c |1 + 1 file changed, 1 insertion(+) diff -upNr a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c --- a/drivers/scsi/lpfc/lpfc_els.c 2013-12-02 11:52

Re: [PATCH 1/7] lpfc 8.3.44: Fixed IO hang when in msi mode.

2013-12-17 Thread James Smart
yep. Sorry. Will resend shortly. -- james On 12/17/2013 3:30 PM, James Bottomley wrote: On Mon, 2013-12-02 at 12:48 -0500, James Smart wrote: Fixed IO hang when in msi mode. Signed-off-by: James Smart james.sm...@emulex.com There seems to be a lot of tab vs space checkpatch warnings

[PATCH 0/7 V2] lpfc 8.3.44: Update lpfc to revision 8.3.44

2013-12-17 Thread James Smart
- Fix kernel panics from corrupted ndlp list. - Fixed incorrect allocation of iDiags directories/files in debugfs - Fixed unassigned variable in ELS timeout message - Update lpfc version to driver version 8.3.44 The patches were cut against scsi.git, branch misc. -- james s Signed-off-by: James

[PATCH 1/7 V2] lpfc 8.3.44: Fixed IO hang when in msi mode.

2013-12-17 Thread James Smart
Fixed IO hang when in msi mode. Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_scsi.c | 18 ++ lpfc_sli.c |3 ++- 2 files changed, 20 insertions(+), 1 deletion(-) diff -upNr a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c --- a/drivers

[PATCH 2/7 V2] lpfc 8.3.44: Fixed stopped FCF discovery on failed FCF record read

2013-12-17 Thread James Smart
Fixed stopped FCF discovery on failed FCF record read. Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_hbadisc.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c --- a/drivers

[PATCH 4/7 V2] lpfc 8.3.44: Fix kernel panics from corrupted ndlp list

2013-12-17 Thread James Smart
Fix kernel panics from corrupted ndlp list. Signed-off-by: James Smart james.sm...@emulex.com --- lpfc.h |2 + lpfc_crtn.h|1 lpfc_disc.h|2 - lpfc_els.c | 80 +++-- lpfc_hbadisc.c | 21

[PATCH 5/7 V2] lpfc 8.3.44: Fixed incorrect allocation of iDiags directories/files in debugfs

2013-12-17 Thread James Smart
Fixed incorrect allocation of iDiags directories/files in debugfs Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_debugfs.c | 10 ++ 1 file changed, 10 insertions(+) diff -upNr a/drivers/scsi/lpfc/lpfc_debugfs.c b/drivers/scsi/lpfc/lpfc_debugfs.c --- a/drivers/scsi

[PATCH 3/7 V2] lpfc 8.3.44: Fix Crash in lpfc_els_timeout_handler

2013-12-17 Thread James Smart
Fix Crash in lpfc_els_timeout_handler Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_els.c | 101 +++ lpfc_nportdisc.c | 56 ++ 2 files changed, 84 insertions(+), 73 deletions(-) diff -upNr

[PATCH 7/7 V2] lpfc 8.3.44: Update lpfc version to driver version 8.3.44

2013-12-17 Thread James Smart
Update lpfc version to driver version 8.3.44 Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_version.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -upNr a/drivers/scsi/lpfc/lpfc_version.h b/drivers/scsi/lpfc/lpfc_version.h --- a/drivers/scsi/lpfc/lpfc_version.h

[PATCH 6/7 V2] lpfc 8.3.44: Fixed unassigned variable in ELS timeout message

2013-12-17 Thread James Smart
Fixed unassigned variable in ELS timeout message Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_els.c |1 + 1 file changed, 1 insertion(+) diff -upNr a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c --- a/drivers/scsi/lpfc/lpfc_els.c 2013-12-02 11:52

Re: [LSF/MM TOPIC] [ATTEND] scsi-mq

2014-01-22 Thread James Smart
James, I'd like to attend to participate in the EH, MQ, and T10 PI RDMA discussions. -- james s On 1/16/2014 11:29 AM, Sagi Grimberg wrote: On 1/16/2014 1:05 AM, Nicholas A. Bellinger wrote: Hi all, I'd like to discuss the current state of scsi-mq prototype code. And now that blk-mq

[LSF/MM ATTEND] EH, MQ, RDMA T10-PI

2014-01-22 Thread James Smart
. -- James Smart -- 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

[PATCH 6/8] lpfc 8.3.45: Fixed driver error messages after firmware download

2014-02-20 Thread James Smart
Fixed driver error messages after firmware download Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_init.c | 22 ++ 1 file changed, 14 insertions(+), 8 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c --- a/drivers

[PATCH 7/8] lpfc 8.3.45: Fixed crash during driver unload.

2014-02-20 Thread James Smart
Fixed crash during driver unload. Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_els.c | 18 ++ lpfc_init.c |9 +++-- lpfc_sli.c | 10 +++--- 3 files changed, 28 insertions(+), 9 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_els.c b/drivers

[PATCH 8/8] lpfc 8.3.45: Update lpfc version to driver version 8.3.45

2014-02-20 Thread James Smart
Update lpfc version to driver version 8.3.45 Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_version.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -upNr a/drivers/scsi/lpfc/lpfc_version.h b/drivers/scsi/lpfc/lpfc_version.h --- a/drivers/scsi/lpfc/lpfc_version.h

Re: [PATCH 12/22] lpfc: Use pci_enable_msix_range()

2014-02-20 Thread James Smart
to be updated to use the new pci_enable_msi_range() and pci_enable_msix_range() interfaces. CC: Alexander Gordeev agord...@redhat.com Cc: linux-scsi@vger.kernel.org Cc: linux-...@vger.kernel.org Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_init.c | 43

Re: suspicious self-assignment in lpfc

2014-02-20 Thread James Smart
yeah - this is pretty silly. I'll cut a patch to remove the lines. -- james s On 2/18/2014 12:42 PM, Dave Jones wrote: Looking through coverity reports, and it flagged lpfc_read_fcf_conn_tbl() due to the following patch.. commit df0d085fdd2e7c39d1249c2d4ad6b3e176efb60c Author: James Smart

[PATCH] lpfc: remove self-assignments

2014-02-20 Thread James Smart
As spotted by coverty/Dave Jones, removing unnecessary self assignments. -- james s Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_hbadisc.c |4 1 file changed, 4 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c

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

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

[PATCH 0/11] lpfc 10.2.8000.0: Update lpfc to revision 10.2.8000.0

2014-04-04 Thread James Smart
on changed files. - Update Copyright on changed files from 8.3.45 patches - Update lpfc version to driver version 10.2.8000.0 The patches were cut against scsi.git, branch misc -- james s Signed-off-by: James Smart james.sm...@emulex.com -- To unsubscribe from this list: send the line

[PATCH 4/11] lpfc 10.2.8000.0: Fixed kernel panic in lpfc_abort_handler

2014-04-04 Thread James Smart
Fixed kernel panic in lpfc_abort_handler Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_init.c |5 - lpfc_scsi.c | 12 2 files changed, 16 insertions(+), 1 deletion(-) diff -upNr a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c

[PATCH 5/11] lpfc 10.2.8000.0: Fix SLI4 s abort loop to process all FCP rings and under ring_lock

2014-04-04 Thread James Smart
Fix SLI4 s abort loop to process all FCP rings and under ring_lock Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_crtn.h |1 lpfc_init.c | 23 +--- lpfc_sli.c | 155 3 files changed, 99 insertions(+), 80

[PATCH 3/11] lpfc 10.2.8000.0: Fix locking for postbufq when freeing

2014-04-04 Thread James Smart
Fix locking for postbufq when freeing Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_init.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c --- a/drivers/scsi/lpfc/lpfc_init.c

[PATCH 2/11] lpfc 10.2.8000.0: Fix locking for lpfc_hba_down_post

2014-04-04 Thread James Smart
Fix locking for lpfc_hba_down_post Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_init.c | 79 +--- 1 file changed, 60 insertions(+), 19 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc

[PATCH 9/11] lpfc 10.2.8000.0: Update Copyright on changed files

2014-04-04 Thread James Smart
Update Copyright on changed files Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_crtn.h|2 +- lpfc_debugfs.c |2 +- lpfc_els.c |2 +- lpfc_init.c|2 +- lpfc_scsi.c|2 +- lpfc_sli.c |2 +- 6 files changed, 6 insertions(+), 6 deletions

[PATCH 8/11] lpfc 10.2.8000.0: Fixed locking for scsi task management commands

2014-04-04 Thread James Smart
Fixed locking for scsi task management commands. Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_crtn.h |3 + lpfc_scsi.c | 25 ++-- lpfc_sli.c | 118 3 files changed, 141 insertions(+), 5 deletions

[PATCH 11/11] lpfc 10.2.8000.0: Update lpfc version to driver version 10.2.8000.0

2014-04-04 Thread James Smart
Update lpfc version to driver version 10.2.8000.0 Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_attr.c|2 +- lpfc_version.h |4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c

[PATCH 6/11] lpfc 10.2.8000.0: Fix FW dump using sysfs

2014-04-04 Thread James Smart
Fix FW dump using sysfs Signed-off-by: James Smart james.sm...@emulex.com --- lpfc.h |1 + lpfc_attr.c |7 ++- lpfc_sli.c | 13 ++--- 3 files changed, 17 insertions(+), 4 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c

[PATCH 10/11] lpfc 10.2.8000.0: Update Copyright on changed files from 8.3.45 patches

2014-04-04 Thread James Smart
Update Copyright on changed files from 8.3.45 patches Missed this in the 8.3.45 push Signed-off-by: James Smart james.sm...@emulex.com --- lpfc.h |2 +- lpfc_bsg.c |2 +- lpfc_bsg.h |2 +- lpfc_hbadisc.c |2 +- lpfc_hw.h |2 +- lpfc_hw4.h |2

[PATCH 7/11] lpfc 10.2.8000.0: Convert runtime references to old xlane cfg param to fof cfg param

2014-04-04 Thread James Smart
Convert runtime references to old xlane cfg param to fof cfg param Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_attr.c| 12 ++-- lpfc_debugfs.c |2 +- lpfc_init.c|9 - lpfc_scsi.c| 20 ++-- lpfc_sli.c |7 +++ 5

[REPOST] [PATCH 1/1] lpfc: Add iotag memory barrier

2014-05-07 Thread James Smart
the command, we timeout waiting, and end up escalating EEH all the way to host reset. This patch fixes this issue. Signed-off-by: Brian King brk...@linux.vnet.ibm.com Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_sli.c | 21 + 1 file changed, 21 insertions

[PATCH 0/5] lpfc 10.2.8001.0: Update lpfc to revision 10.2.8001.0

2014-05-12 Thread James Smart
King. That patch should also be pulled in: marc.info/?l=linux-scsiw=2r=1s=lpfcq=b -- james s Signed-off-by: James Smart james.sm...@emulex.com -- 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

[PATCH 2/5] lpfc 10.2.8001.0: Fix for initializing RRQ bitmap

2014-05-12 Thread James Smart
Fix for initializing RRQ bitmap Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_hbadisc.c |3 +++ 1 file changed, 3 insertions(+) diff -upNr a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c --- a/drivers/scsi/lpfc/lpfc_hbadisc.c 2014-05-12 09:45

[PATCH 1/5] lpfc 10.2.8001.0: Fix for cleaning up stale ring flag and sp_queue_event entries

2014-05-12 Thread James Smart
Fix for cleaning up stale ring flag and sp_queue_event entries. Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_init.c | 48 lpfc_sli.c |1 + 2 files changed, 49 insertions(+) diff -upNr a/drivers/scsi/lpfc/lpfc_init.c b

[PATCH 3/5] lpfc 10.2.8001.0: Removed obsolete PCI IDs from the driver

2014-05-12 Thread James Smart
Removed obsolete PCI IDs from the driver. Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_els.c |9 --- lpfc_hw.h | 54 +--- lpfc_init.c | 161 lpfc_sli.c |4 - 4 files changed, 6

[PATCH 4/5] lpfc 10.2.8001.0: Fix ExpressLane priority setup

2014-05-12 Thread James Smart
Fix ExpressLane priority setup Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_attr.c |2 +- lpfc_sli.c |1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff -upNr a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c --- a/drivers/scsi/lpfc/lpfc_attr.c

[PATCH 5/5] lpfc 10.2.8001.0: Update lpfc version to driver version 10.2.8001.0

2014-05-12 Thread James Smart
Update lpfc version to driver version 10.2.8001.0 Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_version.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_version.h b/drivers/scsi/lpfc/lpfc_version.h --- a/drivers/scsi/lpfc

[REPOST v2] [PATCH 1/1] lpfc: Add iotag memory barrier

2014-05-19 Thread James Smart
for the aborted command to get returned. Since the adapter already returned the command, we timeout waiting, and end up escalating EEH all the way to host reset. This patch fixes this issue. Signed-off-by: Brian King brk...@linux.vnet.ibm.com Signed-off-by: James Smart james.sm...@emulex.com

Re: [PATCH 3/5] lpfc 10.2.8001.0: Removed obsolete PCI IDs from the driver

2014-05-19 Thread James Smart
-0400, James Smart wrote: Removed obsolete PCI IDs from the driver. How are these obsolete? -- 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

[PATCH V2 0/5] lpfc 10.2.8001.0: Update lpfc to revision 10.2.8001.0

2014-05-21 Thread James Smart
King. That patch should also be pulled in: marc.info/?l=linux-scsiw=2r=1s=lpfcq=b -- james s Signed-off-by: James Smart james.sm...@emulex.com -- 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

[PATCH V2 1/5] lpfc 10.2.8001.0: Fix for cleaning up stale ring flag and sp_queue_event entries.

2014-05-21 Thread James Smart
Fix for cleaning up stale ring flag and sp_queue_event entries. Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_init.c | 48 lpfc_sli.c |1 + 2 files changed, 49 insertions(+) diff -upNr a/drivers/scsi/lpfc/lpfc_init.c b

[PATCH V2 3/5] lpfc 10.2.8001.0: Removed obsolete PCI IDs from the driver.

2014-05-21 Thread James Smart
Reworked per Christoph's suggestions. -- Removed obsolete PCI IDs from the driver. Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_init.c | 83 +++- 1 file changed, 49 insertions(+), 34 deletions(-) diff -upNr a/drivers

[PATCH V2 2/5] lpfc 10.2.8001.0: Fix for initializing RRQ bitmap

2014-05-21 Thread James Smart
Fix for initializing RRQ bitmap Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_hbadisc.c |3 +++ 1 file changed, 3 insertions(+) diff -upNr a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c --- a/drivers/scsi/lpfc/lpfc_hbadisc.c 2014-05-12 09:45

[PATCH V2 4/5] lpfc 10.2.8001.0: Fix ExpressLane priority setup

2014-05-21 Thread James Smart
Fix ExpressLane priority setup Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_attr.c |2 +- lpfc_sli.c |1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff -upNr a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c --- a/drivers/scsi/lpfc/lpfc_attr.c

[PATCH V2 5/5] lpfc 10.2.8001.0: Update lpfc version to driver version 10.2.8001.0

2014-05-21 Thread James Smart
Update lpfc version to driver version 10.2.8001.0 Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_version.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_version.h b/drivers/scsi/lpfc/lpfc_version.h --- a/drivers/scsi/lpfc

[PATCH 1/16] lpfc 8.1.12 : Misc bug fixes and code cleanup

2007-04-25 Thread James Smart
) - Fixed bug check in add_timer. - Fixup messages 0116, 0117, and 0128 to report ELS I/O tag. - Remove unused parameter to lpfc_cleanup. - Change mailbox timeout handling. - Remove unused buflist. Code cleanup. Signed-off-by: James Smart [EMAIL PROTECTED] diff -upNr a/drivers/scsi/lpfc/lpfc_attr.c

[PATCH 2/16] lpfc 8.1.12 : Modify ELS abort handling to prevent double completion

2007-04-25 Thread James Smart
. - Fixup the iocb completion handling to account for the ELS abort completions. Signed-off-by: James Smart [EMAIL PROTECTED] diff -upNr a/drivers/scsi/lpfc/lpfc_crtn.h b/drivers/scsi/lpfc/lpfc_crtn.h --- a/drivers/scsi/lpfc/lpfc_crtn.h 2007-03-12 13:56:16.0 -0500 +++ b/drivers/scsi

[PATCH 3/16] lpfc 8.1.12 : Rework offline path to solve HBA reset issues

2007-04-25 Thread James Smart
Rework offline path to solve HBA reset issues Signed-off-by: James Smart [EMAIL PROTECTED] diff -upNr a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c --- a/drivers/scsi/lpfc/lpfc_attr.c 2007-04-24 11:12:40.0 -0400 +++ b/drivers/scsi/lpfc/lpfc_attr.c 2007-04-24 11

[PATCH 4/16] lpfc 8.1.12 : Fix unlock inside list traversal

2007-04-25 Thread James Smart
Fix unlock inside list traversal. Signed-off-by: James Smart [EMAIL PROTECTED] diff -upNr a/drivers/scsi/lpfc/lpfc_crtn.h b/drivers/scsi/lpfc/lpfc_crtn.h --- a/drivers/scsi/lpfc/lpfc_crtn.h 2007-04-24 11:12:41.0 -0400 +++ b/drivers/scsi/lpfc/lpfc_crtn.h 2007-04-24 11:12

[PATCH 5/16] lpfc 8.1.12 : Reorganize lpfc_nlp_list() and callers to prepare for nodelist simplification

2007-04-25 Thread James Smart
Reorganize lpfc_nlp_list() and callers to prepare for nodelist simplification. Signed-off-by: James Smart [EMAIL PROTECTED] diff -upNr a/drivers/scsi/lpfc/lpfc_crtn.h b/drivers/scsi/lpfc/lpfc_crtn.h --- a/drivers/scsi/lpfc/lpfc_crtn.h 2007-04-24 11:12:41.0 -0400 +++ b/drivers/scsi

[PATCH 6/16] lpfc 8.1.12 : Round 2 of Miscellaneous fixes

2007-04-25 Thread James Smart
user change lpfc HBA's dev_loss_tmo. - Fixed a memory leak in lpfc_sli_wake_mbox_wait. - Fixed check for dropped frames. - Removed hba queue depth calculation based on device PCI IDs - Change min cr_count value specified in comment to agree with setting Signed-off-by: James Smart [EMAIL

[PATCH 7/16] lpfc 8.1.12 : Fixed recovery of rport after race with dev_loss_tmo

2007-04-25 Thread James Smart
Fixed recovery of rport after race with dev_loss_tmo Signed-off-by: James Smart [EMAIL PROTECTED] diff -upNr a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c --- a/drivers/scsi/lpfc/lpfc_hbadisc.c 2007-04-24 11:12:41.0 -0400 +++ b/drivers/scsi/lpfc/lpfc_hbadisc.c

[PATCH 8/16] lpfc 8.1.12 : Improve diagnostic messages and change local loopback message to KERN_INFO

2007-04-25 Thread James Smart
Improve diagnostic messages and change local loopback message to KERN_INFO Signed-off-by: James Smart [EMAIL PROTECTED] diff -upNr a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c --- a/drivers/scsi/lpfc/lpfc_attr.c 2007-04-24 11:12:41.0 -0400 +++ b/drivers/scsi/lpfc

[PATCH 9/16] lpfc 8.1.12 : Improve handling of failed ELS aborts

2007-04-25 Thread James Smart
Improve handling of failed ELS aborts. Signed-off-by: James Smart [EMAIL PROTECTED] diff -upNr a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c --- a/drivers/scsi/lpfc/lpfc_els.c 2007-04-24 11:12:42.0 -0400 +++ b/drivers/scsi/lpfc/lpfc_els.c 2007-04-24 11:12

[PATCH 10/16] lpfc 8.1.12 : Reference count node structures for node lifetime management

2007-04-25 Thread James Smart
Reference count node structures for node lifetime management. Signed-off-by: James Smart [EMAIL PROTECTED] diff -upNr a/drivers/scsi/lpfc/lpfc_crtn.h b/drivers/scsi/lpfc/lpfc_crtn.h --- a/drivers/scsi/lpfc/lpfc_crtn.h 2007-04-24 11:12:41.0 -0400 +++ b/drivers/scsi/lpfc/lpfc_crtn.h

[PATCH 11/16] lpfc 8.1.12 : Collapse discovery lists to a single node list

2007-04-25 Thread James Smart
Collapse discovery lists to a single node list. Signed-off-by: James Smart [EMAIL PROTECTED] diff -upNr a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c --- a/drivers/scsi/lpfc/lpfc_attr.c 2007-04-24 11:12:42.0 -0400 +++ b/drivers/scsi/lpfc/lpfc_attr.c 2007-04-24

[PATCH 12/16] lpfc 8.1.12 : Don't process ERATT interrupts when issuing KILL_BOARD mbx command

2007-04-25 Thread James Smart
Don't process ERATT interrupts when issuing KILL_BOARD mbx command Signed-off-by: James Smart [EMAIL PROTECTED] diff -upNr a/drivers/scsi/lpfc/lpfc.h b/drivers/scsi/lpfc/lpfc.h --- a/drivers/scsi/lpfc/lpfc.h 2007-04-24 11:12:42.0 -0400 +++ b/drivers/scsi/lpfc/lpfc.h 2007-04-24 11:12

[PATCH 13/16] lpfc 8.1.12 : Add support for async scanning

2007-04-25 Thread James Smart
=11755125582w=2 Signed-off-by: James Smart [EMAIL PROTECTED] diff -upNr a/drivers/scsi/lpfc/lpfc_crtn.h b/drivers/scsi/lpfc/lpfc_crtn.h --- a/drivers/scsi/lpfc/lpfc_crtn.h 2007-04-24 11:12:42.0 -0400 +++ b/drivers/scsi/lpfc/lpfc_crtn.h 2007-04-24 11:12:43.0 -0400

[PATCH 14/16] lpfc 8.1.12 : Added support for 8G speed and new HBAs

2007-04-25 Thread James Smart
Added support for 8G speed and new HBAs. Signed-off-by: James Smart [EMAIL PROTECTED] diff -upNr a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c --- a/drivers/scsi/lpfc/lpfc_attr.c 2007-04-24 11:12:42.0 -0400 +++ b/drivers/scsi/lpfc/lpfc_attr.c 2007-04-24 11:12

[PATCH 16/16] lpfc 8.1.12 : Change version number to 8.1.12

2007-04-25 Thread James Smart
Change version number to 8.1.12 Signed-off-by: James Smart [EMAIL PROTECTED] diff -upNr a/drivers/scsi/lpfc/lpfc_version.h b/drivers/scsi/lpfc/lpfc_version.h --- a/drivers/scsi/lpfc/lpfc_version.h 2007-03-12 13:56:16.0 -0500 +++ b/drivers/scsi/lpfc/lpfc_version.h 2007-04-24 11:12

[PATCH 15/16] lpfc 8.1.12 : Update copyright year to 2007

2007-04-25 Thread James Smart
Update copyright year to 2007 Signed-off-by: James Smart [EMAIL PROTECTED] diff -upNr a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c --- a/drivers/scsi/lpfc/lpfc_attr.c 2007-04-24 11:12:43.0 -0400 +++ b/drivers/scsi/lpfc/lpfc_attr.c 2007-04-24 11:12:43.0

[PATCH][REPOST] fc_transport: make all rports wait dev_loss_tmo before removing them

2007-04-27 Thread James Smart
against a LLDD calling fc_remote_port_delete() back-to-back. Thus, the dev_loss_tmo timer could be restarted such that it fires after the rport had been deleted. Validate rport state before starting the timer. -- james s Signed-off-by: James Smart [EMAIL PROTECTED] diff -upNr a/drivers

[PATCH][REPOST] FC Transport support for vports based on NPIV

2007-04-27 Thread James Smart
VPCERR_xxx defines for errors to be returned from vport_create() - Created a Documentation/scsi/scsi_fc_transport.txt file that describes the interfaces and expected LLDD behaviors. -- james Signed-off-by: James Smart [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux

[RFC] lpfc 8.2.0 : Refactoring and addition of NPIV support

2007-04-30 Thread James Smart
All, For the past several months, Emulex has been updating our driver to support the N_Port ID Virtualization (NPIV). We have reached a maturity point where we would like to move the NPIV support into our upstream driver. This is a request to review the modifications we have made for NPIV. NPIV

[PATCH] bug fix: SCSI async scan sysfs -EEXIST problem

2007-05-07 Thread James Smart
the scsi_sysfs_add_sdev() calls. To avoid all the lock repositioning, I simply converted it to an atomic. A little overkill, but has the coherency it needs. Confirmed by Josef that it corrected his problems. -- james s Signed-off-by: James Smart [EMAIL PROTECTED] diff -upNr a/drivers/scsi/scsi_scan.c

Re: [PATCH 2/5] zfcp: Fix deadlock between zfcp ERP and SCSI

2007-05-08 Thread James Smart
Curious why you are calling scsi_scan_target() or scsi_target_block()/scsi_target_unblock() directly. I would have thought the add/remove rport code would have done this for you, and it deals with all the flush conditions, etc. -- james Swen Schillig wrote: From: Christof Schmitt [EMAIL

Re: [patch 18/28] scsi/lpfc/lpfc_init.c: remove unused variable

2007-05-11 Thread James Smart
ACK -- james s [EMAIL PROTECTED] wrote: From: Adrian Bunk [EMAIL PROTECTED] Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/scsi/lpfc/lpfc_init.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN

`

2007-05-14 Thread James Smart
Christof Schmitt wrote: James, i try to understand what the introduction of the vports means for zfcp, since this driver also supports NPIV. The documentation for the fc transport class describes a driver that would fully control the adapter and the creation of virtual address. Since you

Re: [PATCH] FC Transport support for vports based on NPIV

2007-05-14 Thread James Smart
reposting w/ the title James Smart wrote: Christof Schmitt wrote: James, i try to understand what the introduction of the vports means for zfcp, since this driver also supports NPIV. The documentation for the fc transport class describes a driver that would fully control the adapter

<    1   2   3   4   5   6   7   8   9   10   >