From: Pengpeng Hou <hppiscas@163.com>
To: djakov@kernel.org
Cc: linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org,
linux-kernel@vger.kernel.org, hppiscas@163.com
Subject: [PATCH] interconnect: qcom: select REGMAP_MMIO for RPM and RPMh
Date: Mon, 30 Nov 2026 21:06:56 +0800 [thread overview]
Message-ID: <20261130130656.79415-1-hppiscas@163.com> (raw)
The RPM and RPMh interconnect implementations create MMIO regmaps
for their register resources. INTERCONNECT_QCOM_SMD_RPM and
INTERCONNECT_QCOM_RPMH do not select the MMIO regmap backend,
leaving unresolved initialization calls when it is not enabled
elsewhere.
Select REGMAP_MMIO from both implementation symbols. This ties the
dependency to the objects making the calls rather than enabling it
unconditionally from the top-level Qualcomm interconnect option.
The issue was found by our static-analysis tool and manually reviewed.
Fixes: 2b6c7d645118 ("interconnect: sdm660: merge common code into icc-rpm")
Fixes: 0a7be6b35da8 ("interconnect: qcom: icc-rpmh: Add QoS configuration support")
Signed-off-by: Pengpeng Hou <hppiscas@163.com>
---
AI assistance: gpt 5 (patch preparation and review).
drivers/interconnect/qcom/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/interconnect/qcom/Kconfig b/drivers/interconnect/qcom/Kconfig
index 7f3a977..634ab92 100644
--- a/drivers/interconnect/qcom/Kconfig
+++ b/drivers/interconnect/qcom/Kconfig
@@ -250,6 +250,7 @@ config INTERCONNECT_QCOM_RPMH_POSSIBLE
config INTERCONNECT_QCOM_RPMH
tristate
+ select REGMAP_MMIO
config INTERCONNECT_QCOM_SA8775P
tristate "Qualcomm SA8775P interconnect driver"
@@ -527,3 +528,4 @@ config INTERCONNECT_QCOM_X1E80100
config INTERCONNECT_QCOM_SMD_RPM
tristate
+ select REGMAP_MMIO
base-commit: fe6ff8d5d675c01793b9f051d16055dd4aa75244
next reply other threads:[~2026-11-30 13:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 13:06 Pengpeng Hou [this message]
2026-11-30 13:28 ` Konrad Dybcio
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261130130656.79415-1-hppiscas@163.com \
--to=hppiscas@163.com \
--cc=djakov@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®