Skip to content

Enable DMA clustering in the UFS driver

Bart Van Assche linux-scsi 2 versions – Applied

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 4 repliesApplied
  2. v13 patches 7 repliesSuperseded

Changes in v2 from the cover letter

- Expanded the description of patch 3/3.
- Reworked patch 2/3 such that setting host->max_segment_size no longer races with LUN scanning.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3scsi: ufs: Exynos: Fix DMA alignment for PAGE_SIZE != 4096drivers/ufs/core/ufshcd.c drivers/ufs/host/ufs-exynos.c include/ufs/ufshcd.h+5 -50 replies
2/3scsi: ufs: Exynos: Fix the maximum segment sizedrivers/ufs/host/ufs-exynos.c+8 -02 replies
3/3scsi: ufs: Enable DMA clusteringdrivers/ufs/core/ufshcd.c+0 -11 reply

Reviews trailers per patch

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

PatchAlim AkhtarAdrian Hunter
1/3R-b T-b
2/3R-b T-b
3/3R-b A-b

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

Read the v2 thread

Cover letter [PATCH v2 0/3] Enable DMA clustering in the UFS driver

Hi Martin,

The third patch in this series enables DMA clustering in the UFS driver since UFS host controllers support DMA clustering. The first two patches fix bugs in the Exynos host controller driver.

Please consider this patch series for the next merge window.

Thanks,

Bart.

Changes compared to v1:
- Expanded the description of patch 3/3.
- Reworked patch 2/3 such that setting host->max_segment_size no longer races with LUN scanning.

Bart Van Assche (3):
scsi: ufs: Exynos: Fix DMA alignment for PAGE_SIZE != 4096
scsi: ufs: Exynos: Fix the maximum segment size
scsi: ufs: Enable DMA clustering

 drivers/ufs/core/ufshcd.c     |  5 ++---
 drivers/ufs/host/ufs-exynos.c | 10 +++++++++-
 include/ufs/ufshcd.h          |  4 ++--
 3 files changed, 13 insertions(+), 6 deletions(-)