[PATCH V3 0/5] Enable UFS MCQ support for SM8650 and SM8750

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux