[PATCH V5 0/3] ufs: ufs-qcom: Align programming sequence as per HW spec

Nitin Rawat posted 3 patches 2 months, 3 weeks ago
drivers/ufs/core/ufshcd.c   | 24 ++++++++++++++++++++++++
drivers/ufs/host/ufs-qcom.c | 24 ++++++++++++++++++++++--
drivers/ufs/host/ufs-qcom.h |  9 +++++++++
include/ufs/ufshcd.h        |  1 +
4 files changed, 56 insertions(+), 2 deletions(-)
[PATCH V5 0/3] ufs: ufs-qcom: Align programming sequence as per HW spec
Posted by Nitin Rawat 2 months, 3 weeks ago
This patch series adds programming support for Qualcomm UFS
to align with Hardware Specification.

In this patch series below changes are taken care.

1. Enable QUnipro Internal Clock Gating
2. Update esi_vec_mask for HW major version >= 6

Changes from v4:
1. Addressed konrad comment to remove Reported-by: kernel test
   robot tag.

Changes from v3:
1. Updated the kernel-doc comment for function ufshcd_dme_rmw
   to include descriptions for all parameters to fix compilation
   warning (W=1).

Changes from v2:
1. Addressed bart's and Mani's comment to move ufshcd_dme_rmw
   to ufshcd.c
2. Addressed Mani's and bart's comment to avoid initialisation
   of cfg.
3. Addressed Mani's comment to update commit text.

Changes from v1:
1. Moved ufshcd_dme_rmw to ufshcd.h as per avri's comment.


Bao D. Nguyen (1):
  ufs: ufs-qcom: Update esi_vec_mask for HW major version >= 6

Nitin Rawat (2):
  scsi: ufs: core: Add ufshcd_dme_rmw to modify DME attributes
  ufs: ufs-qcom: Enable QUnipro Internal Clock Gating

 drivers/ufs/core/ufshcd.c   | 24 ++++++++++++++++++++++++
 drivers/ufs/host/ufs-qcom.c | 24 ++++++++++++++++++++++--
 drivers/ufs/host/ufs-qcom.h |  9 +++++++++
 include/ufs/ufshcd.h        |  1 +
 4 files changed, 56 insertions(+), 2 deletions(-)

--
2.48.1
Re: [PATCH V5 0/3] ufs: ufs-qcom: Align programming sequence as per HW spec
Posted by Martin K. Petersen 2 months, 2 weeks ago
On Mon, 14 Jul 2025 13:23:33 +0530, Nitin Rawat wrote:

> This patch series adds programming support for Qualcomm UFS
> to align with Hardware Specification.
> 
> In this patch series below changes are taken care.
> 
> 1. Enable QUnipro Internal Clock Gating
> 2. Update esi_vec_mask for HW major version >= 6
> 
> [...]

Applied to 6.17/scsi-queue, thanks!

[1/3] ufs: ufs-qcom: Update esi_vec_mask for HW major version >= 6
      https://git.kernel.org/mkp/scsi/c/7a9d5195a7f5
[2/3] scsi: ufs: core: Add ufshcd_dme_rmw to modify DME attributes
      https://git.kernel.org/mkp/scsi/c/c49601642f95
[3/3] ufs: ufs-qcom: Enable QUnipro Internal Clock Gating
      https://git.kernel.org/mkp/scsi/c/5a6f304f39c2

-- 
Martin K. Petersen	Oracle Linux Engineering
Re: [PATCH V5 0/3] ufs: ufs-qcom: Align programming sequence as per HW spec
Posted by Martin K. Petersen 2 months, 3 weeks ago
Nitin,

> This patch series adds programming support for Qualcomm UFS to align
> with Hardware Specification.

Applied to 6.17/scsi-staging, thanks!

-- 
Martin K. Petersen