All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Robert Ijtsma" <robertijtsma@gmail.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v3 2/2] arm64: dts: qcom: sc8180x: add IMEM and IPA nodes
Date: Mon, 30 Nov 2026 20:30:37 +0000	[thread overview]
Message-ID: <sashiko-outbox-241958@kernel.org> (raw)
In-Reply-To: <20261130-sc8180x-dts-ipa-v3-2-141ff9b0d2ef@gmail.com>

Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Medium] arm64: dts: qcom: sc8180x: undocumented qcom,sc8180x-ipa
  compatible
- [Low] arm64: dts: qcom: sc8180x: oversized ipa-shared reg region in
  ipa@1e40000
--

commit 639caa6789a911227c428e0f6f437f7888faa8a0
Author: Robert Ijtsma <robertijtsma@gmail.com>

arm64: dts: qcom: sc8180x: add IMEM and IPA nodes

This commit adds the on-chip IMEM SRAM node with the IPA modem-tables
region and the disabled IPA v4.1 node to sc8180x.dtsi.

> diff --git a/arch/arm64/boot/dts/qcom/sc8180x.dtsi b/arch/arm64/boot/dts/qcom/sc8180x.dtsi
> index a85e3211958d1..0189b9d7d8a80 100644
> --- a/arch/arm64/boot/dts/qcom/sc8180x.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sc8180x.dtsi
> @@ -2253,6 +2253,51 @@ ufs_mem_phy: phy-wrapper@1d87000 {
>  			status = "disabled";
>  		};
>  
> +		ipa: ipa@1e40000 {
> +			compatible = "qcom,sc8180x-ipa";

[Severity: Medium]
Is qcom,sc8180x-ipa missing from
Documentation/devicetree/bindings/net/qcom,ipa.yaml and from ipa_match[] in
drivers/net/ipa/ipa_main.c?

Without the binding entry and driver match data, dtbs_check reports an
undocumented compatible string on SC8180X devicetrees and enabling this node
in a board devicetree cannot bind to the IPA driver.

> +			reg = <0x0 0x01e40000 0x0 0x7000>,
> +			      <0x0 0x01e47000 0x0 0x19000>,
> +			      <0x0 0x01e04000 0x0 0x28000>;
> +			reg-names = "ipa-reg",
> +				    "ipa-shared",
> +				    "gsi";

[Severity: Low]
Should the ipa-shared region size be 0x2000 instead of 0x19000?

0x19000 covers the entire remainder of the 0x20000 IPA wrapper aperture
after ipa-reg rather than just the shared SRAM block (which is 0x2000 on
adjacent IPA v3.5.1 and v4.2 SoCs where ipa-shared starts at offset
0x7000).  ipa_mem_init() remaps the full resource with MEMREMAP_WC, and
ipa_mem_config() will log a "limiting IPA memory size" warning when the DT
resource exceeds the size reported by the hardware SHARED_MEM_SIZE
register.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261130-sc8180x-dts-ipa-v3-0-141ff9b0d2ef@gmail.com?part=2

      reply	other threads:[~2026-11-30 20:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30 20:11 [PATCH v3 0/2] arm64: dts: qcom: sc8180x: add IMEM and IPA nodes Robert Ijtsma
2026-11-30 20:11 ` Robert Ijtsma via B4 Relay
2026-11-30 20:11 ` [PATCH v3 1/2] dt-bindings: sram: document qcom,sc8180x-imem compatible Robert Ijtsma
2026-11-30 20:11   ` Robert Ijtsma via B4 Relay
2026-11-30 20:11 ` [PATCH v3 2/2] arm64: dts: qcom: sc8180x: add IMEM and IPA nodes Robert Ijtsma
2026-11-30 20:11   ` Robert Ijtsma via B4 Relay
2026-11-30 20:30   ` 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-241958@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=robertijtsma@gmail.com \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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.