Skip to content

ufs: Fix a race between the interrupt handler and the reset handler

Bart Van Assche linux-scsi 2 versions – Applied

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 3 repliesApplied
  2. v11 patch 2 repliesSuperseded

Changes in v2 from the cover letter

- Converted a single patch into three patches.
- Modified patch 3/3 such that only cleared requests are completed.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3scsi: ufs: Simplify ufshcd_clear_cmd()drivers/ufs/core/ufshcd.c+2 -60 replies
2/3scsi: ufs: Support clearing multiple commands at oncedrivers/ufs/core/ufshcd.c+28 -140 replies
3/3scsi: ufs: Fix a race between the interrupt handler and the reset handlerdrivers/ufs/core/ufshcd.c+19 -90 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchStanley ChuAdrian Hunter
SeriesR-b R-b
1/3
2/3
3/3

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

Read the v2 thread

Cover letter [PATCH v2 0/3] ufs: Fix a race between the interrupt handler and the reset handler

Hi Martin,

This patch series is version two of a fix between the UFS interrupt handler and reset handlers. Please consider this patch series for kernel v5.20.

Changes compared to v1:
- Converted a single patch into three patches.
- Modified patch 3/3 such that only cleared requests are completed.

Bart Van Assche (3):
scsi: ufs: Simplify ufshcd_clear_cmd()
scsi: ufs: Support clearing multiple commands at once
scsi: ufs: Fix a race between the interrupt handler and the reset
handler

 drivers/ufs/core/ufshcd.c | 76 ++++++++++++++++++++++++---------------
 1 file changed, 48 insertions(+), 28 deletions(-)