From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stanley Chu Subject: [PATCH v2 0/4] scsi: ufs: Provide fatal and auto-hibern8 error history Date: Wed, 10 Jul 2019 13:20:13 +0800 Message-ID: <1562736017-29461-1-git-send-email-stanley.chu@mediatek.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: linux-scsi@vger.kernel.org, martin.petersen@oracle.com, avri.altman@wdc.com, alim.akhtar@samsung.com, pedrom.sousa@synopsys.com Cc: sthumma@codeaurora.org, marc.w.gonzalez@free.fr, andy.teng@mediatek.com, chun-hung.wu@mediatek.com, kuohong.wang@mediatek.com, peter.wang@mediatek.com, evgreen@chromium.org, subhashj@codeaurora.org, linux-mediatek@lists.infradead.org, ygardi@codeaurora.org, matthias.bgg@gmail.com, Stanley Chu , linux-arm-kernel@lists.infradead.org, beanhuo@micron.com List-Id: linux-scsi@vger.kernel.org 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