Skip to content

add fixes, device quirks, error recovery,

Yaniv Gardi linux-arm-msm linux-devicetree linux-scsi lkml 8 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. v8 Latest17 patches 3 repliesApplied
  2. v717 patches 10 repliesSuperseded
  3. v617 patches 4 repliesSuperseded
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v515 patches31 repliesSuperseded
v414 patches3 repliesSuperseded
v314 patches0 repliesSuperseded
v217 patches7 repliesSuperseded
v117 patches15 repliesSuperseded

Changes in v8 from the cover letter

fixed cyclic dependency by removing ufs_quirk.c that was previously added in V7 06/17, and moving its code into ufshcd.c

Patches in v8 Applied

#Subject and filesSizeRepliesApplied
1/17scsi: ufs-qcom: add number of lanes per directionDocumentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt drivers/scsi/ufs/ufs-qcom.c drivers/scsi/ufs/ufshcd-pltfrm.c +2 more+47 -170 replies
2/17scsi: ufs: avoid spurious UFS host controller interruptsdrivers/scsi/ufs/ufshcd.c+15 -00 replies
3/17scsi: ufs: implement scsi host timeout handlerdrivers/scsi/ufs/ufshcd.c+36 -00 replies
4/17scsi: ufs: verify hba controller hce reg valuedrivers/scsi/ufs/ufshcd.c drivers/scsi/ufs/ufshcd.h+35 -300 replies
5/17scsi: ufs: add support to read device and string descriptorsdrivers/scsi/ufs/ufs.h drivers/scsi/ufs/ufshcd.c drivers/scsi/ufs/ufshcd.h+95 -10 replies
6/17scsi: ufs: separate device and host quirksdrivers/scsi/ufs/ufs.h drivers/scsi/ufs/ufs_quirks.h drivers/scsi/ufs/ufshcd.c +1 more+244 -00 replies
7/17scsi: ufs: disable vccq if it's not needed by UFS devicedrivers/scsi/ufs/ufs.h drivers/scsi/ufs/ufshcd.c+57 -40 replies
8/17scsi: ufs: make error handling bit fasterdrivers/scsi/ufs/ufshcd.c+112 -430 replies
9/17scsi: ufs: add error recovery after DL NAC errordrivers/scsi/ufs/ufshcd.c drivers/scsi/ufs/ufshci.h+95 -00 replies
10/17scsi: ufs: add retry for query descriptorsdrivers/scsi/ufs/ufshcd.c+37 -180 replies
11/17scsi: ufs: handle non spec compliant bkops behaviour by devicedrivers/scsi/ufs/ufshcd.c drivers/scsi/ufs/ufshcd.h+52 -70 replies
12/17scsi: ufs: tune UniPro parameters to optimize hibern8 exit timedrivers/scsi/ufs/ufshcd.c drivers/scsi/ufs/ufshcd.h drivers/scsi/ufs/ufshci.h +1 more+142 -00 replies
13/17scsi: ufs: fix leakage during link off statedrivers/scsi/ufs/ufshcd.c+10 -00 replies
14/17scsi: ufs: add device quirk delay before putting UFS rails in LPMdrivers/scsi/ufs/ufs_quirks.h drivers/scsi/ufs/ufshcd.c+23 -10 replies
15/17scsi: ufs-qcom: set PA_Local_TX_LCC_Enable before link startupdrivers/scsi/ufs/ufs-qcom.c drivers/scsi/ufs/unipro.h+21 -70 replies
16/17scsi: ufs-qcom: enable/disable the device ref clockdrivers/scsi/ufs/ufs-qcom.c drivers/scsi/ufs/ufshcd.h+21 -00 replies
17/17scsi: ufs-qcom: add printouts of testbus debug registersdrivers/scsi/ufs/ufs-qcom.c drivers/scsi/ufs/ufs-qcom.h+86 -00 replies

Reviews trailers per patch

All 17 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchHannes ReineckeRob HerringGilad Broner
SeriesR-b
1/17R-b A-b
2/17R-b
3/17R-b
4/17R-b
5/17R-b R-b
6/17R-b R-b
7/17R-b
8/17R-b
9/17R-b
10/17R-b
11/17R-b
12/17R-b
13/17R-b
14/17R-b R-b
15/17R-b
16/17R-b
17/17R-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 v8 thread

Cover letter [PATCH v8 00/17] add fixes, device quirks, error recovery,

V8:
fixed cyclic dependency by removing ufs_quirk.c that was previously added in V7 06/17, and moving its code into ufshcd.c

V7:
updated patches with "Reviewed-by" and "Acked-by" tags

V6:
as per comment, patch 15/15 in V5 was divided into 3 patches in V6

V5:
as per comment, patch 05/14 in V4, was divided into 2 patches in V5

V4:
fixed DOS EOL symbols in 2 new files

V3:
Due to comments in V2
Removed change 02/17 of V2
Removed change 03/17 of V2
Removed change 17/17 of V2

V2:
This series should be pushed on top of 15 patches series:
"Big fixes, retries, handle a race condition" fixed and few comments.

V1:
This series should be pushed on top of 15 patches series:
"Big fixes, retries, handle a race condition"

Yaniv Gardi (15):
scsi: ufs-qcom: add number of lanes per direction
scsi: ufs: avoid spurious UFS host controller interrupts
scsi: ufs: implement scsi host timeout handler
scsi: ufs: verify hba controller hce reg value
scsi: ufs: add support to read device and string descriptors
scsi: ufs: separate device and host quirks
scsi: ufs: disable vccq if it's not needed by UFS device
scsi: ufs: make error handling bit faster
scsi: ufs: add error recovery after DL NAC error
scsi: ufs: add retry for query descriptors
scsi: ufs: handle non spec compliant bkops behaviour by device
scsi: ufs: tune UniPro parameters to optimize hibern8 exit time
scsi: ufs: fix leakage during link off state
scsi: ufs: add device quirk delay before putting UFS rails in LPM
scsi: ufs-qcom: set PA_Local_TX_LCC_Enable before link startup
scsi: ufs-qcom: enable/disable the device ref clock
scsi: ufs-qcom: add printouts of testbus debug registers

 .../devicetree/bindings/ufs/ufshcd-pltfrm.txt      |   3 +
 drivers/scsi/ufs/ufs-qcom.c                        | 155 +++-
 drivers/scsi/ufs/ufs-qcom.h                        |   9 +
 drivers/scsi/ufs/ufs.h                             |  33 +
 drivers/scsi/ufs/ufs_quirks.h                      | 151 ++++
 drivers/scsi/ufs/ufshcd-pltfrm.c                   |  19 +
 drivers/scsi/ufs/ufshcd.c                          | 818 ++++++++++++++++++---
 drivers/scsi/ufs/ufshcd.h                          |  40 +-
 drivers/scsi/ufs/ufshci.h                          |   4 +
 drivers/scsi/ufs/unipro.h                          |  22 +
 10 files changed, 1127 insertions(+), 127 deletions(-)
 create mode 100644 drivers/scsi/ufs/ufs_quirks.h
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