mbox series

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

Message ID 20201205115901.26815-1-stanley.chu@mediatek.com (mailing list archive)
Headers show
Series scsi: ufs: Refine error history and introduce event_notify vop | expand

Message

Stanley Chu Dec. 5, 2020, 11:58 a.m. UTC
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

Comments

Martin K. Petersen Dec. 7, 2020, 10:53 p.m. UTC | #1
Stanley,

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

Applied to 5.11/scsi-staging, thanks!
Martin K. Petersen Dec. 9, 2020, 5:23 p.m. UTC | #2
On Sat, 5 Dec 2020 19:58:57 +0800, Stanley Chu wrote:

> 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]
> 
> [...]

Applied to 5.11/scsi-queue, thanks!

[1/4] scsi: ufs: Add error history for abort event in UFS Device W-LUN
      https://git.kernel.org/mkp/scsi/c/eb3d2611df2e
[2/4] scsi: ufs: Refine error history functions
      https://git.kernel.org/mkp/scsi/c/e965e5e00b23
[3/4] scsi: ufs: Introduce event_notify variant function
      https://git.kernel.org/mkp/scsi/c/172614a9d0e8
[4/4] scsi: ufs-mediatek: Introduce event_notify implementation
      https://git.kernel.org/mkp/scsi/c/ca1bb061d644