From: Navya Malempati <navya.malempati@oss.qualcomm.com>
To: Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
Navya Malempati <navya.malempati@oss.qualcomm.com>
Subject: [PATCH v2] soc: qcom: qcom_stats: Add support for NSP subsystem stats
Date: Mon, 02 Nov 2026 09:05:12 +0530 [thread overview]
Message-ID: <20261102-nord_stats-v2-1-0f690148e7c9@oss.qualcomm.com> (raw)
Add SMEM items for four NSP subsystems stats which are present in Nord
SoC. Rename CDSP stats as CDSP_NSP as both use same PID and SMEM item
id. Add new entries for NSP1/2/3.
Signed-off-by: Navya Malempati <navya.malempati@oss.qualcomm.com>
---
Changes in v2:
- Add comments for the cdsp/cdsp_nsp instances with further details.
- These comments explain on the naming of those instances.
- Link to v1: https://patch.msgid.link/20260908-nord_stats-v1-1-a55adb083d65@oss.qualcomm.com
To: Bjorn Andersson <andersson@kernel.org>
To: Konrad Dybcio <konradybcio@kernel.org>
Cc: linux-arm-msm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
---
drivers/soc/qcom/qcom_stats.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/soc/qcom/qcom_stats.c b/drivers/soc/qcom/qcom_stats.c
index 06923408bfce..2ff0123a7804 100644
--- a/drivers/soc/qcom/qcom_stats.c
+++ b/drivers/soc/qcom/qcom_stats.c
@@ -43,8 +43,11 @@ static const struct subsystem_data subsystems[] = {
{ "modem", 605, 1 },
{ "wpss", 605, 13 },
{ "adsp", 606, 2 },
- { "cdsp", 607, 5 },
+ { "cdsp_nsp", 607, 5 },
{ "cdsp1", 607, 12 },
+ { "cdsp_nsp_1", 607, 69 }, /* newer SoCs (Nord) use a different PID for cdsp1 */
+ { "cdsp_nsp_2", 607, 133 },
+ { "cdsp_nsp_3", 607, 197 },
{ "gpdsp0", 607, 17 },
{ "gpdsp1", 607, 18 },
{ "soccp", 607, 19 },
---
base-commit: af5f12805e5cefa4fe68d6127c7e1fb78cd5535c
change-id: 20260907-nord_stats-ea163d025d43
Best regards,
--
Navya Malempati <navya.malempati@oss.qualcomm.com>
reply other threads:[~2026-11-02 3:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20261102-nord_stats-v2-1-0f690148e7c9@oss.qualcomm.com \
--to=navya.malempati@oss.qualcomm.com \
--cc=andersson@kernel.org \
--cc=konradybcio@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@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®