scsi: ufs: Improve UFS error handling
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest4 patches 0 repliesNew
- v54 patches 9 repliesSuperseded
- v44 patches 0 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 4 patches | 22 replies | Superseded | |
| v2 | 4 patches | 4 replies | Superseded | |
| v1 | 4 patches | 6 replies | Superseded |
Changes in v6 from the cover letter
- correct typo in [PATCH V5 1/4] scsi: ufs: Fix broken task ...
- correct poll wait in [PATCH V5 2/4] scsi: ufs: Fix hardware ...
- Included Tested-by and Reviewed-by ack's.
Patches in v6 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | scsi: ufs: Fix broken task management command implementationdrivers/ drivers/ | +122 | 0 replies | |
| 2/4 | scsi: ufs: Fix hardware race conditions while aborting a commanddrivers/ | +55 | 0 replies | |
| 3/4 | scsi: ufs: Fix device and host reset methodsdrivers/ drivers/ | +189 | 0 replies | |
| 4/4 | scsi: ufs: Improve UFS fatal error handlingdrivers/ drivers/ | +149 | 0 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Yaniv Gardi | Dolev Raviv |
|---|---|---|
| 1/4 | R-b | T-b |
| 2/4 | R-b | T-b |
| 3/4 | R-b | T-b |
| 4/4 | R-b | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH V6 0/4] scsi: ufs: Improve UFS error handling
The first patch fixes many issues with current task management handling in UFSHCD driver. Others improve error handling in various scenarios.
These patches are rebased on:
[PATCH 9/9] drivers/scsi/ufs: don't check resource with devm_ioremap_resource
Changes from v5:
- correct typo in [PATCH V5 1/4] scsi: ufs: Fix broken task ...
- correct poll wait in [PATCH V5 2/4] scsi: ufs: Fix hardware ...
- Included Tested-by and Reviewed-by ack's.
Changes from v4:
- Addressed comments from Seungwon Jeon on V3
- Updated with proper locking while ufshcd state changes
- Retained LUN reset instead of device reset with DME_END_POINT_RESET
- Removed error handling decisions dependent on OCS value
- Simplified fatal error handling to abort the requests first and then carry out reset.
Changes from v3:
- Rebased.
Changes from v2:
- [PATCH V3 1/4]: Make the task management command task tag unique across SCSI/NOP/QUERY request tags.
- [PATCH V3 3/4]: While handling device/host reset, wait for pending fatal handler to return if running.
Changes from v1:
- [PATCH V2 1/4]: Fix a race condition because of overloading outstanding_tasks variable to lock the slots. A new variable tm_slots_in_use will track which slots are in use by the driver.
- [PATCH V2 2/4]: Commit text update to clarify the hardware race with more details.
- [PATCH V2 3/4]: Minor cleanup and rebase
- [PATCH V2 4/4]: Fix a bug - sleeping in atomic context
Sujit Reddy Thumma (4):
scsi: ufs: Fix broken task management command implementation
scsi: ufs: Fix hardware race conditions while aborting a command
scsi: ufs: Fix device and host reset methods
scsi: ufs: Improve UFS fatal error handling
drivers/scsi/ufs/ufshcd.c | 684 ++++++++++++++++++++++++++++++++------------- drivers/scsi/ufs/ufshcd.h | 20 +- 2 files changed, 501 insertions(+), 203 deletions(-)
Signature · 2 lines
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation.