Skip to content

scsi: ufs: Provide fatal and auto-hibern8 error history

Stanley Chu linux-arm-kernel linux-mediatek linux-scsi 3 versions – Applied

Status from this message: Applied to 5.4/scsi-queue. Thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 2 repliesApplied
  2. v24 patches 2 repliesSuperseded
  3. v13 patches 1 replySuperseded

Changes in v3 from the cover letter

- Fix one missing place to track link startup error (Avri Altman)
- Add history of device reset events (Avri Altman)
- Add history of host reset events

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/4scsi: ufs: Change names related to error historydrivers/scsi/ufs/ufshcd.c drivers/scsi/ufs/ufshcd.h+30 -290 replies
2/4scsi: ufs: Add fatal and auto-hibern8 error historydrivers/scsi/ufs/ufshcd.c drivers/scsi/ufs/ufshcd.h+19 -20 replies
3/4scsi: ufs: Do not reset error history during host resetdrivers/scsi/ufs/ufshcd.c+1 -120 replies
4/4scsi: ufs: Add history of fatal eventsdrivers/scsi/ufs/ufshcd.c drivers/scsi/ufs/ufshcd.h+50 -141 reply

Reviews trailers per patch

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

PatchAvri Altman
1/4R-b
2/4R-b
3/4R-b
4/4R-b

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

Read the v3 thread

Cover letter [PATCH v3 0/4] scsi: ufs: Provide fatal and auto-hibern8 error history

This patchset provides more information of fatal errros and auto-hibern8 errors to improve debugging by keeping their error history as completed as possible.

Thanks Avri so much for prompt reviewing patchset v1.

I would like to post new version to add one more patch "scsi: ufs: Add history of fatal events" to provide history for "non-interrupt-based" errors and abnormal events as well.

Example of fatal errors,
- Link startup error
- Suspend error
- Resume error

Example of abnormal events,
- Task or request abort
- Device reset (now equals to Logical Unit Reset)
- Host reset

Changes in v3:
- Fix one missing place to track link startup error (Avri Altman)
- Add history of device reset events (Avri Altman)
- Add history of host reset events

Changes in v2:
- Add new patch "scsi: ufs: Add history of fatal events"

Stanley Chu (4):
scsi: ufs: Change names related to error history
scsi: ufs: Add fatal and auto-hibern8 error history
scsi: ufs: Do not reset error history during host reset
scsi: ufs: Add history of fatal events

 drivers/scsi/ufs/ufshcd.c | 94 ++++++++++++++++++++++++---------------
 drivers/scsi/ufs/ufshcd.h | 42 ++++++++++++-----
 2 files changed, 90 insertions(+), 46 deletions(-)
Signature · 1 line
2.18.0