[PATCH 10/10] lpfc 8.2.4 : Update lpfc driver version to 8.2.4

2008-01-10 Thread James Smart
Update lpfc driver version to 8.2.4 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-11-09 15:54:48.0 -0500 +++ b/drivers/scsi/lpfc/lpfc_version.h 2008-01-11 01:32

Re: [PATCH 6/10] lpfc 8.2.4 : Add additional sysfs and module parameters

2008-01-14 Thread James Smart
They are - for display purposes. We have yet to make them settable via the transport. I'll look into it, as it does make sense. -- james s James Bottomley wrote: On Fri, 2008-01-11 at 01:53 -0500, James Smart wrote: Made link speed and link topology modifiable via sysfs Make scatter gather

[PATCH] lpfc 8.2.4 fixup: always use stack waitqueue

2008-01-14 Thread James Smart
Found one area that needed to be fixed in the 8.2.4 patches. Remove incorrect use of #ifdef for an on stack waitqueue. Upstream driver always uses DECLARE_WAIT_QUEUE_HEAD_ONSTACK(); Signed-off-by: James Smart [EMAIL PROTECTED] diff -upNr a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc

Re: Open-FCoE on linux-scsi

2008-01-15 Thread James Smart
Love, Robert W wrote: The interconnect layer could be split further: SCSI command set layer -- SCSI core -- SCSI transport layer (FCP) -- Fibre Channel core -- Fibre Channel card drivers, FCoE drivers. This is how I see the comparison. ('/' indicates 'or') You suggest

Re: [PATCH] [SCSI]: constify function pointer tables

2008-01-22 Thread James Smart
Jan Engelhardt wrote: Signed-off-by: Jan Engelhardt [EMAIL PROTECTED] --- drivers/scsi/lpfc/lpfc_debugfs.c | 10 +- drivers/scsi/sg.c|8 ACK -- james s - To unsubscribe from this list: send the line unsubscribe linux-scsi in the body of a message to

Re: [PATCH 2.6.23.14] SCSI : scsi_device_lookup/scsi_device_lookup_by_target return NULL for an existent scsi_device

2008-01-23 Thread James Smart
This sounds like a return to the old behavior, where sdevs in SDEV_DEL were ignored. However, it too had lots of bad effects. We'd have to go back to the threads over the last 2 years that justified resurrecting the sdev. Start looking at threads like :

Re: [PATCH 2.6.23.14] SCSI : scsi_device_lookup/scsi_device_lookup_by_target return NULL for an existent scsi_device

2008-01-30 Thread James Smart
. Comments welcome. Thanx, Tomar --- James Smart [EMAIL PROTECTED] wrote: This sounds like a return to the old behavior, where sdevs in SDEV_DEL were ignored. However, it too had lots of bad effects. We'd have to go back to the threads over the last 2 years that justified resurrecting the sdev

Re: Open-FCoE on linux-scsi

2008-01-31 Thread James Smart
Chris Leech wrote: In thinking about how FC should be represented, it seems to me that in order to provide good interfaces at multiple levels of functionality we have to make sure the we have the right data structures at each level. At the highest level there's scsi_cmd, then there's sequence

[PATCH 2/6] lpfc 8.2.5 : Miscellaneous Fixes

2008-02-08 Thread James Smart
- Fix memory leak during repeated unloads - in mbox handling - Fix link bounce vs FLOGI race conditions Signed-off-by: James Smart [EMAIL PROTECTED] --- lpfc.h |4 ++-- lpfc_attr.c |8 +--- lpfc_els.c | 14 +++--- lpfc_hbadisc.c | 15

[PATCH 3/6] lpfc 8.2.5 : Add MSI-X single message support

2008-02-08 Thread James Smart
Add MSI-X single message support Signed-off-by: James Smart [EMAIL PROTECTED] --- lpfc.h | 10 +- lpfc_attr.c |6 ++- lpfc_init.c | 97 3 files changed, 91 insertions(+), 22 deletions(-) diff -upNr a/drivers

[PATCH 4/6] lpfc 8.2.5 : Miscellaneous discovery Fixes

2008-02-08 Thread James Smart
Signed-off-by: James Smart [EMAIL PROTECTED] --- lpfc.h|1 lpfc_ct.c |2 lpfc_disc.h | 33 +++--- lpfc_els.c| 133 -- lpfc_hw.h |1 lpfc_init.c |5 +- lpfc_logmsg.h | 10 +++- lpfc_mem.c

[PATCH 5/6] lpfc 8.2.5 : Fix buffer leaks

2008-02-08 Thread James Smart
Fix buffer leaks: - HBQ dma buffer leak at dma_pool_destroy when unloading driver - Fix missing buffer free in slow ring buffer handling Signed-off-by: James Smart [EMAIL PROTECTED] --- lpfc.h |2 + lpfc_hbadisc.c | 17 +++-- lpfc_hw.h | 17 + lpfc_init.c

[PATCH 6/6] lpfc 8.2.5 : Update lpfc driver version to 8.2.5

2008-02-08 Thread James Smart
Update lpfc driver version to 8.2.5 Signed-off-by: James Smart [EMAIL PROTECTED] --- 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 2008-01-14

[PATCH 0/6] lpfc 8.2.5 : lpfc 8.2.5 patches

2008-02-08 Thread James Smart
lpfc driver updates for revision 8.2.5. Patches based on scsi-misc-2.6 Changes include: - Correct ndlp referencing issues - Miscellaneous fixes - Add MSI-X single message support - Miscellaneous discovery fixes: - Fix buffer leaks: - Update lpfc driver version to 8.2.5 -- james s - To

Re: [PATCH] enclosure: add support for enclosure services

2008-02-13 Thread James Smart
The keep-it-in-user-space arguments seem fairly compelling to me. Especially as we've pushed whole i/o subsystems out to user space (iscsi, stgt, talked about fcoe, a lot of dm control, etc). The functionality seems to align with Doug's sg/lsscsi utility chain as well. Granted, the new utility

Re: [PATCH] enclosure: add support for enclosure services

2008-02-13 Thread James Smart
James Bottomley wrote: I don't disagree with that, but the fact is that there isn't such a tool. It's also a fact that the enterprise is reasonably unhappy with the lack of an enclosure management infrastructure, since it's something they got on all the other unix systems. I don't disagree.

Re: [PATCH] enclosure: add support for enclosure services

2008-02-13 Thread James Smart
James Bottomley wrote: ... I wouldn't have bothered except that I could see ad-hoc in-kernel sysfs solutions beginning to appear. If this is true, and if no one quickly volunteers to do the utility, then I agree with what you are doing. -- james s - To unsubscribe from this list: send the

Re: [2.6 patch] make lpfc_disable_node() static

2008-02-14 Thread James Smart
Adrian Bunk wrote: This patch makes theneedlessly global lpfc_disable_node() static. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- ACK -- james s - To unsubscribe from this list: send the line unsubscribe linux-scsi in the body of a message to [EMAIL PROTECTED] More majordomo info at

[PATCH 00/21] lpfc 8.3.33: Update lpfc to revision 8.3.33

2012-08-03 Thread James Smart
against scsi.git, branch misc -- 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 at http://vger.kernel.org/majordomo-info.html

[PATCH 01/21] lpfc 8.3.33: When doing loopback testing, set the diag valid bit

2012-08-03 Thread James Smart
When doing loopback testing, set the diag valid bit Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_bsg.c |2 ++ lpfc_hw4.h |5 + 2 files changed, 7 insertions(+) diff -upNr a/drivers/scsi/lpfc/lpfc_bsg.c b/drivers/scsi/lpfc/lpfc_bsg.c --- a/drivers/scsi/lpfc

[PATCH 03/21] lpfc 8.3.33: Fix bug with rrq_pool not being destroyed during driver removal.

2012-08-03 Thread James Smart
Fix bug with rrq_pool not being destroyed during driver removal. Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_mem.c |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff -upNr a/drivers/scsi/lpfc/lpfc_mem.c b/drivers/scsi/lpfc/lpfc_mem.c --- a/drivers/scsi/lpfc

[PATCH 05/21] lpfc 8.3.33: Check data transfer amount on write commands

2012-08-03 Thread James Smart
Check data transfer amount on write commands 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/lpfc_scsi.c

[PATCH 06/21] lpfc 8.3.33: Fix scsi_eh escalation panic by checking the proper return status

2012-08-03 Thread James Smart
Fix scsi_eh escalation panic by checking the proper return status Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_scsi.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c --- a/drivers/scsi

[PATCH 08/21] lpfc 8.3.33: Add debugfs interface to display SLI queue information

2012-08-03 Thread James Smart
Add debugfs interface to display SLI queue information Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_debugfs.h |3 +++ lpfc_sli.c | 35 ++- lpfc_sli4.h| 29 + 3 files changed, 66 insertions(+), 1

[PATCH 09/21] lpfc 8.3.33: Convert to no SCSI host lock in queuecommand

2012-08-03 Thread James Smart
Convert to no SCSI host lock in queuecommand Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_scsi.c |9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c --- a/drivers/scsi/lpfc/lpfc_scsi.c

[PATCH 10/21] lpfc 8.3.33: Formally separate lpfc_sli_ring SLI-3 and SLI-4 variantions

2012-08-03 Thread James Smart
Formally separate lpfc_sli_ring SLI-3 and SLI-4 variantions Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_debugfs.c |8 +- lpfc_init.c|6 - lpfc_mbox.c| 25 --- lpfc_sli.c | 182 - lpfc_sli.h

[PATCH 11/21] lpfc 8.3.33: Misc changes to optimize critical path

2012-08-03 Thread James Smart
Misc changes to optimize critical path Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_scsi.c | 22 -- lpfc_sli.c | 21 + 2 files changed, 29 insertions(+), 14 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi

[PATCH 12/21] lpfc 8.3.33: Parallelize SLI-4 Q distribution

2012-08-03 Thread James Smart
Commonize SLI-3/4 Ring/Queue framework, to keep SLI-3 compatibility Parallelize SLI-4 Q distribution - to use multiple posting/completion queues Signed-off-by: James Smart james.sm...@emulex.com --- lpfc.h |2 +- lpfc_hw.h | 14 +++--- lpfc_init.c | 35

[PATCH 13/21] lpfc 8.3.33: Add Interrupts per second stats via debugfs

2012-08-03 Thread James Smart
Add Interrupts per second stats via debugfs Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_sli.c | 18 +- lpfc_sli.h |2 ++ 2 files changed, 19 insertions(+), 1 deletion(-) diff -upNr a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c

[PATCH 15/21] lpfc 8.3.33: Allow per-hba interrupt rate tuning

2012-08-03 Thread James Smart
Allow per-hba interrupt rate tuning Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_attr.c | 27 --- lpfc_hw4.h |8 +--- lpfc_init.c |2 +- lpfc_sli.c |3 ++- 4 files changed, 28 insertions(+), 12 deletions(-) diff -upNr a/drivers/scsi

[PATCH 16/21] lpfc 8.3.33: Change Naming convention for SLI4 Interrupt vector

2012-08-03 Thread James Smart
Change Naming convention for SLI4 Interrupt vector Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_init.c|6 +- lpfc_sli4.h|3 +++ lpfc_version.h |5 + 3 files changed, 13 insertions(+), 1 deletion(-) diff -upNr a/drivers/scsi/lpfc/lpfc_init.c b

[PATCH 18/21] lpfc 8.3.33: Add lpfc_fcp_look_ahead module parameter

2012-08-03 Thread James Smart
Add lpfc_fcp_look_ahead module parameter Signed-off-by: James Smart james.sm...@emulex.com --- lpfc.h |2 + lpfc_attr.c | 11 +++ lpfc_crtn.h |1 lpfc_init.c |3 ++ lpfc_sli.c | 88 +--- lpfc_sli4.h |1 6

[PATCH 19/21] lpfc 8.3.33: Fixed debugfs queInfo to include queue stats

2012-08-03 Thread James Smart
Fixed debugfs queInfo to include queue stats Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_debugfs.c | 420 +++-- 1 file changed, 261 insertions(+), 159 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_debugfs.c b/drivers

[PATCH 20/21] lpfc 8.3.33: Fixed incomplete list of SLI4 commands with extended timeout value

2012-08-03 Thread James Smart
Fixed incomplete list of SLI4 commands with extended second timeout value Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_hw.h |1 + lpfc_hw4.h |6 ++ lpfc_mbox.c | 11 ++- lpfc_sli.c |1 + 4 files changed, 18 insertions(+), 1 deletion(-) diff -upNr

[PATCH 21/21] lpfc 8.3.33: Update lpfc version for 8.3.33 driver release

2012-08-03 Thread James Smart
Update lpfc version for 8.3.33 driver release 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

[PATCH 02/21] lpfc 8.3.33: Enable attachment to OCe14000 adapters

2012-08-03 Thread James Smart
Enable attachment to OCe14000 adapters Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_hw.h |2 ++ lpfc_init.c |9 + 2 files changed, 11 insertions(+) diff -upNr a/drivers/scsi/lpfc/lpfc_hw.h b/drivers/scsi/lpfc/lpfc_hw.h --- a/drivers/scsi/lpfc/lpfc_hw.h

[PATCH 00/12] lpfc 8.3.34: Update lpfc to revision 8.3.34

2012-08-14 Thread James Smart
from pci dma pool - Update lpfc version for 8.3.34 driver release The patches were cut against scsi.git, branch misc, and with the prior 8.3.33 patche set applied. -- james s Signed-off-by: James Smart james.sm...@emulex.com -- To unsubscribe from this list: send the line unsubscribe linux

[PATCH 01/12] lpfc 8.3.34: Add LOGO support after ABTS compliance

2012-08-14 Thread James Smart
Make compliant with FC specs by sending LOGO after ABTS timeouts Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_crtn.h |2 lpfc_debugfs.c | 12 lpfc_disc.h | 10 ++-- lpfc_els.c | 137

[PATCH 02/12] lpfc 8.3.34: Add SLI-4 V1 Capacity and Resource Descriptor support

2012-08-14 Thread James Smart
Add SLI-4 V1 Capacity and Resource Descriptor support Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_hw4.h | 17 - lpfc_init.c | 25 +++-- 2 files changed, 31 insertions(+), 11 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_hw4.h b

[PATCH 03/12] lpfc 8.3.34: Fix number of IO channels to match CPUs

2012-08-14 Thread James Smart
Fix number of IO channels to match CPUs Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_init.c | 14 ++ 1 file changed, 14 insertions(+) diff -upNr a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c --- a/drivers/scsi/lpfc/lpfc_init.c 2012-08-11 12

[PATCH 04/12] lpfc 8.3.34: Fix parameter field in CQE to mask for LOCAL_REJECT status

2012-08-14 Thread James Smart
Fix parameter field in CQE to mask for LOCAL_REJECT status Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_bsg.c |6 +++--- lpfc_ct.c | 16 +++- lpfc_els.c | 17 +++-- lpfc_hw.h |1 + lpfc_hw4.h |2 +- lpfc_scsi.c |2 +- lpfc_sli.c

[PATCH 05/12] lpfc 8.3.34: Simplify BlockGuard lpfc_printf_vlog messages

2012-08-14 Thread James Smart
Simplify BlockGuard lpfc_printf_vlog messages Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_scsi.c | 58 ++ 1 file changed, 14 insertions(+), 44 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi

[PATCH 06/12] lpfc 8.3.34: Correct typecasts for snprintf messages

2012-08-14 Thread James Smart
Correct typecasts for snprintf messages Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_debugfs.c | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_debugfs.c b/drivers/scsi/lpfc/lpfc_debugfs.c --- a/drivers/scsi/lpfc

[PATCH 07/12] lpfc 8.3.34: Streamline fcp underrun message printing

2012-08-14 Thread James Smart
Streamline fcp underrun message printing Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_scsi.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c --- a/drivers/scsi/lpfc

[PATCH 08/12] lpfc 8.3.34: Add XRI to abort handler timeout log message

2012-08-14 Thread James Smart
Add XRI to abort handler timeout log message Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_scsi.c |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c --- a/drivers/scsi/lpfc/lpfc_scsi.c

[PATCH 09/12] lpfc 8.3.34: Adjust IO Channels to 1 when INTx

2012-08-14 Thread James Smart
Adjust IO Channels to 1 when INTx Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_init.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -upNr a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c --- a/drivers/scsi/lpfc/lpfc_init.c 2012-08-11 12:24

[PATCH 10/12] lpfc 8.3.34: Correct lock handling to eliminate reset escalation on I/O abort

2012-08-14 Thread James Smart
Correct lock handling to eliminate reset escalation on I/O abort Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_scsi.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c --- a/drivers

[PATCH 11/12] lpfc 8.3.34: Fixed leaking memory from pci dma pool

2012-08-14 Thread James Smart
Fixed leaking memory from pci dma pool Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_hbadisc.c | 25 - lpfc_mbox.c|2 +- 2 files changed, 17 insertions(+), 10 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc

[PATCH 12/12] lpfc 8.3.34: Update lpfc version for 8.3.34 driver release

2012-08-14 Thread James Smart
Update lpfc version for 8.3.34 driver release 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

Re: [PATCH] [SCSI] lpfc 8.3.32: use list_move_tail instead of list_del/list_add_tail

2012-09-10 Thread James Smart
Acked-by: James Smart james.sm...@emulex.com Thanks -- james s On 9/5/2012 2:49 AM, Wei Yongjun wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn Using list_move_tail() instead of list_del() + list_add_tail(). spatch with a semantic match is used to found this problem. (http

Re: [BUG] kzalloc overflow in lpfc driver on 6k core system

2014-12-06 Thread James Smart
Alex, Myself and several others here at Emulex maintain the code. The recommendations look fine. Feel free to post something if you beat us to the work. -- james s On 12/3/2014 11:05 AM, Alex Thorlton wrote: On Tue, Dec 02, 2014 at 10:39:40PM +, Elliott, Robert (Server Storage)

[PATCH] lpfc: correct device removal deadlock after link bounce

2014-12-30 Thread James Smart
, and eventually deadlocks if a device removal request is made. The patches were cut against Christoph's scsi-queue.git, branch drivers-for-3.18. The driver rev cut against is 10.4.8000.0 -- james s Signed-off-by: James Smart james.sm...@emulex.com Signed-off-by: Dick Kennedy dick.kenn

[PATCH 02/21] lpfc: Add Lancer Temperature Event support to the lpfc driver

2015-02-05 Thread James Smart
@@ lpfc_sli4_driver_resource_setup(struct lpfc_hba *phba) rc = lpfc_pci_function_reset(phba); if (unlikely(rc)) return -ENODEV; + phba-temp_sensor_support = 1; } /* Create the bootstrap mailbox command */ -- 1.7.11.7 Signed-off-by: James

[PATCH 01/21] lpfc: Fix the iteration count to match the 30 sec comment

2015-02-05 Thread James Smart
-sli4_hba.u.if_type2. STATUSregaddr, reg_data.word0)) { rc = -ENODEV; -- 1.7.11.7 Signed-off-by: James Smart james.sm...@emulex.com Signed-off-by: Dick Kennedy dick.kenn...@emulex.com -- To unsubscribe from this list: send the line

[PATCH 00/21] lpfc: Update lpfc version to driver version 10.5.0.0

2015-02-05 Thread James Smart
This patch set updates the lpfc driver to revision 10.5.0.0 The patches were cut against Christoph's scsi-queue.git, branch drivers-for-3.20. -- james s James Smart (21): Fix the iteration count to match the 30 sec comment Add Lancer Temperature Event support to the lpfc driver

[PATCH 08/21] lpfc: lpfc does not support option_rom_version sysfs attribute on newer adapters

2015-02-05 Thread James Smart
); } /** -- 1.7.11.7 Signed-off-by: James Smart james.sm...@emulex.com Signed-off-by: Dick Kennedy dick.kenn...@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 at http://vger.kernel.org/majordomo

[PATCH 03/21] lpfc: EnableBootCode from hbacmd fails on Lancer

2015-02-05 Thread James Smart
+#define COMN_OPCODE_GET_PROFILE_CONFIG 0xA4 #define COMN_OPCODE_READ_OBJECT0xAB #define COMN_OPCODE_WRITE_OBJECT 0xAC #define COMN_OPCODE_READ_OBJECT_LIST 0xAD -- 1.7.11.7 Signed-off-by: James Smart james.sm...@emulex.com Signed-off-by: Dick Kennedy dick.kenn

[PATCH 07/21] lpfc: Fix setting of EQ delay Multiplier

2015-02-05 Thread James Smart
*, struct lpfc_queue *, struct lpfc_queue *, uint32_t, uint32_t); int32_t lpfc_mq_create(struct lpfc_hba *, struct lpfc_queue *, -- 1.7.11.7 Signed-off-by: James Smart james.sm...@emulex.com Signed-off-by: Dick Kennedy dick.kenn...@emulex.com -- To unsubscribe from

[PATCH 05/21] lpfc: Linux lpfc driver doesn't re-establish the link after a cable pull on LPe12002

2015-02-05 Thread James Smart
, vport); + lpfc_issue_clear_la(phba, vport); if (!(vport-fc_flag FC_ABORT_DISCOVERY)) { vport-num_disc_nodes = 0; -- 1.7.11.7 Signed-off-by: James Smart james.sm...@emulex.com Signed-off-by: Dick Kennedy dick.kenn...@emulex.com

[PATCH 09/21] lpfc: Parse the new 20G, 25G and 40G link speeds in the lpfc driver

2015-02-05 Thread James Smart
LPFC_FC_LA_SPEED_16G: port_speed = 16000; break; default: -- 1.7.11.7 Signed-off-by: James Smart james.sm...@emulex.com Signed-off-by: Dick Kennedy dick.kenn...@emulex.com -- To unsubscribe from this list: send the line unsubscribe linux-scsi

[PATCH 04/21] lpfc: Fix to handle PLOGI when already logged in

2015-02-05 Thread James Smart
*/ -- 1.7.11.7 Signed-off-by: James Smart james.sm...@emulex.com Signed-off-by: Dick Kennedy dick.kenn...@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 at http://vger.kernel.org/majordomo-info.html

[PATCH 10/21] lpfc: Fix provide host name and OS name in RSNN-NN FC-GS command

2015-02-05 Thread James Smart
n; + n += snprintf(symbol + n, size - n, OS:%s, init_utsname()-sysname); + return n; } -- 1.7.11.7 Signed-off-by: James Smart james.sm...@emulex.com Signed-off-by: Dick Kennedy dick.kenn...@emulex.com -- To unsubscribe from this list: send the line unsubscribe linux-scsi

[PATCH 06/21] lpfc: Fix host reset escalation killing all IOs.

2015-02-05 Thread James Smart
, + .track_queue_depth = 1, +}; + struct scsi_host_template lpfc_template = { .module = THIS_MODULE, .name = LPFC_DRIVER_NAME, -- 1.7.11.7 Signed-off-by: James Smart james.sm...@emulex.com Signed-off-by: Dick Kennedy dick.kenn

[PATCH 11/21] lpfc: Fix FDMI Fabric support

2015-02-05 Thread James Smart
--- drivers/scsi/lpfc/lpfc.h | 3 + drivers/scsi/lpfc/lpfc_attr.c| 16 +- drivers/scsi/lpfc/lpfc_ct.c | 715 +-- drivers/scsi/lpfc/lpfc_els.c | 2 +- drivers/scsi/lpfc/lpfc_hbadisc.c | 6 +- drivers/scsi/lpfc/lpfc_hw.h | 206

[PATCH 13/21] lpfc: Initiator sends wrong BBCredit value for either FLOGI or FLOGI_ACC

2015-02-05 Thread James Smart
); lpfc_printf_vlog(vport, KERN_INFO, LOG_ELS, 3311 Rcv Flogi PS x%x new PS x%x -- 1.7.11.7 Signed-off-by: James Smart james.sm...@emulex.com Signed-off-by: Dick Kennedy dick.kenn...@emulex.com -- To unsubscribe from this list: send the line unsubscribe

[PATCH 12/21] lpfc: Fix null ndlp derefernce in target_reset_handler

2015-02-05 Thread James Smart
-by: James Smart james.sm...@emulex.com Signed-off-by: Dick Kennedy dick.kenn...@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 at http://vger.kernel.org/majordomo-info.html

[PATCH 14/21] lpfc: Fix premature release of rpi bit in bitmask

2015-02-05 Thread James Smart
, KERN_INFO, LOG_SLI, + 0001 rpi:%x max:%x lim:%x\n, + (int) rpi, max_rpi, rpi_limit); /* * Don't try to allocate more rpi header regions if the device limit -- 1.7.11.7 Signed-off-by: James Smart james.sm...@emulex.com Signed-off-by: Dick

[PATCH 16/21] lpfc: Fix internal loopback failure

2015-02-05 Thread James Smart
; + else + maxretry = 2; + if (cmdiocb-retry = 100) delay = 5000; else if (cmdiocb-retry = 32) -- 1.7.11.7 Signed-off-by: James Smart james.sm...@emulex.com Signed-off-by: Dick Kennedy dick.kenn...@emulex.com

[PATCH 18/21] lpfc: Fix crash in device reset handler.

2015-02-05 Thread James Smart
failure: rdata x%p\n, rdata); +0798 Device Reset rport failure: rdata x%p\n, +rdata); return FAILED; } pnode = rdata-pnode; -- 1.7.11.7 Signed-off-by: James Smart james.sm...@emulex.com Signed-off

[PATCH 19/21] lpfc: Fix for lun discovery issue with 8Gig adapter.

2015-02-05 Thread James Smart
* of the scsi_cmnd request_buffer -- 1.7.11.7 Signed-off-by: James Smart james.sm...@emulex.com Signed-off-by: Dick Kennedy dick.kenn...@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

[PATCH 15/21] lpfc: Implement support for wire-only DIF devices

2015-02-05 Thread James Smart
; } pdone_q = cmdiocbq-context_un.wait_queue; -- 1.7.11.7 Signed-off-by: James Smart james.sm...@emulex.com Signed-off-by: Dick Kennedy dick.kenn...@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

[PATCH 17/21] lpfc: application causes OS crash when running diagnostics

2015-02-05 Thread James Smart
-by: James Smart james.sm...@emulex.com Signed-off-by: Dick Kennedy dick.kenn...@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 at http://vger.kernel.org/majordomo-info.html

[PATCH 21/21] lpfc: Update version to 10.5.0.0

2015-02-05 Thread James Smart
*/ -- 1.7.11.7 Signed-off-by: James Smart james.sm...@emulex.com Signed-off-by: Dick Kennedy dick.kenn...@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 at http://vger.kernel.org/majordomo

[PATCH 20/21] lpfc: Update copyright to 2015

2015-02-05 Thread James Smart
reserved. +#define LPFC_COPYRIGHT Copyright(c) 2004-2015 Emulex. All rights reserved. -- 1.7.11.7 Signed-off-by: James Smart james.sm...@emulex.com Signed-off-by: Dick Kennedy dick.kenn...@emulex.com -- To unsubscribe from this list: send the line unsubscribe linux-scsi in the body of a message

Re: [PATCH 02/21] lpfc: Add Lancer Temperature Event support to the lpfc driver

2015-02-16 Thread James Smart
On 2/6/2015 7:16 AM, Tomas Henzl wrote: On 02/05/2015 08:23 PM, James Smart wrote: --- drivers/scsi/lpfc/lpfc_hw4.h | 1 + drivers/scsi/lpfc/lpfc_init.c | 179 +- 2 files changed, 125 insertions(+), 55 deletions(-) diff --git a/drivers/scsi/lpfc

Re: [PATCH 0/2] SCSI-lpfc: Deletion of an unnecessary check

2015-02-16 Thread James Smart
Markus, Suggestions noted. If not merged, I'll pull them into the next patch set. -- james Acked-By: James Smart james.sm...@emulex.com On 2/5/2015 5:25 PM, SF Markus Elfring wrote: From: Markus Elfring elfr...@users.sourceforge.net Date: Thu, 5 Feb 2015 23:17:52 +0100 Another update

Re: [PATCH 10/21] lpfc: Fix provide host name and OS name in RSNN-NN FC-GS command

2015-02-16 Thread James Smart
agree - nice nit. I'll add this to the list of things to merge in the next patch update. -- james On 2/6/2015 7:20 AM, Tomas Henzl wrote: On 02/05/2015 08:24 PM, James Smart wrote: --- drivers/scsi/lpfc/lpfc_ct.c | 23 --- 1 file changed, 20 insertions(+), 3 deletions

Re: [PATCH] scsi/lpfc: use remove handler as shutdown handler

2015-02-16 Thread James Smart
Looks good. Acked-By: James Smart james.sm...@emulex.com -- james On 1/26/2015 10:18 AM, Thadeu Lima de Souza Cascardo wrote: Without a shutdown handler, some cards behave very badly after a kexec. During probe, pending DMA writes will corrupt kernel memory, for example. Using the remove

Re: [PATCH 01/21] lpfc: Fix the iteration count to match the 30 sec comment

2015-03-09 Thread James Smart
Yes, I'll correct this. Trying to make Christoph happy by using git to format all the patches. -- james On 3/7/2015 11:44 AM, James Bottomley wrote: On Thu, 2015-02-05 at 14:23 -0500, James Smart wrote: --- Could you put the signoffs (and any changelog) above here, please. You seem

[PATCH] scsi_transport_fc: Add support for 25Gbit speed

2015-04-02 Thread James Smart
Add FC transport support for 25Gbit speed Signed-off-by: James Smart james.sm...@emulex.com --- drivers/scsi/scsi_transport_fc.c | 1 + include/scsi/scsi_transport_fc.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/scsi/scsi_transport_fc.c b/drivers/scsi/scsi_transport_fc.c index

Re: [PATCH v3 18/20] lpfc: Fix for lun discovery issue with saturn adapter.

2015-04-19 Thread James Smart
Thanks Sebastian. We will investigate it. -- james On 4/18/2015 6:57 PM, Sebastian Herbszt wrote: I wrote: James Smart wrote: Fix for lun discovery issue with saturn adapter. FCP_CMD payload was not always properly initialized on SLI-3 devices. Signed-off-by: Dick Kennedy dick.kenn

[PATCH 04/14] lpfc: Correct reference counting of rport

2015-04-20 Thread James Smart
Correct reference counting of rport Signed-off-by: Dick Kennedy dick.kenn...@emulex.com Signed-off-by: James Smart james.sm...@emulex.com --- drivers/scsi/lpfc/lpfc_disc.h| 4 +- drivers/scsi/lpfc/lpfc_els.c | 12 +++- drivers/scsi/lpfc/lpfc_hbadisc.c | 144

[PATCH 14/14] lpfc: Update driver version for upstream patch set 10.6.0.1.

2015-04-20 Thread James Smart
Update driver version for upstream patch set 10.6.0.1. Signed-off-by: Dick Kennedy dick.kenn...@emulex.com Signed-off-by: James Smart james.sm...@emulex.com --- drivers/scsi/lpfc/lpfc_version.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/lpfc/lpfc_version.h

Re: [Bug 96921] New: NULL pointer dereference in lpfc_bus_reset_handler+0xd4/0x240

2015-04-20 Thread James Smart
This is a rather old kernel, thus old driver. Lots of changes since the driver was put out in 3.11. I recommend pulling down the source kits for RHEL7 (3.10 kernel): http://www.emulex.com/downloads/emulex/drivers/linux/rhel-7-centos-7/drivers/ Under FC/FCoE driver and install script - Source

[PATCH 01/14] lpfc: The lpfc driver does not issue RFF_ID and RFT_ID in the correct sequence

2015-04-20 Thread James Smart
The lpfc driver does not issue RFF_ID and RFT_ID in the correct sequence Signed-off-by: Dick Kennedy dick.kenn...@emulex.com Signed-off-by: James Smart james.sm...@emulex.com --- drivers/scsi/lpfc/lpfc_hbadisc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi

[PATCH 12/14] lpfc: Fix incorrect log message reported for empty FCF record.

2015-04-20 Thread James Smart
Fix incorrect log message reported for empty FCF record. Signed-off-by: Dick Kennedy dick.kenn...@emulex.com Signed-off-by: James Smart james.sm...@emulex.com --- drivers/scsi/lpfc/lpfc_hbadisc.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/lpfc

[PATCH 06/14] lpfc: Add support for RDP ELS command.

2015-04-20 Thread James Smart
Add support for RDP ELS command. Signed-off-by: Dick Kennedy dick.kenn...@emulex.com Signed-off-by: James Smart james.sm...@emulex.com --- drivers/scsi/lpfc/lpfc.h | 1 + drivers/scsi/lpfc/lpfc_crtn.h | 2 + drivers/scsi/lpfc/lpfc_els.c | 415

[PATCH 07/14] lpfc: Correct reporting of vport state on fdisc command failure.

2015-04-20 Thread James Smart
Correct reporting of vport state on fdisc command failure. Signed-off-by: Dick Kennedy dick.kenn...@emulex.com Signed-off-by: James Smart james.sm...@emulex.com --- drivers/scsi/lpfc/lpfc_els.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/lpfc/lpfc_els.c b

[PATCH 11/14] lpfc: Correct loss of RSCNs during array takeaway/giveback testing.

2015-04-20 Thread James Smart
Correct loss of RSCNs during array takeaway/giveback testing. Signed-off-by: Dick Kennedy dick.kenn...@emulex.com Signed-off-by: James Smart james.sm...@emulex.com --- drivers/scsi/lpfc/lpfc_els.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/scsi/lpfc

[PATCH 05/14] lpfc: Fix ABORTs WQ selection in terminate_rport_io

2015-04-20 Thread James Smart
Fix ABORTs WQ selection in terminate_rport_io Signed-off-by: Dick Kennedy dick.kenn...@emulex.com Signed-off-by: James Smart james.sm...@emulex.com --- drivers/scsi/lpfc/lpfc_sli.c | 32 +--- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/drivers

[PATCH 02/14] lpfc: Correct loss of target discovery after cable swap.

2015-04-20 Thread James Smart
Correct loss of target discovery after cable swap. Fix incorrect reference counting Signed-off-by: Dick Kennedy dick.kenn...@emulex.com Signed-off-by: James Smart james.sm...@emulex.com --- drivers/scsi/lpfc/lpfc_hbadisc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 08/14] lpfc: Fix discovery issue when changing from Pt2Pt to Fabric.

2015-04-20 Thread James Smart
Fix discovery issue when changing from Pt2Pt to Fabric. Signed-off-by: Dick Kennedy dick.kenn...@emulex.com Signed-off-by: James Smart james.sm...@emulex.com --- drivers/scsi/lpfc/lpfc_hbadisc.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/lpfc

[PATCH 00/14] lpfc: Update lpfc driver to revision 10.6.0.1

2015-04-20 Thread James Smart
This patch set updates the lpfc driver to revision 10.6.0.1 The patches were cut against scsi-misc -- james s James Smart (14): The lpfc driver does not issue RFF_ID and RFT_ID in the correct sequence Correct loss of target discovery after cable swap. Add support for ELS LCB

[PATCH 03/14] lpfc: Add support for ELS LCB.

2015-04-20 Thread James Smart
Add support for ELS LCB. Also has a little whitespace fixing. Signed-off-by: Dick Kennedy dick.kenn...@emulex.com Signed-off-by: James Smart james.sm...@emulex.com --- drivers/scsi/lpfc/lpfc.h | 1 + drivers/scsi/lpfc/lpfc_els.c | 239 +- drivers

[PATCH 13/14] lpfc: Change buffer pool empty message to miscellaneous category

2015-04-20 Thread James Smart
Change buffer pool empty message to miscellaneous category Signed-off-by: Dick Kennedy dick.kenn...@emulex.com Signed-off-by: James Smart james.sm...@emulex.com --- drivers/scsi/lpfc/lpfc_scsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/lpfc/lpfc_scsi.c b

[PATCH 09/14] lpfc: Fix to remove IRQF_SHARED flag for MSI/MSI-X vectors.

2015-04-20 Thread James Smart
Fix to remove IRQF_SHARED flag for MSI/MSI-X vectors. Signed-off-by: Dick Kennedy dick.kenn...@emulex.com Signed-off-by: James Smart james.sm...@emulex.com --- drivers/scsi/lpfc/lpfc_init.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/scsi/lpfc

RE: [PATCH v3 10/20] lpfc: Fix provide host name and OS name in RSNN-NN FC-GS command

2015-04-21 Thread James Smart
, 2015 7:15 PM To: James Smart Cc: linux-scsi@vger.kernel.org; Sebastian Herbszt Subject: Re: [PATCH v3 10/20] lpfc: Fix provide host name and OS name in RSNN-NN FC-GS command James Smart wrote: Fixes those things that parse the result of what data is registered with the fabric. -- james Any

[PATCH 00/14] lpfc: Update lpfc driver to revision 10.6.0.1

2015-04-19 Thread James Smart
This patch set updates the lpfc driver to revision 10.6.0.1 The patches were cut against scsi-misc -- james s James Smart (14): The lpfc driver does not issue RFF_ID and RFT_ID in the correct sequence Correct loss of target discovery after cable swap. Add support for ELS LCB

Re: [PATCH 01/14] lpfc: The lpfc driver does not issue RFF_ID and RFT_ID in the correct sequence

2015-05-05 Thread James Smart
On 4/21/2015 7:23 AM, Sebastian Herbszt wrote: James Smart wrote: The lpfc driver does not issue RFF_ID and RFT_ID in the correct sequence Signed-off-by: Dick Kennedy dick.kenn...@emulex.com Signed-off-by: James Smart james.sm...@emulex.com --- drivers/scsi/lpfc/lpfc_hbadisc.c | 2 +- 1

Re: [PATCH v3 10/20] lpfc: Fix provide host name and OS name in RSNN-NN FC-GS command

2015-04-18 Thread James Smart
Fixes those things that parse the result of what data is registered with the fabric. -- james On 4/14/2015 6:02 PM, Sebastian Herbszt wrote: James Smart wrote: Fix provide host name and OS name in RSNN-NN FC-GS command Signed-off-by: Dick Kennedy dick.kenn...@emulex.com Signed-off

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