: James Smart
Reviewed-by: Johannes Thumshirn
---
drivers/scsi/lpfc/lpfc_attr.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c
index f02269b46049..65886646a16f 100644
--- a/drivers/scsi/lpfc/lpfc_attr.c
+++ b
, extend RDP support with the
additional fields and send a multi-frame sequence.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
Reviewed-by: Johannes Thumshirn
---
drivers/scsi/lpfc/lpfc_els.c | 12
1 file changed, 12 deletions(-)
diff --git a/drivers/scsi/lpfc/lpfc_els.c b
ff-by: James Smart
---
v2: reduce scope to only submit routines. aborts necessary for cleanup.
this was a bug found after submit.
drivers/scsi/lpfc/lpfc_nvme.c | 8
drivers/scsi/lpfc/lpfc_nvmet.c | 11 +++
2 files changed, 19 insertions(+)
diff --git a/drivers/scsi/lpfc/lpfc_n
Always set ctxp->state to LPFC_NVMET_STE_ABORT if ABORT op gets called
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
Reviewed-by: Johannes Thumshirn
---
drivers/scsi/lpfc/lpfc_nvmet.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/scsi/lpfc/lpfc_nvmet.c b/drivers/s
would be a significant rework. Add this item to the
list to be refactored in the merge with efct.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_nvme.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/lpfc/lpfc_nvme.c b/dr
Dick Kennedy
Signed-off-by: James Smart
Reviewed-by: Johannes Thumshirn
---
drivers/scsi/lpfc/lpfc_vport.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/scsi/lpfc/lpfc_vport.c b/drivers/scsi/lpfc/lpfc_vport.c
index c714482bf4c5..c9d33b1268cb 100644
--- a/drivers/scsi
from ABTS-LS.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
Reviewed-by: Johannes Thumshirn
---
drivers/scsi/lpfc/lpfc_nvme.c | 59 +--
1 file changed, 34 insertions(+), 25 deletions(-)
diff --git a/drivers/scsi/lpfc/lpfc_nvme.c b/drivers/scsi
moves
all the real work into the workq element.
As nvmet_fc upcalls are no longer in ISR context, don't set the
feature flags
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
Reviewed-by: Johannes Thumshirn
---
drivers/scsi/lpfc/lpfc.h | 3 +
drivers/scsi/lpfc/lpfc_init.c
From: Dick Kennedy
Change version to 11.4.0.4
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
Reviewed-by: Johannes Thumshirn
---
drivers/scsi/lpfc/lpfc_version.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/lpfc/lpfc_version.h b/drivers/scsi/lpfc
length.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
Reviewed-by: Johannes Thumshirn
---
drivers/scsi/lpfc/lpfc_hw4.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/lpfc/lpfc_hw4.h b/drivers/scsi/lpfc/lpfc_hw4.h
index 1db0a38683f4..2b145966c73f
lpfc_nvme_register_rport, rework the "rebind" case
to break the nvme rport<->ndlp association when the ndlp
already has an nrport. Then rebind the rport to the correct
ndlp data and backpointers.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
Reviewed-by: Johannes Thumshirn
---
d
the
admin very concerned.
Convert the messages to Info.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
Reviewed-by: Johannes Thumshirn
---
drivers/scsi/lpfc/lpfc_nvme.c | 6 +++---
drivers/scsi/lpfc/lpfc_nvmet.c | 16 ++--
2 files changed, 13 insertions(+), 9 deletions
From: Dick Kennedy
Warning messages when NVME_TARGET_FC not defined on ppc builds
The lpfc_nvmet_replenish_context() function is only meaningful when
NVME target mode enabled. Surround the function body with ifdefs
for target mode enablement.
Signed-off-by: Dick Kennedy
Signed-off-by: James
-by: James Smart
---
v2: original v1 hot plug patch split into 2 patches
drivers/scsi/lpfc/lpfc_sli.c | 17 ++---
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c
index 8b119f87b51d..b8513c1adcef 100644
--- a
From: Dick Kennedy
The driver is encountering oops in lpfc_sli_calc_ring.
The driver is setting hba_wqidx for FCP based on the
policy in use for NVME. The two may not be the same.
Change to set the wqidx based on the FCP policy.
Cc: # 4.12+
Signed-off-by: Dick Kennedy
Signed-off-by: James
From: Dick Kennedy
Local Reject/Invalid RPI errors seen during discovery.
Temporary RPI cleanup was occurring regardless of SLI rev. It's
only necessary on SLI-4.
Adjust the test for whether cleanup is necessary.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
Reviewed-by: Joh
ccurs where we enter the routine as the teardown is happening in a
separate thread, validate the parameters before starting the io.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
Reviewed-by: Johannes Thumshirn
---
drivers/scsi/lpfc/lpfc_nvme.c | 10 ++
1 file changed, 10 inser
stopped the timers properly.
Cc: # 4.12+
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
v2: original v1 hot plug patch split into 2 patches
drivers/scsi/lpfc/lpfc_init.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c
irmware updates
lpfc: Ensure io aborts interlocked with the target.
lpfc: Extend RDP support
lpfc: Fix oops of nvme host during driver unload.
lpfc: change version to 11.4.0.4
James Smart (3):
lpfc: Reduce log spew on controller reconnects
lpfc: Set missing abort context
lpfc: corre
receive an ELS and process it. When it tries to use the ndlp pointer
will be NULL
Change the order of the pci_remove_one vs disable interrupts so that
interrupts are disabled before the ndlp's are freed.
Cc: # 4.12+
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
Reviewed-by: Joh
additional sanity checks when deciding whether to accept an
IO sample or not.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_nvme.c | 34 ++-
drivers/scsi/lpfc/lpfc_nvmet.c | 99 --
drivers/scsi/lpfc/lpfc_sli.c
On 9/20/2017 11:15 PM, Thomas Meyer wrote:
Use *_pool_zalloc rather than *_pool_alloc followed by memset with 0.
Found by coccinelle spatch "api/alloc/pool_zalloc-simple.cocci"
Signed-off-by: Thomas Meyer
---
Looks good. Thanks.
Signed-off-by: James Smart
from ABTS-LS.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_nvme.c | 59 +--
1 file changed, 34 insertions(+), 25 deletions(-)
diff --git a/drivers/scsi/lpfc/lpfc_nvme.c b/drivers/scsi/lpfc/lpfc_nvme.c
index 02ba06f364c4
additional sanity checks when deciding whether to accept an
IO sample or not.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_nvme.c | 34 ++-
drivers/scsi/lpfc/lpfc_nvmet.c | 99 --
drivers/scsi/lpfc/lpfc_sli.c
Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_vport.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/scsi/lpfc/lpfc_vport.c b/drivers/scsi/lpfc/lpfc_vport.c
index c714482bf4c5..c9d33b1268cb 100644
--- a/drivers/scsi/lpfc/lpfc_vport.c
+++ b/drivers/scsi
ff-by: James Smart
---
drivers/scsi/lpfc/lpfc_nvme.c | 14 ++
drivers/scsi/lpfc/lpfc_nvmet.c | 11 +++
2 files changed, 25 insertions(+)
diff --git a/drivers/scsi/lpfc/lpfc_nvme.c b/drivers/scsi/lpfc/lpfc_nvme.c
index e3642c1890ea..e01e67856458 100644
--- a/drivers/scsi
, extend RDP support with the
additional fields and send a multi-frame sequence.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_els.c | 12
1 file changed, 12 deletions(-)
diff --git a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c
index
From: Dick Kennedy
Change version to 11.4.0.4
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_version.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/lpfc/lpfc_version.h b/drivers/scsi/lpfc/lpfc_version.h
index 6aa192b3e4bf
Always set ctxp->state to LPFC_NVMET_STE_ABORT if ABORT op gets called
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_nvmet.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/scsi/lpfc/lpfc_nvmet.c b/drivers/scsi/lpfc/lpfc_nvmet.c
in
-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_nvmet.c | 15 +++
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/drivers/scsi/lpfc/lpfc_nvmet.c b/drivers/scsi/lpfc/lpfc_nvmet.c
index ee88343f3e8c..55badeace591 100644
--- a/drivers/scsi/lpfc/lpfc_nvmet.c
+++ b/drivers
length.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_hw4.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/lpfc/lpfc_hw4.h b/drivers/scsi/lpfc/lpfc_hw4.h
index 1db0a38683f4..2b145966c73f 100644
--- a/drivers/scsi/lpfc
the
admin very concerned.
Convert the messages to Info.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_nvme.c | 6 +++---
drivers/scsi/lpfc/lpfc_nvmet.c | 17 +++--
2 files changed, 14 insertions(+), 9 deletions(-)
---
drivers/scsi/lpfc
: James Smart
---
drivers/scsi/lpfc/lpfc_attr.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c
index dc6519b2c53a..4dcd129ca901 100644
--- a/drivers/scsi/lpfc/lpfc_attr.c
+++ b/drivers/scsi/lpfc/lpfc_attr.c
moves
all the real work into the workq element.
As nvmet_fc upcalls are no longer in ISR context, don't set the
feature flags
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc.h | 3 +
drivers/scsi/lpfc/lpfc_init.c | 15 +
drivers/scsi
ccurs where we enter the routine as the teardown is happening in a
separate thread, validate the parameters before starting the io.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_nvme.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/scsi
This patch set provides a number of bug fixes and additions to
the driver.
The patches were cut against the Martin's 4.14/scsi-queue tree.
There are no outside dependencies.
lpfc: Fix crash in pci hot plug situations
lpfc: Fix crash receiving ELS while detaching driver
lpfc: Fix lpfc nvme
management code
The sli4 remove_one handler is not stoping the timers as it starts to
remove the port so that it can be swapped.
Fix: Stop the timers early in the routine.
Note: Fix in SLI-4 only. SLI-3 already stopped the timers properly.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
lpfc_nvme_register_rport, rework the "rebind" case
to break the nvme rport<->ndlp association when the ndlp
already has an nrport. Then rebind the rport to the correct
ndlp data and backpointers.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/
receive an ELS and process it. When it tries to use the ndlp pointer
will be NULL
Change the order of the pci_remove_one vs disable interrupts so that
interrupts are disabled before the ndlp's are freed.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_a
From: Dick Kennedy
The driver is encountering oops in lpfc_sli_calc_ring.
The driver is setting hba_wqidx for FCP based on the
policy in use for NVME. The two may not be the same.
Change to set the wqidx based on the FCP policy.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
From: Dick Kennedy
Local Reject/Invalid RPI errors seen during discovery.
Temporary RPI cleanup was occurring regardless of SLI rev. It's
only necessary on SLI-4.
Adjust the test for whether cleanup is necessary.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi
From: Dick Kennedy
Warning messages when NVME_TARGET_FC not defined on ppc builds
The lpfc_nvmet_replenish_context() function is only meaningful when
NVME target mode enabled. Surround the function body with ifdefs
for target mode enablement.
Signed-off-by: Dick Kennedy
Signed-off-by: James
On 9/14/2017 6:19 PM, Martin K. Petersen wrote:
James/Dick,
Please review!
It seemed to be changing so I was waiting for the final posting...
-- james
ng
Yep. thank you
Signed-off-by: James Smart
,
then I'll submit that as a proper patch with your Ack.
Signed-off-by: Arnd Bergmann
--- a/drivers/scsi/lpfc/lpfc_debugfs.h
I'm ok with either solution. I prefer less change but this is a trivial
thing.
Signed-off-by: James Smart
-- james
ween the two so assumes eq may not a have a
value.
I believe, simply initializing with a NULL will solve the issue.
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_debugfs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/lpfc/lpfc_debugfs.h b/drivers/s
From: Dick Kennedy
Update driver version to 11.4.0.3
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
Reviewed-by: Johannes Thumshirn
---
drivers/scsi/lpfc/lpfc_version.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/lpfc/lpfc_version.h b/drivers
Add Buffer to buffer credit recovery support to the driver.
This is a negotiated feature with the peer that allows for both
sides to detect dropped RRDY's and FC Frames and recover credit.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
Reviewed-by: Johannes Thumshirn
---
drivers
From: Dick Kennedy
Transitioned some informational discovery messages to now always
be displayed when log_verbose is set.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
Reviewed-by: Johannes Thumshirn
---
drivers/scsi/lpfc/lpfc_ct.c | 4 ++--
1 file changed, 2 insertions(+), 2
: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_sli.c | 31 +++
drivers/scsi/lpfc/lpfc_sli4.h | 1 +
2 files changed, 20 insertions(+), 12 deletions(-)
diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c
index 6569fffb8b71
o WQE state. This allows lpfc_nvme_fcp_io_submit()
routine to just return whatever -E value was returned from other
routines.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
Reviewed-by: Johannes Thumshirn
---
v3:
slight reword of patch description per review
---
drivers/scsi/lpfc/lpfc_n
Change hw queue binding messages to info - not error.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
Reviewed-by: Johannes Thumshirn
---
drivers/scsi/lpfc/lpfc_nvme.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/lpfc/lpfc_nvme.c b/drivers/scsi/lpfc
by recreating the localport in the adapter reset recovery
routine.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
v3:
rework indentation per review comment
---
drivers/scsi/lpfc/lpfc_init.c | 14 +-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/drivers
From: Maurizio Lombardi
cc1: warnings being treated as errors
drivers/scsi/lpfc/lpfc_init.c: In function 'lpfc_get_wwpn':
drivers/scsi/lpfc/lpfc_init.c:3253: error: integer constant is too large for
'long' type
Signed-off-by: Maurizio Lombardi
Signed-off-by: James Smart
R
rport to sneak in as it was considered a separate
device.
This patch adds the fixes to Swap the nrport in each ndlp and take
care of the reference counts on the ndlps similar to FCP rports.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
Reviewed-by: Johannes Thumshirn
---
v3:
revise co
e can be allocated. if the condition reoccurs, it starts
looking at a different cpu.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
--
v3:
remove unnecessary typecast per review
use list_splict_init per review
---
drivers/scsi/lpfc/lpfc_attr.c| 11 +-
drivers/scsi/lpfc/lpfc_c
Signed-off-by: James Smart
Reviewed-by: Johannes Thumshirn
---
drivers/scsi/lpfc/lpfc_nvmet.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/lpfc/lpfc_nvmet.c b/drivers/scsi/lpfc/lpfc_nvmet.c
index 41abdef27909..ce871de70bf1 100644
--- a/drivers/scsi/lpfc
the sgl
lists - causing multiple 60s mbx timeouts.
Fix by preserving all SGL lists over the fc port reset.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
Reviewed-by: Johannes Thumshirn
---
drivers/scsi/lpfc/lpfc_nvme.c | 11 +--
1 file changed, 9 insertions(+), 2 deletions
assumption that the target always supports
FC-NVME thus a PRLI is sent. It's ok for the target to reject it.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
Reviewed-by: Johannes Thumshirn
---
drivers/scsi/lpfc/lpfc_els.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/dr
nnedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_els.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c
index 6de470e158ef..8d8fbfab0c9f 100644
--- a/drivers/scsi/lpfc/lpfc_els.c
+++ b/drivers/scsi/lpfc/lpfc_els.c
@@ -8
recovery as well as strengthening the
initialization of the bufferlist.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
Reviewed-by: Johannes Thumshirn
---
drivers/scsi/lpfc/lpfc_init.c | 16
1 file changed, 16 insertions(+)
diff --git a/drivers/scsi/lpfc/lpfc_init.c b
-by: James Smart
---
drivers/scsi/lpfc/lpfc_nvme.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/scsi/lpfc/lpfc_nvme.c b/drivers/scsi/lpfc/lpfc_nvme.c
index c18db8707fed..ce8d6bbf8148 100644
--- a/drivers/scsi/lpfc/lpfc_nvme.c
+++ b/drivers/scsi/lpfc/lpfc_nvme.c
@@ -2296,6 +2296,9
e REGLOGIN mailbox command.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
Reviewed-by: Johannes Thumshirn
---
v3:
revise if test for better indentation per review
removed unnecessary typecast
---
drivers/scsi/lpfc/lpfc_els.c | 20 +++-
1 file changed, 19 insertions(+),
e protocol PRLI's are sent simultaneously. However, driver
will now only state transition after both PRLI's are complete. New
flags were added to aid tracking the responses from the different PRLI's.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
v3:
small change to if te
a LOGO is outstanding, it does not
issue a PLOGI to the target upon link up
Correct by placing the ndlp in UNUSED state When devloss happens in
LOGO_ISSUE state.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
Reviewed-by: Johannes Thumshirn
---
drivers/scsi/lpfc/lpfc_nportdisc.c | 13
essed in IRQ
lpfc: Fix MRQ > 1 context list handling
lpfc: Fix relative offset error on large nvmet target ios
lpfc: Fix nvme target failure after 2nd adapter reset
lpfc: Fix bad sgl reposting after 2nd adapter reset
lpfc: lpfc version bump 11.4.0.3
James Smart (2):
lpfc: remove con
checking the topology during discovery. If it is loop,
set the NLP FC4 type to FCP.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
Reviewed-by: Johannes Thumshirn
---
drivers/scsi/lpfc/lpfc_nportdisc.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/scsi/lpfc
), 1 deletion(-)
looks good. Thanks
Signed-off-by: James Smart
-- james
issue was detected by Coverity and it was tested by compilation only.
Notice that this code has been there since 2011.
drivers/scsi/lpfc/lpfc_bsg.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
looks good. Thanks
Signed-off-by: James Smart
-- james
On 8/7/2017 1:43 AM, Johannes Thumshirn wrote:
On Fri, Aug 04, 2017 at 05:47:23PM -0700, James Smart wrote:
From: Dick Kennedy
Various oops being seen on being in the ISR too long and cpu
lockups, when under heavy load.
The amount of work being posted off of completion queues kept
the ISR
On 8/7/2017 1:00 AM, Johannes Thumshirn wrote:
On Fri, Aug 04, 2017 at 05:47:15PM -0700, James Smart wrote:
From: Dick Kennedy
lpfc oops when it discovers a NVME target but is configured for SCSI
only operation. Oops is in lpfc_nvme_register_port+0x33/0x300.
Why does it even call
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_nvmet.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/lpfc/lpfc_nvmet.c b/drivers/scsi/lpfc/lpfc_nvmet.c
index cd6c93a17760..40fa5dd72bfa 100644
--- a/drivers/scsi/lpfc/lpfc_nvmet.c
+++ b/drivers/scsi/lpfc
Change hw queue binding messages to info - not error.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_nvme.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/lpfc/lpfc_nvme.c b/drivers/scsi/lpfc/lpfc_nvme.c
index 8e7cdbd5d7d3
: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_sli.c | 31 +++
drivers/scsi/lpfc/lpfc_sli4.h | 1 +
2 files changed, 20 insertions(+), 12 deletions(-)
diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c
index d68afec00f57
the sgl
lists - causing multiple 60s mbx timeouts.
Fix by preserving all SGL lists over the fc port reset.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_nvme.c | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/lpfc
e can be allocated. if the condition reoccurs, it starts
looking at a different cpu.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_attr.c| 11 +-
drivers/scsi/lpfc/lpfc_crtn.h| 5 +-
drivers/scsi/lpfc/lpfc_debugfs.c | 11 +-
drivers/scsi/lpfc/lpfc_i
recovery as well as strengthening the
initialization of the bufferlist.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_init.c | 16
1 file changed, 16 insertions(+)
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c
assumption that the target always supports
FC-NVME thus a PRLI is sent. It's ok for the target to reject it.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_els.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/scsi/lpfc/lpfc_els.c b/dr
by recreating the localport in the adapter reset recovery
routine.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_init.c | 18 +-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc
nnedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_els.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c
index 9a8808abe61f..f97d578ea6bd 100644
--- a/drivers/scsi/lpfc/lpfc_els.c
+++ b/drivers/scsi/lpfc/lpfc_els.c
@@ -8
Add Buffer to buffer credit recovery support to the driver.
This is a negotiated feature with the peer that allows for both
sides to detect dropped RRDY's and FC Frames and recover credit.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc.h
From: Maurizio Lombardi
cc1: warnings being treated as errors
drivers/scsi/lpfc/lpfc_init.c: In function 'lpfc_get_wwpn':
drivers/scsi/lpfc/lpfc_init.c:3253: error: integer constant is too large for
'long' type
Signed-off-by: Maurizio Lombardi
Signed-off-by: James Smart
From: Dick Kennedy
Update driver version to 11.4.0.3
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_version.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/lpfc/lpfc_version.h b/drivers/scsi/lpfc/lpfc_version.h
index
e protocol PRLI's are sent simultaneously. However, driver
will now only state transition after both PRLI's are complete. New
flags were added to aid tracking the responses from the different PRLI's.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_di
rport to sneak in as it was considered a separate
device.
This patch adds the fixes to Swap the nrport in each ndlp and take
care of the reference counts on the ndlps similar to FCP rports.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_els.c
checking the topology during discovery. If it is loop,
set the NLP FC4 type to FCP.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_nportdisc.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/scsi/lpfc/lpfc_nportdisc.c
b/drivers/scsi/lpfc
a LOGO is outstanding, it does not
issue a PLOGI to the target upon link up
Correct by placing the ndlp in UNUSED state When devloss happens in
LOGO_ISSUE state.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_nportdisc.c | 13 -
1 file changed, 8
From: Dick Kennedy
Transitioned some informational discovery messages to now always
be displayed when log_verbose is set.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_ct.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers
ubmit()
routine to just return whatever -E value was returned from other
routines.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_nvme.c | 9 -
drivers/scsi/lpfc/lpfc_sli.c | 23 ++-
2 files changed, 18 insertions(+), 14 deletions(-)
diff
e REGLOGIN mailbox command.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_els.c | 26 +-
1 file changed, 25 insertions(+), 1 deletion(-)
diff --git a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c
index 6d1d6f691df4..9e9aa8bb7
-by: James Smart
---
drivers/scsi/lpfc/lpfc_nvme.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/scsi/lpfc/lpfc_nvme.c b/drivers/scsi/lpfc/lpfc_nvme.c
index 0a0a1b92d01d..2f50df6a3dca 100644
--- a/drivers/scsi/lpfc/lpfc_nvme.c
+++ b/drivers/scsi/lpfc/lpfc_nvme.c
@@ -2296,6 +2296,9
Fix bad sgl reposting after 2nd adapter reset
lpfc: lpfc version bump 11.4.0.3
James Smart (2):
lpfc: remove console log clutter
lpfc: Add Buffer to Buffer credit recovery support
Maurizio Lombardi (1):
scsi: lpfc: fix "integer constant too large" error on 32bit archs
driver
On 8/3/2017 3:43 AM, Nikola Pajkovsky wrote:
James Smart writes:
From: Dick Kennedy
Null pointer dereference in lpfc_sli4_fof_intr_handler
The driver does not set up cq->assoc_qp for sli4_hba->oas_cq
Initialize cq->assoc_qp before accessing it
Signed-off-by: Dick Kennedy
Sign
lue must be
returned to the LLDD to signify to hold off on recycling the cmd
iu buffer. And later, when a job struct is allocated and the
buffer copied, a new LLDD callback is introduced to notify the
LLDD and allow it to recycle it's command iu buffer.
Signed-off-by: James Smart
---
V2
patch adds support for the new nvmet_fc transport defer_rcv
callback and recognition of the new error code when passing commands
to the transport.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
This patch is intended to enter the kernel through the nvme block
tree which pulls in the
y an -EOVERFLOW status code return from
nvmet_fc_rcv_fcp_req().
v2:
respond to comments from Johannes.
James Smart (2):
nvmet_fc: add defer_req callback for deferment of cmd buffer return
lpfc: support nvmet_fc defer_rcv callback
drivers/nvme/target/fc.
.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_debugfs.c | 20 +-
drivers/scsi/lpfc/lpfc_debugfs.h | 11 +-
drivers/scsi/lpfc/lpfc_hw4.h | 85 -
drivers/scsi/lpfc/lpfc_init.c| 152 +--
drivers/scsi/lpfc/lpfc_nvme.c| 4 +-
drivers
e can be allocated. if the condition reoccurs, it starts
looking at a different cpu.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_attr.c| 11 +-
drivers/scsi/lpfc/lpfc_crtn.h| 5 +-
drivers/scsi/lpfc/lpfc_debugfs.c | 11 +-
drivers/scsi/lpfc/lpfc_i
ubmit()
routine to just return whatever -E value was returned from other
routines.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_nvme.c | 9 -
drivers/scsi/lpfc/lpfc_sli.c | 23 ++-
2 files changed, 18 insertions(+), 14 deletions(-)
diff
e REGLOGIN mailbox command.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_els.c | 26 +-
1 file changed, 25 insertions(+), 1 deletion(-)
diff --git a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c
index 6d1d6f691df4..9e9aa8bb7
701 - 800 of 1847 matches
Mail list logo