Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Xilin Wu" <sophon@radxa.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v2] arm64: dts: qcom: sc8280xp: Add missing Iris pixel stream ID
Date: Fri, 27 Nov 2026 08:41:57 +0000	[thread overview]
Message-ID: <sashiko-outbox-236894@kernel.org> (raw)
In-Reply-To: <20261127-sc8280xp-iris-iommu-v2-1-34692fff579f@radxa.com>

Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Low] arm64: dts: qcom: sc8280xp iris iommus exceeds sm8250-venus
  schema maxItems
- [Low] arm64: dts: qcom: sc8280xp: missing Fixes trailer for commit
  3a52eef16b97
--

commit bd0038d3876f2b669877bf5936ce392d140b4568
Author: Xilin Wu <sophon@radxa.com>

> arm64: dts: qcom: sc8280xp: Add missing Iris pixel stream ID
>
> The Iris VPU on SC8280XP uses separate stream IDs for its non-secure
> non-pixel and pixel traffic, 0x2a00 and 0x2a07 respectively. This is
> the same split as 0x1940/0x1947 on SM8550 and later platforms. Only
> 0x2a00 is described today.
>
> The Gen1 HFI firmware sends all non-secure traffic through 0x2a00, so
> this went unnoticed. The Gen2 HFI firmware puts pixel traffic, such as
> writes to decoded picture buffers, on 0x2a07. No SMR matches that
> stream, so the SMMU raises an unidentified stream fault, which TZ
> treats as fatal and resets the SoC:
>
>   SMMU:>> 0x15000000 NonSec Global Fault: NSGFSR=0x80000002, NSGFAR1=0x0, NSGFAR0=0xcfc03000, NSGFSYNR0=0x2, NSGFSYNR1=0x2a072a07, NSGFSYNR2=0x0, NSCR0=0x280406
>   Fatal Error type: TZBSP_ERR_FATAL_SMMU_FAULT
>
> Add the pixel stream ID so both streams are attached to the Iris
> device.
>
> Signed-off-by: Xilin Wu <sophon@radxa.com>

[Severity: Low]
Since this fixes the incomplete stream ID description on the SC8280XP
Iris node, should this include a Fixes tag?

  Fixes: 3a52eef16b97 ("arm64: dts: qcom: sc8280xp: Add Iris core")

> diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
> index 703b4f4e20598..328f64af863a5 100644
> --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
> @@ -4266,7 +4266,8 @@ &config_noc SLAVE_VENUS_CFG QCOM_ICC_TAG_ACTIVE_ONLY>,
>  					     "video-mem";
>  
>  			operating-points-v2 = <&iris_opp_table>;
> -			iommus = <&apps_smmu 0x2a00 0x400>;
> +			iommus = <&apps_smmu 0x2a00 0x400>,
> +				 <&apps_smmu 0x2a07 0x400>;

[Severity: Low]
Does adding a second iommus entry cause dtbs_check validation to fail
against Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml?

The iris node matches "qcom,sc8280xp-iris", "qcom,sm8250-venus", and
that binding currently restricts iommus to maxItems: 1.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261127-sc8280xp-iris-iommu-v2-1-34692fff579f@radxa.com?part=1

      reply	other threads:[~2026-11-27  8:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27  8:32 [PATCH v2] arm64: dts: qcom: sc8280xp: Add missing Iris pixel stream ID Xilin Wu
2026-11-27  8:41 ` 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-236894@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=sophon@radxa.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