All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Thierry Reding" <thierry.reding@kernel.org>
Cc: robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH 1/8] ARM: tegra: Clean up AHUB on Tegra124
Date: Wed, 02 Sep 2026 10:23:09 +0000	[thread overview]
Message-ID: <20260902102310.3A8911F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260902-tegra-ahub-dt-cleanup-v1-1-028f3c5e72f6@nvidia.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] The child bus address in the 'ranges' property of the ahub node is missing a trailing zero, breaking address translation for all I2S/AHUB child nodes.
--

commit 801981d1969d9fdac375d63ff0a71f218d782d11
Author: Thierry Reding <treding@nvidia.com>

ARM: tegra: Clean up AHUB on Tegra124

This commit updates the #address-cells and #size-cells properties to <1> 
for the AHUB on Tegra124, since 64-bit addressing is unnecessary for this 
hardware. It also adjusts the ranges property to encompass the entire AHUB 
range according to the TRM.

> diff --git a/arch/arm/boot/dts/nvidia/tegra124.dtsi b/arch/arm/boot/dts/nvidia/tegra124.dtsi
> index ce4efa1de509b..7a71dba42dc0c 100644
> --- a/arch/arm/boot/dts/nvidia/tegra124.dtsi
> +++ b/arch/arm/boot/dts/nvidia/tegra124.dtsi
> @@ -1114,13 +1114,13 @@ ahub@70300000 {
[ ... ]
> -		ranges;
> -		#address-cells = <2>;
> -		#size-cells = <2>;
> +		ranges = <0x7030000 0x0 0x70300000 0x10000>;

[Severity: High]
Does this child bus address miss a trailing zero? The ranges property here 
specifies a child base address of 0x7030000, but it looks like it should 
be 0x70300000 to match the ahub node address and the subsequent child 
device addresses.

If the child base address is set to 0x7030000, wouldn't the translation map 
fail to cover child nodes starting at 0x70301000 (such as tegra_i2s0)? This 
appears to cause all I2S and other audio devices under the AHUB to fail to 
probe unconditionally on boot, since the OF core cannot translate their 
memory addresses properly.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260902-tegra-ahub-dt-cleanup-v1-0-028f3c5e72f6@nvidia.com?part=1

  reply	other threads:[~2026-09-02 10:23 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-02 10:17 [PATCH 0/8] arm64: tegra: Clean up AHUB device tree nodes Thierry Reding
2026-09-02 10:17 ` [PATCH 1/8] ARM: tegra: Clean up AHUB on Tegra124 Thierry Reding
2026-09-02 10:23   ` sashiko-bot [this message]
2026-09-02 10:17 ` [PATCH 2/8] arm64: tegra: Clean up AHUB on Tegra132 Thierry Reding
2026-09-02 10:17 ` [PATCH 3/8] arm64: tegra: Adjust AHUB range on Tegra210 Thierry Reding
2026-09-02 10:17 ` [PATCH 4/8] arm64: tegra: Clean up AHUB on Tegra186 Thierry Reding
2026-09-02 10:17 ` [PATCH 5/8] arm64: tegra: Clean up AHUB on Tegra194 Thierry Reding
2026-09-02 10:17 ` [PATCH 6/8] arm64: tegra: Clean up AHUB on Tegra234 Thierry Reding
2026-09-02 10:17 ` [PATCH 7/8] arm64: tegra: Clean up AHUB on Tegra264 Thierry Reding
2026-09-02 10:31   ` sashiko-bot
2026-09-10 16:36   ` Jon Hunter
2026-09-11 10:32     ` Thierry Reding
2026-09-02 10:17 ` [PATCH 8/8] arm64: tegra: Clean up some whitespace issues " Thierry Reding
2026-09-10 13:31 ` (subset) [PATCH 0/8] arm64: tegra: Clean up AHUB device tree nodes Thierry Reding

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=20260902102310.3A8911F000E9@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=thierry.reding@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 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.