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 10/10] arm64: dts: qcom: sa8775p: add the Titan camera NoC node
Date: Fri, 04 Dec 2026 08:35:18 +0000 [thread overview]
Message-ID: <sashiko-outbox-249400@kernel.org> (raw)
In-Reply-To: <20261204075339.4077387-11-atanas.filipov@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [High] arm64: dts: qcom: sa8775p: enabled cam_icc can deadlock
icc_sync_state()
--
commit 1a04be8f715c4df91cf4f30e9e3b22dfaac1bc8a
Author: Atanas Filipov <atanas.filipov@oss.qualcomm.com>
arm64: dts: qcom: sa8775p: add the Titan camera NoC node
This commit adds the cam_icc interconnect node to lemans-embedded.dtsi so
camera clients on SA8775P can vote for bandwidth on the Titan camera NoC
and AHB paths.
> diff --git a/arch/arm64/boot/dts/qcom/lemans-embedded.dtsi b/arch/arm64/boot/dts/qcom/lemans-embedded.dtsi
> index 0be39bb9de1e1..308c05cd6d1a3 100644
> --- a/arch/arm64/boot/dts/qcom/lemans-embedded.dtsi
> +++ b/arch/arm64/boot/dts/qcom/lemans-embedded.dtsi
> @@ -2001,6 +2001,53 @@ videocc: clock-controller@abf0000 {
> #power-domain-cells = <1>;
> };
>
> + cam_icc: interconnect@ac1a000 {
> + compatible = "qcom,sa8775p-cam-icc";
> + reg = <0x0 0x0ac1a000 0x0 0x9400>;
[ ... ]
> + #interconnect-cells = <2>;
[Severity: High]
Can leaving cam_icc enabled by default block icc_sync_state() across the
whole SoC?
At boot, of_count_icc_providers() counts every available DT node with
#interconnect-cells into providers_count. With cam_icc enabled, that
raises SA8775P's expected count from 16 to 17.
Unlike the other SA8775P interconnect drivers, CONFIG_QCOM_CAM_ICC is under
CONFIG_MEDIA_SUPPORT (m in arm64 defconfig) and depends on camcc (default
m). When either driver is not built or loaded, cam_icc never binds, so
fw_devlink timeout recovery skips it because dev_has_sync_state() is false.
Because icc_sync_state() is never called for cam_icc, count stays below
providers_count and synced_state is never reached. All 12 physical RPMh
NoCs then keep their INT_MAX boot-floor bandwidth votes active, preventing
DDR/NoC frequency scaling and low-power states.
Marking cam_icc as status = "disabled" here and enabling it alongside camss
in camera board or overlay files would avoid counting an unused provider.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261204075339.4077387-1-atanas.filipov@oss.qualcomm.com?part=10
prev parent reply other threads:[~2026-12-04 8:35 UTC|newest]
Thread overview: 24+ 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 11:10 ` Bryan O'Donoghue
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 11:14 ` Bryan O'Donoghue
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 11:33 ` Bryan O'Donoghue
2026-12-04 12:25 ` Georgi Djakov
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
2026-12-04 7:53 ` [PATCH v2 10/10] arm64: dts: qcom: sa8775p: " Atanas Filipov
2026-12-04 8:35 ` 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-249400@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 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.