Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Wangao Wang" <wangao.wang@oss.qualcomm.com>
Cc: robh@kernel.org, devicetree@vger.kernel.org,
	media-ci@linuxtv.org, conor+dt@kernel.org
Subject: Re: [PATCH v2 3/5] arm64: dts: qcom: eliza: Add iris video codec node
Date: Mon, 21 Sep 2026 10:04:13 +0000	[thread overview]
Message-ID: <20260921100413.7C0421F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260921-add_iris_for_eliza-v2-3-5fe7be8c0230@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] dts: qcom: eliza: iommus hidden in subnodes causing SMMU bypass
--

commit b77780d6cb2ef27e94100c8e74b32f91454ac5cd
Author: Wangao Wang <wangao.wang@oss.qualcomm.com>

arm64: dts: qcom: eliza: Add iris video codec node

This commit adds the Iris video codec hardware node for the Eliza SoC.
It defines the hardware at 0xaa00000, including interconnects, clocks,
power domains, and operating points.

> diff --git a/arch/arm64/boot/dts/qcom/eliza.dtsi b/arch/arm64/boot/dts/qcom/eliza.dtsi
> --- a/arch/arm64/boot/dts/qcom/eliza.dtsi
> +++ b/arch/arm64/boot/dts/qcom/eliza.dtsi
[ ... ]
> +		iris: video-codec@aa00000 {
> +			compatible = "qcom,eliza-iris";
> +			reg = <0 0xaa00000 0 0xf0000>;
[ ... ]
> +			status = "disabled";
> +
> +			non-pixel {
> +				iommus = <&apps_smmu 0x1940 0x0>;
> +				iommu-ranges = <0x25800000 0xba800000>;
> +			};
> +
> +			pixel {
> +				iommus = <&apps_smmu 0x1947 0x0>;
> +			};

[Severity: High]
Does this break the IOMMU configuration for the upstream iris driver?

The mainline devicetree binding and Linux driver core expect the iommus
property directly on the main iris device node (video-codec@aa00000) to
correctly attach it to an IOMMU domain.

Placing the iommus configuration inside non-pixel and pixel subnodes appears
to rely on downstream parsing behavior. Because the upstream iris driver does
not parse these subnodes, the main device will lack an IOMMU attachment.
Will this cause subsequent DMA allocations to bypass the SMMU or fail entirely,
leading to SMMU context faults when dealing with IOVAs?

Additionally, does this node structure fail dtbs_check validation since
the subnodes and the iommu-ranges property are forbidden by the upstream
bindings?

[ ... ]

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260921-add_iris_for_eliza-v2-0-5fe7be8c0230@oss.qualcomm.com?part=3

  reply	other threads:[~2026-09-21 10:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-21  9:51 [PATCH v2 0/5] media: iris: Enable Iris video codec on Eliza Wangao Wang
2026-09-21  9:51 ` [PATCH v2 1/5] dt-bindings: media: qcom,sm8550-iris: Document Eliza IRIS accelerator Wangao Wang
2026-09-21  9:51 ` [PATCH v2 2/5] media: iris: Add support for Eliza Wangao Wang
2026-09-22 18:28   ` Vikash Garodia
2026-09-21  9:51 ` [PATCH v2 3/5] arm64: dts: qcom: eliza: Add iris video codec node Wangao Wang
2026-09-21 10:04   ` sashiko-bot [this message]
2026-09-22 18:29   ` Vikash Garodia
2026-09-21  9:51 ` [PATCH v2 4/5] arm64: dts: qcom: eliza-mtp: Enable iris video codec Wangao Wang
2026-09-21  9:51 ` [PATCH v2 5/5] arm64: dts: qcom: eliza-evk: " Wangao Wang

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=20260921100413.7C0421F000FF@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=media-ci@linuxtv.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=wangao.wang@oss.qualcomm.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