linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V3 0/5] Enable UFS MCQ support for SM8650 and SM8750
@ 2025-08-21 11:23 Ram Kumar Dwivedi
  2025-08-21 11:23 ` [PATCH V3 1/5] ufs: ufs-qcom: Streamline UFS MCQ resource mapping Ram Kumar Dwivedi
                   ` (4 more replies)
  0 siblings, 5 replies; 21+ messages in thread
From: Ram Kumar Dwivedi @ 2025-08-21 11:23 UTC (permalink / raw)
  To: andersson, konradybcio, robh, krzk+dt, conor+dt, mani,
	James.Bottomley, martin.petersen
  Cc: linux-arm-msm, devicetree, linux-kernel, linux-scsi

This patch series enables Multi-Circular Queue (MCQ) support for the UFS
host controller on Qualcomm SM8650 and SM8750 platforms. MCQ improves
performance and scalability by allowing multiple hardware queues.

The series streamlines MCQ resource mapping by using a single MCQ region
mapping instead of multiple separate resource regions, making the driver
more maintainable and less prone to resource mapping errors.

Patch 1 streamlines UFS MCQ resource mapping with a single MCQ region
mapping, simplifying the current approach that involved multiple resource
mappings and dynamic resource allocation.

Patch 2 refactors MCQ register dump logic to align with the new resource
mapping approach, updating function signatures and using direct base
addresses.

Patch 3 removes the unused ufshcd_res_info structure and associated enum
definitions that are no longer needed after the resource mapping refactor.

Patches 4 and 5 update the device trees for SM8650 and SM8750 respectively
to enable MCQ by adding the necessary register mappings and MSI parent.

Tested on SM8650 and SM8750.

Changes from v2:
1. Removed dt-bindings patch as existing binding supports required
   reg-names format.
2. Added patch to refactor MCQ register dump logic for new resource
   mapping.
3. Added patch to remove unused ufshcd_res_info structure from UFS core.
4. Changed reg-names from "ufs_mem" to "std" in device tree patches.
5. Reordered patches with driver changes first, then device tree changes.
6. Updated SM8750 MCQ region size from 0x2000 to 0x15000

Nitin Rawat (3):
  ufs: ufs-qcom: Streamline UFS MCQ resource mapping
  ufs: ufs-qcom: Refactor MCQ register dump logic
  scsi: ufs: core: Remove unused ufshcd_res_info structure

Palash Kambar (1):
  arm64: dts: qcom: sm8750: Enable MCQ support for UFS controller

Ram Kumar Dwivedi (1):
  arm64: dts: qcom: sm8650: Enable MCQ support for UFS controller

 arch/arm64/boot/dts/qcom/sm8650.dtsi |   7 +-
 arch/arm64/boot/dts/qcom/sm8750.dtsi |   8 +-
 drivers/ufs/host/ufs-qcom.c          | 180 +++++++++++----------------
 drivers/ufs/host/ufs-qcom.h          |  22 +++-
 include/ufs/ufshcd.h                 |  25 ----
 5 files changed, 104 insertions(+), 138 deletions(-)

-- 
2.50.1


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2025-09-03 13:34 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-21 11:23 [PATCH V3 0/5] Enable UFS MCQ support for SM8650 and SM8750 Ram Kumar Dwivedi
2025-08-21 11:23 ` [PATCH V3 1/5] ufs: ufs-qcom: Streamline UFS MCQ resource mapping Ram Kumar Dwivedi
2025-08-22  9:04   ` Manivannan Sadhasivam
2025-09-03  7:27     ` Nitin Rawat
2025-08-21 11:24 ` [PATCH V3 2/5] ufs: ufs-qcom: Refactor MCQ register dump logic Ram Kumar Dwivedi
2025-08-22  9:08   ` Manivannan Sadhasivam
2025-08-22 17:49     ` Ram Kumar Dwivedi
2025-08-21 11:24 ` [PATCH V3 3/5] scsi: ufs: core: Remove unused ufshcd_res_info structure Ram Kumar Dwivedi
2025-08-21 11:48   ` Krzysztof Kozlowski
2025-09-01 16:08     ` Nitin Rawat
2025-09-02  6:18       ` Krzysztof Kozlowski
2025-09-03 13:28       ` Manivannan Sadhasivam
2025-09-03 13:34         ` Nitin Rawat
2025-08-21 11:24 ` [PATCH V3 4/5] arm64: dts: qcom: sm8650: Enable MCQ support for UFS controller Ram Kumar Dwivedi
2025-08-21 11:49   ` Krzysztof Kozlowski
2025-08-29 16:18     ` Manivannan Sadhasivam
2025-08-30  8:43       ` Krzysztof Kozlowski
2025-09-01  4:15         ` Manivannan Sadhasivam
2025-09-01  8:05           ` Krzysztof Kozlowski
2025-09-01 14:50             ` Nitin Rawat
2025-08-21 11:24 ` [PATCH V3 5/5] arm64: dts: qcom: sm8750: " Ram Kumar Dwivedi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).