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(-) -- 2.18.0