mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
scsi: ufs: rpmb: Fix power-on UNIT ATTENTION retry
A merge conflict resolution dropped SCMD_FAILURE_ASCQ_ANY from the retry
added by commit a8a34238e5 ("scsi: ufs: rpmb: Retry power-on UNIT
ATTENTION on the RPMB WLUN"), so only 29h/00h is retried, not the other 29h
ASCQs.
Link: https://lore.kernel.org/linux-scsi/yq1jyo4onqe.fsf@mail.kernel.org/
Signed-off-by: Stanley Jhu <stanleyjhu@google.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Link: https://patch.msgid.link/20260929140806.2859367-1-stanleyjhu@google.com
Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>
This commit is contained in:
parent
6697e9f202
commit
2f4880c22e
|
|
@ -47,7 +47,8 @@ static int ufs_sec_submit(struct ufs_hba *hba, u16 spsp, void *buffer, size_t le
|
|||
{
|
||||
.sense_key = UNIT_ATTENTION,
|
||||
.sense_code =
|
||||
POWER_ON_RESET_OR_BUS_DEVICE_RESET_OCCURRED,
|
||||
scsi_sense_code(ASC_POWER_ON_RESET_OR_BUS_DEVICE_RESET_OCCURRED,
|
||||
SCMD_FAILURE_ASCQ_ANY),
|
||||
.allowed = UFS_RPMB_UA_RETRIES,
|
||||
.result = SAM_STAT_CHECK_CONDITION,
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user