Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Atanas Filipov" <atanas.filipov@oss.qualcomm.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org,
	media-ci@linuxtv.org
Subject: Re: [PATCH v2 09/10] arm64: dts: qcom: sc7280: add the Titan camera NoC node
Date: Fri, 04 Dec 2026 08:30:24 +0000	[thread overview]
Message-ID: <sashiko-outbox-249395@kernel.org> (raw)
In-Reply-To: <20261204075339.4077387-10-atanas.filipov@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 3 potential
issues to consider:
- [High] arm64: dts: qcom: kodiak: enabled cam_icc stalls icc and rpmhpd
  sync_state
- [Medium] arm64: dts: qcom: kodiak: cam_icc cfg path uses
  QCOM_ICC_TAG_ALWAYS
- [Low] arm64: dts: qcom: commit subject uses sc7280 prefix instead of
  kodiak
--

commit 71c9488946dafbd687b43c8969d6e6461f01f63f
Author: Atanas Filipov <atanas.filipov@oss.qualcomm.com>

arm64: dts: qcom: sc7280: add the Titan camera NoC node

This commit adds the Titan camera NoC interconnect provider node (cam_icc)
to kodiak.dtsi along with its OPP table, clocks, power domains, and
interconnect paths.

> arm64: dts: qcom: sc7280: add the Titan camera NoC node

[Severity: Low]
Should the subject prefix be "arm64: dts: qcom: kodiak:" to match
kodiak.dtsi?  Commit dd6edcd7d3e4 ("arm64: dts: qcom: rename sc7280 to
kodiak") renamed this file because SC7280, QCM6490, and QCS6490 share the
kodiak die.

> diff --git a/arch/arm64/boot/dts/qcom/kodiak.dtsi b/arch/arm64/boot/dts/qcom/kodiak.dtsi
> index 10e9a5279ed60..b331a4461719e 100644
> --- a/arch/arm64/boot/dts/qcom/kodiak.dtsi
> +++ b/arch/arm64/boot/dts/qcom/kodiak.dtsi
> @@ -5179,6 +5179,67 @@ cci1_i2c1: i2c-bus@1 {
>  			};
>  		};
>  
> +		cam_icc: interconnect@ac9f000 {
> +			compatible = "qcom,sc7280-cam-icc";
> +			reg = <0 0x0ac9f000 0 0x10000>;

[Severity: High]
Does leaving cam_icc enabled by default stall icc_sync_state() and
rpmhpd_sync_state() when the camera drivers are not loaded?

Because cam_icc is available with #interconnect-cells,
of_count_icc_providers() counts it in providers_count and fw_devlink
tracks it on <&rpmhpd SC7280_CX>.  CONFIG_QCOM_CAM_ICC is under
MEDIA_SUPPORT (=m in arm64 defconfig), so non-media builds leave it unbound.

As a result, icc_sync_state() never releases the INT_MAX boot-floor votes
on the SC7280 NoCs, and rpmhpd_aggregate_corner() keeps RPMh voltage rails
clamped at their highest active and sleep corners.  Should cam_icc default
to status = "disabled" here, matching camss, cci0, and cci1?

[ ... ]

> +			interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
> +					 &cnoc2 SLAVE_CAMERA_CFG QCOM_ICC_TAG_ALWAYS>,
> +					<&mmss_noc MASTER_CAMNOC_HF QCOM_ICC_TAG_ALWAYS
> +					 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
> +					<&mmss_noc MASTER_CAMNOC_SF QCOM_ICC_TAG_ALWAYS
> +					 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
> +			interconnect-names = "cfg", "hf", "sf";

[Severity: Medium]
Should the cfg path (MASTER_APPSS_PROC to SLAVE_CAMERA_CFG) use
QCOM_ICC_TAG_ACTIVE_ONLY instead of QCOM_ICC_TAG_ALWAYS?

qcom_cam_icc_runtime_resume() holds a non-zero peak vote on cfg_path while
camera streaming is active.  With QCOM_ICC_TAG_ALWAYS, that vote also goes
into the RPMh sleep bucket, keeping bcm_sh4 and bcm_cn1 voted while APSS
CPUs are asleep between frames and cannot issue register accesses.

The adjacent camss node in kodiak.dtsi already tags this same path as
QCOM_ICC_TAG_ACTIVE_ONLY.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261204075339.4077387-1-atanas.filipov@oss.qualcomm.com?part=9

  reply	other threads:[~2026-12-04  8:30 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04  7:53 [PATCH v2 00/10] Add the Qualcomm Titan camera NoC interconnect provider Atanas Filipov
2026-12-04  7:53 ` [PATCH v2 01/10] dt-bindings: interconnect: add the Qualcomm SM8250 Titan camera NoC Atanas Filipov
2026-12-04  8:01   ` sashiko-bot
2026-12-04  7:53 ` [PATCH v2 02/10] dt-bindings: interconnect: add the Qualcomm SC7280 " Atanas Filipov
2026-12-04  8:04   ` sashiko-bot
2026-12-04  7:53 ` [PATCH v2 03/10] dt-bindings: interconnect: add the Qualcomm SA8775P " Atanas Filipov
2026-12-04  8:04   ` sashiko-bot
2026-12-04  7:53 ` [PATCH v2 04/10] media: qcom: cam-icc: add the Titan camera NoC driver Atanas Filipov
2026-12-04  8:27   ` sashiko-bot
2026-12-04  7:53 ` [PATCH v2 05/10] media: qcom: cam-icc: add the SM8250 data Atanas Filipov
2026-12-04  8:16   ` sashiko-bot
2026-12-04  7:53 ` [PATCH v2 06/10] media: qcom: cam-icc: add the SC7280 data Atanas Filipov
2026-12-04  7:53 ` [PATCH v2 07/10] media: qcom: cam-icc: add the SA8775P data Atanas Filipov
2026-12-04  8:19   ` sashiko-bot
2026-12-04  7:53 ` [PATCH v2 08/10] arm64: dts: qcom: sm8250: add the Titan camera NoC node Atanas Filipov
2026-12-04  8:25   ` sashiko-bot
2026-12-04  7:53 ` [PATCH v2 09/10] arm64: dts: qcom: sc7280: " Atanas Filipov
2026-12-04  8:30   ` sashiko-bot [this message]
2026-12-04  7:53 ` [PATCH v2 10/10] arm64: dts: qcom: sa8775p: " Atanas Filipov

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-249395@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=atanas.filipov@oss.qualcomm.com \
    --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 \
    /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