Skip to content

fix abort defect

[email protected] linux-mediatek linux-scsi stable 10 versions – Applied

Status from this message: Applied to 6.12/scsi-fixes, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v10 Latest2 patches 10 repliesApplied
  2. v93 patches 10 repliesSuperseded
  3. v83 patches 6 repliesSuperseded
Earlier versions · 7
VersionPostedPatchesRepliesStatus
v74 patches2 repliesSuperseded
v62 patches4 repliesSuperseded
v52 patches0 repliesSuperseded
v42 patches16 repliesSuperseded
v32 patches4 repliesSuperseded
v22 patches7 repliesSuperseded
v12 patches1 replySuperseded

Changes in v10 from the cover letter

- Requeue OCS: ABORTED request in MCQ mode.

Patches in v10 Applied

#Subject and filesSizeRepliesApplied
1/2ufs: core: fix the issue of ICU failuredrivers/ufs/core/ufs-mcq.c+8 -70 replies
2/2ufs: core: requeue aborted requestdrivers/ufs/core/ufshcd.c+4 -169 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchBao D. NguyenBart Van Assche
1/2R-b R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v10 thread

Cover letter [PATCH v10 0/2] fix abort defect

From: Peter Wang <[email protected]>

V10:
- Requeue OCS: ABORTED request in MCQ mode.

V9:
- Revise the OCS content printed.

V8:
- Remove the abort variable to simplify the abort process.
- Correct error handler successfully aborts release flow.
- Ingore MCQ OCS: ABORTED.

V7:
- Use a variable instead of a flag.
- Add a check for MCQ mode when setting this variable to UFS_ERR_HANDLER.
- Print OCS information for OCS_ABORTED and OCS_INVALID_COMMAND_STATUS.
- Add a MediaTek quirk for handling OCS_ABORTED in SDB mode.
- Skip notifying SCSI from ISR during SCSI abort (ufshcd_abort()).

V6:
- Add err handler check before set flag true.

V5:
- Change flag name.
- Amend comment and patch description.

V4:
- Remove nullify SQ entry abort requeue.
- Add more comment for flag usage and set description.
- Fix build warning.

V3:
- Change comment and use variable(rtc) for error print
- Change flag name and move flag set before ufshcd_clear_cmd
- Add SDB mode clear UTRLCLR tag receive OCS_ABORTED requeue

V2:
- Fix mcq_enabled build error.

Peter Wang (2):
ufs: core: fix the issue of ICU failure
ufs: core: requeue aborted request

 drivers/ufs/core/ufs-mcq.c | 15 ++++++++-------
 drivers/ufs/core/ufshcd.c  | 20 ++++----------------
 2 files changed, 12 insertions(+), 23 deletions(-)
Signature · 1 line
2.45.2