Skip to content

scsi: ufs: Add trace event for UIC commands and cleanup UIC struct

Stanley Chu linux-arm-kernel linux-mediatek linux-scsi lkml 3 versions – Applied

Status from this message: Applied to 5.9/scsi-queue, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 2 repliesApplied
  2. v22 patches 2 repliesSuperseded
  3. v12 patches 4 repliesSuperseded

Changes in v3 from the cover letter

- Refactor "complete" event hooks in ufshcd_uic_cmd_compl() (Avri Altman)

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2scsi: ufs: Remove unused field in struct uic_commanddrivers/scsi/ufs/ufshcd.h+0 -40 replies
2/2scsi: ufs: Add trace event for UIC commandsdrivers/scsi/ufs/ufshcd.c include/trace/events/ufs.h+57 -00 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAlim AkhtarAvri Altman
1/2R-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] scsi: ufs: Add trace event for UIC commands and cleanup UIC struct

Hi,
This series adds trace event for UIC commands and do a small cleanup in struct uic_command.

v2 -> v3:
- Refactor "complete" event hooks in ufshcd_uic_cmd_compl() (Avri Altman)

v1 -> v2:
- Rename "uic_send" to "send" and "uic_complete" to "complete"
- Move "send" trace before UIC command is sent otherwise "send" trace may log incorrect arguments
- Move "complete" trace to UIC interrupt handler to make logging time precise

Stanley Chu (2):
scsi: ufs: Remove unused field in struct uic_command
scsi: ufs: Add trace event for UIC commands

 drivers/scsi/ufs/ufshcd.c  | 26 ++++++++++++++++++++++++++
 drivers/scsi/ufs/ufshcd.h  |  4 ----
 include/trace/events/ufs.h | 31 +++++++++++++++++++++++++++++++
 3 files changed, 57 insertions(+), 4 deletions(-)
Signature · 1 line
2.18.0