All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Venkat Yadlapati" <venkat.yadlapati@yahoo.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH 2/2] interconnect: qcom: Add Molokai interconnect provider driver
Date: Fri, 27 Nov 2026 18:46:12 +0000	[thread overview]
Message-ID: <sashiko-outbox-238105@kernel.org> (raw)
In-Reply-To: <20261128-molokai-icc-v1-2-a5e1754f086d@yahoo.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [High] interconnect: qcom: molokai: qxm_crypto links to qns_a1noc_snoc
  on wrong NoC
--

commit c2464ba1db6c9ac8e7d96e48010ba2c7356fb696
Author: Venkat Yadlapati <venkat.yadlapati@yahoo.com>

interconnect: qcom: Add Molokai interconnect provider driver

This commit adds the RPMh interconnect provider driver for the Qualcomm
Molokai (SM8845) SoC.

> diff --git a/drivers/interconnect/qcom/molokai.c b/drivers/interconnect/qcom/molokai.c
> new file mode 100644
> index 0000000000000..72c238b326187
> --- /dev/null
> +++ b/drivers/interconnect/qcom/molokai.c
> @@ -0,0 +1,1753 @@

[ ... ]

> +static struct qcom_icc_node qxm_crypto = {
> +	.name = "qxm_crypto",
> +	.channels = 1,
> +	.buswidth = 16,
> +	.qosbox = &(const struct qcom_icc_qosbox) {
> +		.num_ports = 1,
> +		.port_offsets = { 0x16000 },
> +		.prio = 2,
> +		.urg_fwd = 0,
> +		.prio_fwd_disable = 1,
> +	},
> +	.num_links = 1,
> +	.link_nodes = { &qns_a1noc_snoc },
> +};

[Severity: High]
Should qxm_crypto link to qns_a2noc_snoc instead of qns_a1noc_snoc?

qxm_crypto is registered in aggre2_noc_nodes under molokai_aggre2_noc,
while qns_a1noc_snoc belongs to molokai_aggre1_noc.  Because
apply_constraints() skips calling provider->set() across provider
boundaries when inter_set is not set, a path from MASTER_CRYPTO never runs
set() on molokai_aggre2_noc and routes through qnm_aggre1_noc (bcm_sn2)
instead of qnm_aggre2_noc (bcm_sn3).

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261128-molokai-icc-v1-0-a5e1754f086d@yahoo.com?part=2

      reply	other threads:[~2026-11-27 18:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27 18:38 [PATCH 0/2] interconnect: qcom: Add the Molokai interconnect providers Venkat Yadlapati
2026-11-27 18:38 ` Venkat Yadlapati via B4 Relay
2026-11-27 18:38 ` [PATCH 1/2] dt-bindings: interconnect: qcom: Add Molokai RPMh NoC Venkat Yadlapati
2026-11-27 18:38   ` Venkat Yadlapati via B4 Relay
2026-11-27 18:38 ` [PATCH 2/2] interconnect: qcom: Add Molokai interconnect provider driver Venkat Yadlapati
2026-11-27 18:38   ` Venkat Yadlapati via B4 Relay
2026-11-27 18:46   ` sashiko-bot [this message]

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=sashiko-outbox-238105@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=venkat.yadlapati@yahoo.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.