Skip to content

Big fixes, retries, handle a race condition

Yaniv Gardi linux-arm-msm linux-scsi lkml 7 versions – Applied

Status from this message: Applied to 4.6/scsi-queue.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest14 patches 2 repliesApplied
  2. v615 patches 5 repliesSuperseded
  3. v515 patches 11 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v415 patches0 repliesSuperseded
v315 patches19 repliesSuperseded
v215 patches0 repliesSuperseded
v115 patches11 repliesSuperseded

Changes in v7 from the cover letter

updated patch 0001 according to a comment
also, removed patch 07/15 from V6, so now there are only 14 patches

Patches in v7 Applied

#Subject and filesSizeRepliesApplied
1/14scsi: ufs: clear UTRD, UPIU req and rsp before new transfersdrivers/scsi/ufs/ufshcd.c+12 -40 replies
2/14scsi: ufs: clear fields UTRD, UPIU req and rsp before new transfersdrivers/scsi/ufs/ufshcd.c+8 -01 reply
3/14scsi: ufs: verify command tag validitydrivers/scsi/ufs/ufshcd.c+22 -20 replies
4/14scsi: ufs: clear outstanding_request bit in case query timeoutdrivers/scsi/ufs/ufshcd.c+20 -20 replies
5/14scsi: ufs: increase fDeviceInit query response timeoutdrivers/scsi/ufs/ufshcd.c+11 -10 replies
6/14scsi: ufs: avoid exception event handler racing with PM callbacksdrivers/scsi/ufs/ufshcd.c+14 -10 replies
7/14scsi: ufs: add retries to dme_peer get and set attributedrivers/scsi/ufs/ufshcd.c+29 -110 replies
8/14scsi: ufs: add retries for hibern8 enterdrivers/scsi/ufs/ufshcd.c+24 -20 replies
9/14scsi: ufs: fix error recovery after the hibern8 exit failuredrivers/scsi/ufs/ufshcd.c+53 -50 replies
10/14scsi: ufs: retry failed query flag requestsdrivers/scsi/ufs/ufshcd.c drivers/scsi/ufs/ufshcd.h+41 -260 replies
11/14scsi: ufs: reduce the interrupts for power mode change requestsdrivers/scsi/ufs/ufshcd.c+27 -140 replies
12/14scsi: ufs: add missing memory barriersdrivers/scsi/ufs/ufshcd.c+13 -60 replies
13/14scsi: ufs: commit descriptors before setting the doorbelldrivers/scsi/ufs/ufshcd.c+2 -00 replies
14/14scsi: ufs: add wrapper for retrying sending query attributedrivers/scsi/ufs/ufshcd.c+44 -70 replies

Reviews trailers per patch

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

PatchGilad BronerDolev RavivSubhash Jadavani
1/14R-b R-b
2/14R-b R-b
3/14R-b R-b
4/14R-b R-b R-b
5/14R-b R-b
6/14R-b R-b
7/14R-b R-b
8/14R-b R-b
9/14R-b R-b
10/14R-b
11/14R-b R-b
12/14R-b
13/14R-b
14/14R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v7 thread

Cover letter [PATCH v7 00/14] Big fixes, retries, handle a race condition

V7:
updated patch 0001 according to a comment
also, removed patch 07/15 from V6, so now there are only 14 patches

V6:
update Reviewed-by from various reviewers

V5:
removed un-necessary wmb()

V4:
fixing a few comments from reviewers

V3:
removed specific calls to wmb() since they are redundant.

V2:
a few minor changes

V1:
This serie of 15 small patches should be pushed after the series of 8 patches I have uploaded to the upstream a week ago:
"Fix error message and present UFS variant probe"

Yaniv Gardi (14):
scsi: ufs: clear UTRD, UPIU req and rsp before new transfers
scsi: ufs: clear fields UTRD, UPIU req and rsp before new transfers
scsi: ufs: verify command tag validity
scsi: ufs: clear outstanding_request bit in case query timeout
scsi: ufs: increase fDeviceInit query response timeout
scsi: ufs: avoid exception event handler racing with PM callbacks
scsi: ufs: add retries to dme_peer get and set attribute
scsi: ufs: add retries for hibern8 enter
scsi: ufs: fix error recovery after the hibern8 exit failure
scsi: ufs: retry failed query flag requests
scsi: ufs: reduce the interrupts for power mode change requests
scsi: ufs: add missing memory barriers
scsi: ufs: commit descriptors before setting the doorbell
scsi: ufs: add wrapper for retrying sending query attribute

 drivers/scsi/ufs/ufshcd.c | 395 ++++++++++++++++++++++++++++++++++++----------
 drivers/scsi/ufs/ufshcd.h |   4 +
 2 files changed, 319 insertions(+), 80 deletions(-)
Signature · 4 lines
1.8.5.2

-- 
QUALCOMM ISRAEL, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation