diff options
author | 2024-10-01 17:19:17 +0800 | |
---|---|---|
committer | 2024-10-15 22:07:32 -0400 | |
commit | 8fa075804cb3b00960dd5c06554308175c834530 (patch) | |
tree | f91b597dc30a141f30fa6fe78c947ff6740f6c25 /scripts/module-common.c | |
parent | scsi: ufs: core: Fix the issue of ICU failure (diff) | |
download | wireguard-linux-8fa075804cb3b00960dd5c06554308175c834530.tar.xz wireguard-linux-8fa075804cb3b00960dd5c06554308175c834530.zip |
scsi: ufs: core: Requeue aborted request
After the SQ cleanup fix, the CQ will receive a response with the
corresponding tag marked as OCS: ABORTED. To align with the behavior of
Legacy SDB mode, the handling of OCS: ABORTED has been changed to match
that of OCS_INVALID_COMMAND_STATUS (SDB), with both returning a SCSI
result of DID_REQUEUE.
Furthermore, the workaround implemented before the SQ cleanup fix can be
removed.
Fixes: ab248643d3d6 ("scsi: ufs: core: Add error handling for MCQ mode")
Cc: stable@vger.kernel.org
Signed-off-by: Peter Wang <peter.wang@mediatek.com>
Link: https://lore.kernel.org/r/20241001091917.6917-3-peter.wang@mediatek.com
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/module-common.c')
0 files changed, 0 insertions, 0 deletions