lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250821112403.12078-1-quic_rdwivedi@quicinc.com>
Date: Thu, 21 Aug 2025 16:53:58 +0530
From: Ram Kumar Dwivedi <quic_rdwivedi@...cinc.com>
To: <andersson@...nel.org>, <konradybcio@...nel.org>, <robh@...nel.org>,
        <krzk+dt@...nel.org>, <conor+dt@...nel.org>, <mani@...nel.org>,
        <James.Bottomley@...senPartnership.com>, <martin.petersen@...cle.com>
CC: <linux-arm-msm@...r.kernel.org>, <devicetree@...r.kernel.org>,
        <linux-kernel@...r.kernel.org>, <linux-scsi@...r.kernel.org>
Subject: [PATCH V3 0/5] Enable UFS MCQ support for SM8650 and SM8750

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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ