Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp289664pxu; Wed, 2 Dec 2020 23:28:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJyKho3+8JprPUPiTIcJ3Nh+vVRiK5QfU5+BgF50RCZ767ehUgPtBsbAo0vA5pqv13hV7QZa X-Received: by 2002:a50:e443:: with SMTP id e3mr1620755edm.160.1606980503745; Wed, 02 Dec 2020 23:28:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606980503; cv=none; d=google.com; s=arc-20160816; b=TyFgiPlxdd3Gb5D1UABlCLKgQAe0oR3NS2W6iRf7NjfTp3KmpCTs2LzYMQ/4sSZ/F7 q1ADDpGOYBLR9hfkcW5+bnZBuuliKcoi56YNLjL2XEAUcd99sRUQ9Mq2De+cv48vKX4X xNtSHZ32zIAOefRU1cp3TiJjDXU8mWdz74j0H8wpAaAFcNntHrH3v6gs4PqCo2hxcFnK uFEdIwhk6ERqVYbENv8ixVqA3mkWYgDt4kMxWEAPfdN3NqG4nUAQ6OxCL/LOCBoOc5UK dNNoBG9ZV08ybeYOSZauYQpBuQgerZQhl1I7z+yrL+h99DBUwLV426xke+GBSiv8VLO7 30mQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=5rfWUNtV12phzkXqQUS5JnE7lQ1Mh34+0qI/Ug4MoL0=; b=WmB/0RjGi+VDSIBO3+XuLpwcF0tH4xdqpT1L/u2oQu2WLhmLAsvTo9TXAgOySYEZnR EBMuttyutRE0oC55wgk2NLEUinimuh4IE1A3SzR36Da/zrqVuhKQSlaY1nJGYFo8iKDp pjgX9aItLjEEdPn0i3m+yYtmZRbXAEAWdVbR9byhaMdgHqG+An97UhVrZgYTf064yg4t Rjd+UjUJUJ0momRsEuCP9OtV5DFTl5l3by9k7eAqFcxTGkFwdTOujG1I0lNDq0KaCw38 bw0xl540zpt+nJBQUCdfLLwEnuMpErJyfiYOYQN2H16Rv/ElQPfewMUYtlj5xqOQg9Wc ZDiA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y12si638539ejw.561.2020.12.02.23.28.00; Wed, 02 Dec 2020 23:28:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388142AbgLCHZe (ORCPT + 99 others); Thu, 3 Dec 2020 02:25:34 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:48022 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725912AbgLCHZe (ORCPT ); Thu, 3 Dec 2020 02:25:34 -0500 X-UUID: 3b0365861baa45ae857e90cb2efd3347-20201203 X-UUID: 3b0365861baa45ae857e90cb2efd3347-20201203 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 2137833836; Thu, 03 Dec 2020 15:24:48 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs02n2.mediatek.inc (172.21.101.101) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 3 Dec 2020 15:24:44 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 3 Dec 2020 15:24:45 +0800 From: Stanley Chu To: , , , , CC: , , , , , , , , , , , , , , , , , Stanley Chu Subject: [PATCH v2 0/3] Refine error history and introduce event_notify vop Date: Thu, 3 Dec 2020 15:24:40 +0800 Message-ID: <20201203072443.6663-1-stanley.chu@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: C4D933F04B8EEE2591AD9993567FE9F7560B576AB4461CA834E1FE9700733EDB2000:8 X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This series refines error history functions and introduce a new event_notify vop to allow vendor to get notification of important events. Change since v1: - Change notify_event() to event_notify() to follow vop naming covention. Stanley Chu (3): scsi: ufs: Add error history for abort event in UFS Device W-LUN scsi: ufs: Refine error history functions scsi: ufs: Introduce event_notify variant function drivers/scsi/ufs/ufshcd.c | 122 ++++++++++++++++++++++---------------- drivers/scsi/ufs/ufshcd.h | 82 ++++++++++++------------- 2 files changed, 112 insertions(+), 92 deletions(-) -- 2.18.0