ufs: Let the SCSI core allocate per-command UFS data
Status from this message: Applied to 5.7/scsi-queue. Thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 4 repliesApplied
- v14 patches 10 repliesSuperseded
Changes in v2 from the cover letter
- Restored an accidentally removed ufshcd_release() call in an error path in ufshcd_queuecommand().
- Check whether ufshcd_tag_to_lrb() returns a non-NULL pointer in ufshcd_eh_device_reset_handler().
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | Introduce {init,exit}_cmd_priv()drivers/ include/ | +26 | 0 replies | |
| 2/4 | ufs: Introduce ufshcd_init_lrb()drivers/ | +22 | 0 replies | |
| 3/4 | ufs: Simplify two testsdrivers/ | +2 | 0 replies | |
| 4/4 | ufs: Let the SCSI core allocate per-command UFS datadrivers/ drivers/ | +128 | 0 replies |
Reviews trailers per patch
3 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Avri Altman | Alim Akhtar | Asutosh Das | Stanley Chu |
|---|---|---|---|---|
| 1/4 | ||||
| 2/4 | R-b | R-b | ||
| 3/4 | R-b | R-b | R-b | |
| 4/4 | R-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 4 reviewers.
Cover letter [PATCH v2 0/4] ufs: Let the SCSI core allocate per-command UFS data
Hi Martin,
This patch series lets the SCSI core allocate per-command UFS data and hence simplifies and micro-optimizes the UFS driver. Please consider this patch series for the v5.6 kernel.
Thanks,
Bart.
Changes compared to v1:
- Restored an accidentally removed ufshcd_release() call in an error path in ufshcd_queuecommand().
- Check whether ufshcd_tag_to_lrb() returns a non-NULL pointer in ufshcd_eh_device_reset_handler().
Bart Van Assche (4):
Introduce {init,exit}_cmd_priv()
ufs: Introduce ufshcd_init_lrb()
ufs: Simplify two tests
ufs: Let the SCSI core allocate per-command UFS data
drivers/scsi/scsi_lib.c | 29 ++++- drivers/scsi/ufs/ufshcd.c | 238 ++++++++++++++++++++++++-------------- drivers/scsi/ufs/ufshcd.h | 5 - include/scsi/scsi_host.h | 3 + 4 files changed, 177 insertions(+), 98 deletions(-)