Skip to content

Commit a3da938

Browse files
Merge branch '6.16/scsi-queue' into 6.16/scsi-fixes
Pull in remaining fixes from queue branch. Signed-off-by: Martin K. Petersen <[email protected]>
2 parents 19272b3 + 9697ca0 commit a3da938

File tree

4 files changed

+15
-9
lines changed

4 files changed

+15
-9
lines changed

drivers/s390/scsi/zfcp_sysfs.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,8 @@ static ssize_t zfcp_sysfs_unit_add_store(struct device *dev,
449449
if (kstrtoull(buf, 0, (unsigned long long *) &fcp_lun))
450450
return -EINVAL;
451451

452+
flush_work(&port->rport_work);
453+
452454
retval = zfcp_unit_add(port, fcp_lun);
453455
if (retval)
454456
return retval;

drivers/scsi/mvsas/mv_defs.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ enum hw_register_bits {
215215

216216
/* MVS_Px_INT_STAT, MVS_Px_INT_MASK (per-phy events) */
217217
PHYEV_DEC_ERR = (1U << 24), /* Phy Decoding Error */
218-
PHYEV_DCDR_ERR = (1U << 23), /* STP Deocder Error */
218+
PHYEV_DCDR_ERR = (1U << 23), /* STP Decoder Error */
219219
PHYEV_CRC_ERR = (1U << 22), /* STP CRC Error */
220220
PHYEV_UNASSOC_FIS = (1U << 19), /* unassociated FIS rx'd */
221221
PHYEV_AN = (1U << 18), /* SATA async notification */
@@ -347,7 +347,7 @@ enum sas_cmd_port_registers {
347347
CMD_SATA_PORT_MEM_CTL0 = 0x158, /* SATA Port Memory Control 0 */
348348
CMD_SATA_PORT_MEM_CTL1 = 0x15c, /* SATA Port Memory Control 1 */
349349
CMD_XOR_MEM_BIST_CTL = 0x160, /* XOR Memory BIST Control */
350-
CMD_XOR_MEM_BIST_STAT = 0x164, /* XOR Memroy BIST Status */
350+
CMD_XOR_MEM_BIST_STAT = 0x164, /* XOR Memory BIST Status */
351351
CMD_DMA_MEM_BIST_CTL = 0x168, /* DMA Memory BIST Control */
352352
CMD_DMA_MEM_BIST_STAT = 0x16c, /* DMA Memory BIST Status */
353353
CMD_PORT_MEM_BIST_CTL = 0x170, /* Port Memory BIST Control */

drivers/scsi/scsi_transport_iscsi.c

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3499,7 +3499,7 @@ static int iscsi_new_flashnode(struct iscsi_transport *transport,
34993499
pr_err("%s could not find host no %u\n",
35003500
__func__, ev->u.new_flashnode.host_no);
35013501
err = -ENODEV;
3502-
goto put_host;
3502+
goto exit_new_fnode;
35033503
}
35043504

35053505
index = transport->new_flashnode(shost, data, len);
@@ -3509,7 +3509,6 @@ static int iscsi_new_flashnode(struct iscsi_transport *transport,
35093509
else
35103510
err = -EIO;
35113511

3512-
put_host:
35133512
scsi_host_put(shost);
35143513

35153514
exit_new_fnode:
@@ -3534,7 +3533,7 @@ static int iscsi_del_flashnode(struct iscsi_transport *transport,
35343533
pr_err("%s could not find host no %u\n",
35353534
__func__, ev->u.del_flashnode.host_no);
35363535
err = -ENODEV;
3537-
goto put_host;
3536+
goto exit_del_fnode;
35383537
}
35393538

35403539
idx = ev->u.del_flashnode.flashnode_idx;
@@ -3576,7 +3575,7 @@ static int iscsi_login_flashnode(struct iscsi_transport *transport,
35763575
pr_err("%s could not find host no %u\n",
35773576
__func__, ev->u.login_flashnode.host_no);
35783577
err = -ENODEV;
3579-
goto put_host;
3578+
goto exit_login_fnode;
35803579
}
35813580

35823581
idx = ev->u.login_flashnode.flashnode_idx;
@@ -3628,7 +3627,7 @@ static int iscsi_logout_flashnode(struct iscsi_transport *transport,
36283627
pr_err("%s could not find host no %u\n",
36293628
__func__, ev->u.logout_flashnode.host_no);
36303629
err = -ENODEV;
3631-
goto put_host;
3630+
goto exit_logout_fnode;
36323631
}
36333632

36343633
idx = ev->u.logout_flashnode.flashnode_idx;
@@ -3678,7 +3677,7 @@ static int iscsi_logout_flashnode_sid(struct iscsi_transport *transport,
36783677
pr_err("%s could not find host no %u\n",
36793678
__func__, ev->u.logout_flashnode.host_no);
36803679
err = -ENODEV;
3681-
goto put_host;
3680+
goto exit_logout_sid;
36823681
}
36833682

36843683
session = iscsi_session_lookup(ev->u.logout_flashnode_sid.sid);

drivers/ufs/core/ufshcd.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6623,9 +6623,14 @@ static void ufshcd_err_handler(struct work_struct *work)
66236623
up(&hba->host_sem);
66246624
return;
66256625
}
6626-
ufshcd_set_eh_in_progress(hba);
66276626
spin_unlock_irqrestore(hba->host->host_lock, flags);
6627+
66286628
ufshcd_err_handling_prepare(hba);
6629+
6630+
spin_lock_irqsave(hba->host->host_lock, flags);
6631+
ufshcd_set_eh_in_progress(hba);
6632+
spin_unlock_irqrestore(hba->host->host_lock, flags);
6633+
66296634
/* Complete requests that have door-bell cleared by h/w */
66306635
ufshcd_complete_requests(hba, false);
66316636
spin_lock_irqsave(hba->host->host_lock, flags);

0 commit comments

Comments
 (0)