From patchwork Mon Jul 8 04:37:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanley Chu X-Patchwork-Id: 11034581 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D742A138B for ; Mon, 8 Jul 2019 04:38:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C73CD27CEA for ; Mon, 8 Jul 2019 04:38:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B9D3628385; Mon, 8 Jul 2019 04:38:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5BE5E28385 for ; Mon, 8 Jul 2019 04:38:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727542AbfGHEig (ORCPT ); Mon, 8 Jul 2019 00:38:36 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:23250 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725807AbfGHEig (ORCPT ); Mon, 8 Jul 2019 00:38:36 -0400 X-UUID: aec00a6693784b5a9426b096c7464594-20190708 X-UUID: aec00a6693784b5a9426b096c7464594-20190708 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1671552046; Mon, 08 Jul 2019 12:38:00 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 8 Jul 2019 12:37:59 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Mon, 8 Jul 2019 12:37:59 +0800 From: Stanley Chu To: , , , , CC: , , , , , , , , , , , , , Stanley Chu Subject: [PATCH v1 0/3] scsi: ufs: Provide fatal and auto-hibern8 error history Date: Mon, 8 Jul 2019 12:37:54 +0800 Message-ID: <1562560677-3985-1-git-send-email-stanley.chu@mediatek.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 X-MTK: N Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch set provides more information of fatal errros and auto-hibern8 errors to improve debugging by keeping their error history as completed as possible. Stanley Chu (3): 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 drivers/scsi/ufs/ufshcd.c | 57 +++++++++++++++++++-------------------- drivers/scsi/ufs/ufshcd.h | 26 +++++++++++------- 2 files changed, 44 insertions(+), 39 deletions(-)