Skip to content

UFS patches for kernel v5.16

Bart Van Assche linux-scsi 2 versions – Applied

Status from this message: Applied to 5.16/scsi-staging, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest10 patches 2 repliesApplied
  2. v15 patches 7 repliesSuperseded

Changes in v2 from the cover letter

- Converted the sysfs attribute for triggering the error handler into two debugfs attributes.
- Use ufshcd_schedule_eh_work(hba) instead of scsi_schedule_eh(hba->host) to trigger the error handler.
- Added three patches that implement a small performance optimization.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/10scsi: ufs: Revert "Retry aborted SCSI commands instead of completing these successfully"drivers/scsi/ufs/ufshcd.c+11 -220 replies
2/10scsi: ufs: Improve source code commentsdrivers/scsi/ufs/ufshci.h+2 -20 replies
3/10scsi: ufs: Improve static type checkingdrivers/scsi/ufs/ufshcd.c drivers/scsi/ufs/ufshci.h+9 -50 replies
4/10scsi: ufs: Log error handler activitydrivers/scsi/ufs/ufshcd.c+24 -00 replies
5/10scsi: ufs: Export ufshcd_schedule_eh_work()drivers/scsi/ufs/ufshcd.c drivers/scsi/ufs/ufshcd.h+4 -30 replies
6/10scsi: ufs: Make it easier to add new debugfs attributesdrivers/scsi/ufs/ufs-debugfs.c+30 -30 replies
7/10scsi: ufs: Add debugfs attributes for triggering the UFS EHdrivers/scsi/ufs/ufs-debugfs.c+65 -00 replies
8/10scsi: ufs: Remove three superfluous castsdrivers/scsi/ufs/ufshcd.c+3 -30 replies
9/10scsi: ufs: Add a compile-time structure size checkdrivers/scsi/ufs/ufshcd.c+5 -00 replies
10/10scsi: ufs: Micro-optimize ufshcd_map_sg()drivers/scsi/ufs/ufshcd.c drivers/scsi/ufs/ufshci.h+15 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 00/10] UFS patches for kernel v5.16

Hi Martin,

This patch series includes the UFS driver kernel patches I would like to see included kernel v5.16. Please consider these patches for kernel v5.16.

Thank you,

Bart.

Changes compared to v1:
- Converted the sysfs attribute for triggering the error handler into two debugfs attributes.
- Use ufshcd_schedule_eh_work(hba) instead of scsi_schedule_eh(hba->host) to trigger the error handler.
- Added three patches that implement a small performance optimization.

Bart Van Assche (10):
scsi: ufs: Revert "Retry aborted SCSI commands instead of completing
these successfully"
scsi: ufs: Improve source code comments
scsi: ufs: Improve static type checking
scsi: ufs: Log error handler activity
scsi: ufs: Export ufshcd_schedule_eh_work()
scsi: ufs: Make it easier to add new debugfs attributes
scsi: ufs: Add debugfs attributes for triggering the UFS EH
scsi: ufs: Remove three superfluous casts
scsi: ufs: Add a compile-time structure size check
scsi: ufs: Micro-optimize ufshcd_map_sg()

 drivers/scsi/ufs/ufs-debugfs.c |  98 ++++++++++++++++++++++++++++++-
 drivers/scsi/ufs/ufshcd.c      | 102 +++++++++++++++++++++------------
 drivers/scsi/ufs/ufshcd.h      |   1 +
 drivers/scsi/ufs/ufshci.h      |  15 ++---
 4 files changed, 168 insertions(+), 48 deletions(-)