From: sashiko-bot@kernel.org
To: "Sumit Gupta" <sumitg@nvidia.com>
Cc: conor+dt@kernel.org, devicetree@vger.kernel.org, robh@kernel.org
Subject: Re: [PATCH v2 3/3] memory: tegra264: Add full set of MC clients
Date: Mon, 18 May 2026 13:33:08 +0000 [thread overview]
Message-ID: <20260518133308.E8B11C2BCC6@smtp.kernel.org> (raw)
In-Reply-To: <20260518124306.2071481-4-sumitg@nvidia.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] Newly added BPMP-managed memory clients are missing their `.bpmp_id` and `.type` interconnect properties.
--
commit 1230942ec14ede13ea86a9f95a6ff94371903b6d
Author: Sumit Gupta <sumitg@nvidia.com>
memory: tegra264: Add full set of MC clients
This commit extends the tegra264_mc_clients table to include the full set of
memory clients exposed by the SoC. The commit message notes that clients
managed by the BPMP bandwidth manager additionally carry their bpmp_id and
type.
> diff --git a/drivers/memory/tegra/tegra264.c b/drivers/memory/tegra/tegra264.c
> index e628908417255..b8d6c4ce48369 100644
> --- a/drivers/memory/tegra/tegra264.c
> +++ b/drivers/memory/tegra/tegra264.c
[ ... ]
> @@ -21,45 +21,62 @@
> */
> static const struct tegra_mc_client tegra264_mc_clients[] = {
[ ... ]
> + }, {
> + .id = TEGRA264_MEMORY_CLIENT_MGBE2R,
> + .name = "mgbe2r",
> + }, {
> + .id = TEGRA264_MEMORY_CLIENT_OFAR2MC,
> + .name = "ofar2mc",
> + }, {
> + .id = TEGRA264_MEMORY_CLIENT_OFAW2MC,
> + .name = "ofaw2mc",
> + }, {
> + .id = TEGRA264_MEMORY_CLIENT_MGBE2W,
> + .name = "mgbe2w",
> + }, {
> + .id = TEGRA264_MEMORY_CLIENT_MGBE3R,
> + .name = "mgbe3r",
> + }, {
> + .id = TEGRA264_MEMORY_CLIENT_MGBE3W,
> + .name = "mgbe3w",
Are the new MGBE2 and MGBE3 clients missing their interconnect properties?
Looking at the other EQOS clients like MGBE0R and MGBE1R, they correctly
initialize .bpmp_id = TEGRA264_BWMGR_EQOS and .type = TEGRA_ICC_NISO. If
these fields are omitted for MGBE2 and MGBE3, won't interconnect bandwidth
scaling requests for these blocks be silently ignored, potentially causing
hardware bandwidth starvation?
[ ... ]
> @@ -70,6 +87,15 @@ static const struct tegra_mc_client tegra264_mc_clients[] = {
> .name = "vicw",
> .bpmp_id = TEGRA264_BWMGR_VIC,
> .type = TEGRA_ICC_NISO,
> + }, {
> + .id = TEGRA264_MEMORY_CLIENT_VIW,
> + .name = "viw",
Does this missing bpmp_id issue also apply to other BPMP-managed
subsystems added in this patch, such as VIW?
[ ... ]
> @@ -110,6 +208,12 @@ static const struct tegra_mc_client tegra264_mc_clients[] = {
> .name = "rcew",
> .bpmp_id = TEGRA264_BWMGR_RCE,
> .type = TEGRA_ICC_NISO,
> + }, {
> + .id = TEGRA264_MEMORY_CLIENT_NVENC1SRD2MC,
> + .name = "nvenc1srd2mc",
> + }, {
> + .id = TEGRA264_MEMORY_CLIENT_NVENC1SWR2MC,
> + .name = "nvenc1swr2mc",
Are these newly added NVENC clients also missing their TEGRA264_BWMGR_NVENC
manager definitions?
Since the memory controller interconnect implementation skips bandwidth
scaling requests for clients without a bpmp_id, should these clients also
include their respective bpmp_id and type to ensure bandwidth requests
are processed?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260518124306.2071481-1-sumitg@nvidia.com?part=3
next prev parent reply other threads:[~2026-05-18 13:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-18 12:43 [PATCH v2 0/3] memory: tegra264: Add full set of MC clients Sumit Gupta
2026-05-18 12:43 ` [PATCH v2 1/3] memory: tegra264: Skip clients without bpmp_id or type Sumit Gupta
2026-05-18 12:43 ` [PATCH v2 2/3] dt-bindings: memory: tegra264: Add full set of MC client IDs Sumit Gupta
2026-05-18 13:10 ` sashiko-bot
2026-05-18 17:51 ` Sumit Gupta
2026-05-18 12:43 ` [PATCH v2 3/3] memory: tegra264: Add full set of MC clients Sumit Gupta
2026-05-18 13:33 ` sashiko-bot [this message]
2026-05-18 18:01 ` Sumit Gupta
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=20260518133308.E8B11C2BCC6@smtp.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=sumitg@nvidia.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox