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 v2 to add one more patch "scsi: ufs: Add history of fatal events" to add history for "non-interrupt-based" errors as well, for example, - Link startup fail - Suspend fail - Resume fail - Task or request abort event 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 | 87 +++++++++++++++++++++++---------------- drivers/scsi/ufs/ufshcd.h | 38 ++++++++++++----- 2 files changed, 80 insertions(+), 45 deletions(-) -- 2.18.0