Skip to content

UFS patches for kernel v5.17

Bart Van Assche linux-scsi 4 versions – Applied

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest17 patches 11 repliesApplied
  2. v317 patches 14 repliesSuperseded
  3. v220 patches 51 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v111 patches38 repliesSuperseded

Changes in v4 from the cover letter

- Dropped patch "scsi: core: Fix a race between scsi_done() and scsi_times_out()" since the conversation around that patch is still ongoing.
- Added patch "scsi: ufs: Remove hba->cmd_queue".
- Modified patch "scsi: ufs: Optimize the command queueing code".

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/17scsi: core: Fix scsi_device_max_queue_depth()drivers/scsi/scsi.c+2 -20 replies
2/17scsi: ufs: Rename a function argumentdrivers/scsi/ufs/ufs-exynos.c drivers/scsi/ufs/ufshcd.h+4 -30 replies
3/17scsi: ufs: Remove is_rpmb_wlun()drivers/scsi/ufs/ufshcd.c+0 -50 replies
4/17scsi: ufs: Remove the sdev_rpmb memberdrivers/scsi/ufs/ufshcd.c drivers/scsi/ufs/ufshcd.h+6 -70 replies
5/17scsi: ufs: Remove dead codedrivers/scsi/ufs/ufshcd.c+1 -60 replies
6/17scsi: ufs: Fix race conditions related to driver datadrivers/scsi/ufs/tc-dwc-g210-pci.c drivers/scsi/ufs/ufshcd-pci.c drivers/scsi/ufs/ufshcd-pltfrm.c +1 more+7 -50 replies
7/17scsi: ufs: Remove ufshcd_any_tag_in_use()drivers/scsi/ufs/ufshcd.c+1 -200 replies
8/17scsi: ufs: Rework ufshcd_change_queue_depth()drivers/scsi/ufs/ufshcd.c+1 -50 replies
9/17scsi: ufs: Fix a deadlock in the error handlerdrivers/scsi/ufs/ufshcd.c drivers/scsi/ufs/ufshcd.h+16 -390 replies
10/17scsi: ufs: Remove hba->cmd_queuedrivers/scsi/ufs/ufshcd.c drivers/scsi/ufs/ufshcd.h+1 -120 replies
11/17scsi: ufs: Remove the 'update_scaling' local variabledrivers/scsi/ufs/ufshcd.c+2 -50 replies
12/17scsi: ufs: Introduce ufshcd_release_scsi_cmd()drivers/scsi/ufs/ufshcd.c+14 -80 replies
13/17scsi: ufs: Improve SCSI abort handling furtherdrivers/scsi/ufs/ufshcd.c+12 -00 replies
14/17scsi: ufs: Fix a kernel crash during shutdowndrivers/scsi/ufs/ufshcd.c+10 -50 replies
15/17scsi: ufs: Stop using the clock scaling lock in the error handlerdrivers/scsi/ufs/ufshcd.c+10 -20 replies
16/17scsi: ufs: Optimize the command queueing codedrivers/scsi/ufs/ufshcd.c drivers/scsi/ufs/ufshcd.h+24 -107 replies
17/17scsi: ufs: Implement polling supportdrivers/scsi/ufs/ufshcd.c+67 -180 replies

Reviews trailers per patch

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

PatchMing LeiBean HuoChanho ParkAlim AkhtarKeoseong ParkAsutosh DasAvri AltmanAdrian HunterBjorn Andersson
1/17R-b R-b T-b
2/17R-b T-b R-b A-b R-b
3/17R-b T-b R-b R-b
4/17R-b T-b R-b R-b
5/17R-b T-b A-b
6/17R-b T-b
7/17R-b T-b
8/17R-b T-b
9/17R-b T-b R-b
10/17R-b T-b R-b
11/17R-b T-b
12/17R-b T-b R-b
13/17R-b T-b R-b
14/17R-b T-b
15/17R-b T-b R-b
16/17R-b T-b R-b
17/17R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 9 reviewers.

Read the v4 thread

Cover letter [PATCH v4 00/17] UFS patches for kernel v5.17

Hi Martin,

This patch series includes the following changes:
- Fix a deadlock in the UFS error handler.
- Add polling support in the UFS driver.
- Several smaller fixes for the UFS driver.

Please consider these UFS driver kernel patches for kernel v5.17.

Thanks,

Bart.

Changes compared to v3:
- Dropped patch "scsi: core: Fix a race between scsi_done() and scsi_times_out()" since the conversation around that patch is still ongoing.
- Added patch "scsi: ufs: Remove hba->cmd_queue".
- Modified patch "scsi: ufs: Optimize the command queueing code".

Changes compared to v2:
- Dropped SCSI core patches that add support for internal commands.
- Reworked patch "Fix a deadlock in the error handler" such that it uses a reserved tag as proposed by Adrian.
- Split patch "ufs: Introduce ufshcd_release_scsi_cmd()" into two patches.

Changes compared to v1:
- Add internal command support to the SCSI core.
- Reworked patch "ufs: Optimize the command queueing code".

Bart Van Assche (17):
scsi: core: Fix scsi_device_max_queue_depth()
scsi: ufs: Rename a function argument
scsi: ufs: Remove is_rpmb_wlun()
scsi: ufs: Remove the sdev_rpmb member
scsi: ufs: Remove dead code
scsi: ufs: Fix race conditions related to driver data
scsi: ufs: Remove ufshcd_any_tag_in_use()
scsi: ufs: Rework ufshcd_change_queue_depth()
scsi: ufs: Fix a deadlock in the error handler
scsi: ufs: Remove hba->cmd_queue
scsi: ufs: Remove the 'update_scaling' local variable
scsi: ufs: Introduce ufshcd_release_scsi_cmd()
scsi: ufs: Improve SCSI abort handling further
scsi: ufs: Fix a kernel crash during shutdown
scsi: ufs: Stop using the clock scaling lock in the error handler
scsi: ufs: Optimize the command queueing code
scsi: ufs: Implement polling support

 drivers/scsi/scsi.c                |   4 +-
 drivers/scsi/ufs/tc-dwc-g210-pci.c |   1 -
 drivers/scsi/ufs/ufs-exynos.c      |   4 +-
 drivers/scsi/ufs/ufshcd-pci.c      |   2 -
 drivers/scsi/ufs/ufshcd-pltfrm.c   |   2 -
 drivers/scsi/ufs/ufshcd.c          | 300 ++++++++++++++++-------------
 drivers/scsi/ufs/ufshcd.h          |   9 +-
 7 files changed, 174 insertions(+), 148 deletions(-)