[PATCH v5 0/4] scsi: ufs: Refine error history and introduce event_notify vop

From: Stanley Chu
Date: Sat Dec 05 2020 - 09:45:31 EST


Hi,
This series refines error history functions and introduces a new event_notify vop to allow vendor to get notification of important events.

Changes since v4:
- Seperate patch sets according to Avri's suggestion

Changes since v3:
- Fix build warning in patch [8/8]

Changes since v2:
- Add patches for vop cleanups
- Introduce phy_initialization helper and replace direct invoking in ufs-cdns and ufs-dwc by the helper
- Introduce event_notify vop implemntation in ufs-mediatek

Changes since v1:
- Change notify_event() to event_notify() to follow vop naming covention

Stanley Chu (4):
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
scsi: ufs-mediatek: Introduce event_notify implementation

drivers/scsi/ufs/ufs-mediatek-trace.h | 37 ++++++++
drivers/scsi/ufs/ufs-mediatek.c | 12 +++
drivers/scsi/ufs/ufshcd.c | 122 +++++++++++++++-----------
drivers/scsi/ufs/ufshcd.h | 82 ++++++++---------
4 files changed, 161 insertions(+), 92 deletions(-)
create mode 100644 drivers/scsi/ufs/ufs-mediatek-trace.h

--
2.18.0