UFS patches for kernel v5.15
Status from this message: Applied to 5.15/scsi-staging, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
Changes in v3 from the cover letter
- Included a stack corruption fix.
- Dropped patch "Remove a local variable" and added patches "Revert "Utilize Transfer Request List Completion Notification Register"" and "Optimize serialization of setup_xfer_req() calls".
- Added patch "Optimize serialization of setup_xfer_req() calls".
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/18 | scsi: ufs: Fix memory corruption by ufshcd_read_desc_param()drivers/ | +5 | 2 replies | |
| 2/18 | scsi: ufs: Reduce power management code duplicationdrivers/ drivers/ drivers/ +9 more | +41 | 2 replies | |
| 3/18 | scsi: ufs: Only include power management code if necessarydrivers/ drivers/ | +12 | 2 replies | |
| 4/18 | scsi: ufs: Rename the second ufshcd_probe_hba() argumentdrivers/ | +4 | 2 replies | |
| 5/18 | scsi: ufs: Use DECLARE_COMPLETION_ONSTACK() where appropriatedrivers/ | +3 | 1 reply | |
| 6/18 | scsi: ufs: Remove ufshcd_valid_tag()drivers/ | +10 | 3 replies | |
| 7/18 | scsi: ufs: Verify UIC locking requirements at runtimedrivers/ drivers/ | +10 | 1 reply | |
| 8/18 | scsi: ufs: Improve static type checking for the host controller statedrivers/ drivers/ | +23 | 2 replies | |
| 9/18 | scsi: ufs: Remove several wmb() callsdrivers/ | +0 | 2 replies | |
| 10/18 | scsi: ufs: Inline ufshcd_outstanding_req_clear()drivers/ | +1 | 1 reply | |
| 11/18 | scsi: ufs: Revert "Utilize Transfer Request List Completion Notification Register"drivers/ drivers/ drivers/ | +15 | 6 replies | |
| 12/18 | scsi: ufs: Optimize serialization of setup_xfer_req() callsdrivers/ drivers/ | +2 | 2 replies | |
| 13/18 | scsi: ufs: Optimize SCSI command processingdrivers/ drivers/ | +20 | 4 replies | |
| 14/18 | scsi: ufs: Fix the SCSI abort handlerdrivers/ | +19 | 1 reply | |
| 15/18 | scsi: ufs: Request sense data asynchronouslydrivers/ | +33 | 1 reply | |
| 16/18 | scsi: ufs: Synchronize SCSI and UFS error handlingdrivers/ drivers/ | +55 | 12 replies | |
| 17/18 | scsi: ufs: Retry aborted SCSI commands instead of completing these successfullydrivers/ | +23 | 1 reply | |
| 18/18 | scsi: ufs: Add fault injection supportdrivers/ drivers/ drivers/ +2 more | +110 | 1 reply |
Reviews trailers per patch
17 of 18 patches have a Reviewed-by or Acked-by.
| Patch | Avri Altman | Bean Huo | Keoseong Park | Daejun Park | Stanley Chu |
|---|---|---|---|---|---|
| 1/18 | R-b | R-b | |||
| 2/18 | R-b | R-b | R-b | R-b | |
| 3/18 | R-b | R-b | R-b | R-b | |
| 4/18 | R-b | R-b | R-b | R-b | |
| 5/18 | R-b | R-b | R-b | ||
| 6/18 | R-b | R-b | |||
| 7/18 | R-b | R-b | R-b | ||
| 8/18 | R-b | R-b | R-b | ||
| 9/18 | R-b T-b | R-b | |||
| 10/18 | R-b | R-b | |||
| 11/18 | T-b | ||||
| 12/18 | R-b | R-b | |||
| 13/18 | R-b | R-b | |||
| 14/18 | R-b | ||||
| 15/18 | R-b | ||||
| 16/18 | R-b T-b | ||||
| 17/18 | R-b | ||||
| 18/18 | A-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 5 reviewers.
Cover letter [PATCH v3 00/18] UFS patches for kernel v5.15
Hi Martin,
Please consider the patches in this series for kernel v5.15.
Thank you,
Bart.
Changes compared to v2:
- Included a stack corruption fix.
- Dropped patch "Remove a local variable" and added patches "Revert "Utilize Transfer Request List Completion Notification Register"" and "Optimize serialization of setup_xfer_req() calls".
- Added patch "Optimize serialization of setup_xfer_req() calls".
Changes compared to v1:
- Left out the SCSI core patches for the SCSI error handler in order not to delay the UFS patches by the conversation around the SCSI error handler patches.
- Restored the WARN_ON_ONCE(tag < 0) statements in the patch that removes ufshcd_valid_tag().
- Split "Fix a race in the completion path" in two patches.
- Added a fault injection patch.
Bart Van Assche (18):
scsi: ufs: Fix memory corruption by ufshcd_read_desc_param()
scsi: ufs: Reduce power management code duplication
scsi: ufs: Only include power management code if necessary
scsi: ufs: Rename the second ufshcd_probe_hba() argument
scsi: ufs: Use DECLARE_COMPLETION_ONSTACK() where appropriate
scsi: ufs: Remove ufshcd_valid_tag()
scsi: ufs: Verify UIC locking requirements at runtime
scsi: ufs: Improve static type checking for the host controller state
scsi: ufs: Remove several wmb() calls
scsi: ufs: Inline ufshcd_outstanding_req_clear()
scsi: ufs: Revert "Utilize Transfer Request List Completion
Notification Register"
scsi: ufs: Optimize serialization of setup_xfer_req() calls
scsi: ufs: Optimize SCSI command processing
scsi: ufs: Fix the SCSI abort handler
scsi: ufs: Request sense data asynchronously
scsi: ufs: Synchronize SCSI and UFS error handling
scsi: ufs: Retry aborted SCSI commands instead of completing these
successfully
scsi: ufs: Add fault injection support
drivers/scsi/ufs/Kconfig | 7 + drivers/scsi/ufs/Makefile | 1 + drivers/scsi/ufs/cdns-pltfrm.c | 7 +- drivers/scsi/ufs/tc-dwc-g210-pci.c | 32 +- drivers/scsi/ufs/tc-dwc-g210-pltfrm.c | 7 +- drivers/scsi/ufs/ufs-exynos.c | 7 +- drivers/scsi/ufs/ufs-fault-injection.c | 70 ++++ drivers/scsi/ufs/ufs-fault-injection.h | 24 ++ drivers/scsi/ufs/ufs-hisi.c | 7 +- drivers/scsi/ufs/ufs-mediatek.c | 7 +- drivers/scsi/ufs/ufs-qcom.c | 7 +- drivers/scsi/ufs/ufshcd-pci.c | 48 +-- drivers/scsi/ufs/ufshcd-pltfrm.c | 47 --- drivers/scsi/ufs/ufshcd-pltfrm.h | 18 - drivers/scsi/ufs/ufshcd.c | 491 +++++++++++-------------- drivers/scsi/ufs/ufshcd.h | 63 ++-- drivers/scsi/ufs/ufshci.h | 1 - 17 files changed, 373 insertions(+), 471 deletions(-) create mode 100644 drivers/scsi/ufs/ufs-fault-injection.c create mode 100644 drivers/scsi/ufs/ufs-fault-injection.h