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-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250704-topic-qcom_ufs_mcq_cleanup-v1-4-c70d01b3d334@oss.qualcomm.com>
Date: Fri, 04 Jul 2025 19:36:12 +0200
From: Konrad Dybcio <konradybcio@...nel.org>
To: Manivannan Sadhasivam <mani@...nel.org>, 
 "James E.J. Bottomley" <James.Bottomley@...senPartnership.com>, 
 "Martin K. Petersen" <martin.petersen@...cle.com>, 
 Asutosh Das <quic_asutoshd@...cinc.com>, 
 Bart Van Assche <bvanassche@....org>, 
 Stanley Chu <stanley.chu@...iatek.com>
Cc: Marijn Suijten <marijn.suijten@...ainline.org>, 
 Can Guo <quic_cang@...cinc.com>, Nitin Rawat <quic_nitirawa@...cinc.com>, 
 linux-arm-msm@...r.kernel.org, linux-scsi@...r.kernel.org, 
 linux-kernel@...r.kernel.org, 
 Konrad Dybcio <konrad.dybcio@....qualcomm.com>
Subject: [PATCH RFC/RFT 4/5] ufs: ufs-qcom: Rename "mcq_sqd" to "mcq_opr"

From: Konrad Dybcio <konrad.dybcio@....qualcomm.com>

SQD is a confusing name for the register block that hosts all the
opregions, each one of which contains SQD/CQD/SQI/CQI subregions.

Rename it since there are not even dt-bindings for this and therefore
no users

Signed-off-by: Konrad Dybcio <konrad.dybcio@....qualcomm.com>
---
 drivers/ufs/host/ufs-qcom.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/ufs/host/ufs-qcom.c b/drivers/ufs/host/ufs-qcom.c
index 52dc0da042cb62a6c28b40e429773808299e102f..2953b86029cfa1e5fdaa75e2917cad79576947e2 100644
--- a/drivers/ufs/host/ufs-qcom.c
+++ b/drivers/ufs/host/ufs-qcom.c
@@ -1896,21 +1896,21 @@ static int ufs_qcom_mcq_config_resource(struct ufs_hba *hba)
 {
 	struct platform_device *pdev = to_platform_device(hba->dev);
 	struct ufs_qcom_host *host = ufshcd_get_variant(hba);
-	struct resource *sqd_res;
+	struct resource *opr_res;
 
 	hba->mcq_base = devm_platform_ioremap_resource_byname(pdev, "mcq");
 	if (!hba->mcq_base)
 		return -EINVAL;
 
-	sqd_res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "mcq_sqd");
-	if (!sqd_res)
+	opr_res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "mcq_opr");
+	if (!opr_res)
 		return -EINVAL;
 
-	host->opr_start_base = devm_ioremap_resource(hba->dev, sqd_res);
+	host->opr_start_base = devm_ioremap_resource(hba->dev, opr_res);
 	if (!host->opr_start_base)
 		return -EINVAL;
 
-	host->opr_start_off = sqd_res->start - hba->hci_res->start;
+	host->opr_start_off = opr_res->start - hba->hci_res->start;
 
 	host->mcq_vs_base = devm_platform_ioremap_resource_byname(pdev, "mcq_vs");
 	if (!host->mcq_vs_base)

-- 
2.50.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ