Minor fixes to UFS error handling
Status from this message: Applied to 5.11/scsi-staging, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v7 Latest3 patches 9 repliesApplied
- v63 patches 0 repliesSuperseded
- v53 patches 5 repliesSuperseded
Earlier versions · 4
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v4 | 3 patches | 2 replies | Superseded | |
| v3 | 3 patches | 6 replies | Superseded | |
| v2 | 0 of 2 patches | 1 reply | Superseded | |
| v1 | 2 patches | 2 replies | Superseded |
Changes in v7 from the cover letter
- Updated the check condition of updating clk_scaling.active_reqs in __ufshcd_transfer_req_compl()
Patches in v7 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | scsi: ufs: Serialize eh_work with system PM events and async scandrivers/ drivers/ | +41 | 0 replies | |
| 2/3 | scsi: ufs: Fix a race condition between ufshcd_abort and eh_workdrivers/ drivers/ | +49 | 6 replies | |
| 3/3 | scsi: ufs: Print host regs in IRQ handler when AH8 error happensdrivers/ | +2 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Stanley Chu | Bao D. Nguyen | Asutosh Das | Hongwu Su |
|---|---|---|---|---|
| 1/3 | R-b | R-b | R-b | |
| 2/3 | R-b | R-b | ||
| 3/3 | R-b | R-b | R-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 4 reviewers.
Cover letter [PATCH V7 0/3] Minor fixes to UFS error handling
This series mainly fixes below two things which come along with UFS error
handling in some corner cases.
[1] Concurrency problems btw err_handler and paths like system suspend/resume/shutdown and async scan.
[2] Race condition btw UFS error recovery and task abort which happens to W-LU during suspend/resume/shutdown.
The 1st change is tested with error/fault injections to power mode change operations during system PM operations and async scan. The 2nd change is tested by mimicing SSU cmd timeout during suspend/resume/shutdown. The 3rd one is just a minor change to a check condition in IRQ handler such that the driver can dump host regs when AH8 error happens.
Change since v6:
- Updated the check condition of updating clk_scaling.active_reqs in __ufshcd_transfer_req_compl()
Change since v5:
- Incorporated Stanley's comment
Change since v4:
- Fixed a typo found by Stanley.
Change since v3:
- Slightly updated some commit msg lines, no code changes.
Change since v2:
- Added one more minor change into this series.
Change since v1:
- Removed Change-Id from commit msg
Can Guo (3):
scsi: ufs: Serialize eh_work with system PM events and async scan
scsi: ufs: Fix a race condition between ufshcd_abort and eh_work
scsi: ufs: Print host regs in IRQ handler when AH8 error happens
drivers/scsi/ufs/ufshcd.c | 127 ++++++++++++++++++++++++++++++++-------------- drivers/scsi/ufs/ufshcd.h | 3 ++ 2 files changed, 92 insertions(+), 38 deletions(-)
Signature · 1 line
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.