Patch "[PATCH 121/135] lpfc: Fix DMA faults observed upon plugging loopback" has been added to the 4.4-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
[PATCH 121/135] lpfc: Fix DMA faults observed upon plugging loopback
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
0121-lpfc-Fix-DMA-faults-observed-upon-plugging-loopback-.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
cae45652901c6b14f4307cc02147b44b6b061d2cMon Sep 17 00:00:00 2001
From: James Smart <[email protected]>
Date: Fri, 3 Jun 2016 07:14:08 -0600
Subject: [PATCH 121/135] lpfc: Fix DMA faults observed upon plugging loopback
connector
[ Upstream commit ae09c765109293b600ba9169aa3d632e1ac1a843 ]
Driver didn't program the REG_VFI mailbox correctly, giving the adapter bad addresses.
--- drivers/scsi/lpfc/lpfc_mbox.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)
drivers/scsi/lpfc/lpfc_mbox.c +6 -4
@@ -2145,10 +2145,12 @@ lpfc_reg_vfi(struct lpfcMboxq *mbox, str reg_vfi->wwn[1 ] =cpu_to_le32 (reg_vfi->wwn[1 ]); reg_vfi->e_d_tov = phba->fc_edtov; reg_vfi->r_a_tov = phba->fc_ratov; - reg_vfi->bde.addrHigh =putPaddrHigh (phys); - reg_vfi->bde.addrLow =putPaddrLow (phys); - reg_vfi->bde.tus.f.bdeSize =sizeof (vport->fc_sparam); - reg_vfi->bde.tus.f.bdeFlags =BUFF_TYPE_BDE_64 ; +if (phys) { + reg_vfi->bde.addrHigh =putPaddrHigh (phys); + reg_vfi->bde.addrLow =putPaddrLow (phys); + reg_vfi->bde.tus.f.bdeSize =sizeof (vport->fc_sparam); + reg_vfi->bde.tus.f.bdeFlags =BUFF_TYPE_BDE_64 ; + }bf_set (lpfc_reg_vfi_nport_id, reg_vfi, vport->fc_myDID);/* Only FC supports upd bit */
Patches currently in stable-queue which might be from [email protected] are
queue-4.4/0121-lpfc-Fix-DMA-faults-observed-upon-plugging-loopback-.patch