From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796372367; b=4mFwXmiGBbMEZcN53hrFi+aCz6aYT1HaA7kgDKVDXW9ahTDiRbilBEFIGhoNAqiDKjJ8 MP0QlfF0i9n/uvqQPGC5Sc0EAl0L0QekzocQvMb0vSQuUUU70hL/D7L/DLpIyEFVfN48A 5BaBM2xsCLhmgi5TO2V6j/a8HlHUKGJTEqiOWrSoDvEdglAQgexFdQIazkL7Ory5yNfC/ qAWZbGTH5SHwJ/JQsoea8iojHMa4E3QtYAs5u1tKOXiGTvGlTRVnfpk3LhF8sRuZRb7PA 4U+gfkZa1ioYlfNTJ6II1gvGANNG8ByKbL4wm0GLxQMW6OS4PE6tq3lEvXwZih1jL5w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796372367; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=wmp1kwIjYPNJCGGc6C8uXJeI9ACNgSR1snn2httky/Q=; b=ugJWwFUdExEUqtkg/y9wtS6tO2YDwTWDGa/E973113E5QqXx26XwzrTxStRr9pR7TSsW VukdWjOt4i5dqEiylsQWH7W7qi9BEARlwgWBPGgqlWS+h/ldAti1gjqlWgr0xAI76ZuTI rJNW+5R0XgRTiMN1FFE8BwNOpUoBDCYPKAfOUzEa6yqfu4siMDhj7BYiAD+XHEXfyQdtP lQT6sYkO3C39jehs1MtBS3O5ofpLqiHbzk5BfrOitbSpCv11ErLzIfpuzMsmf8sTXfnpT WISnKwGxtC57ZgL5wdd7Sm/29toP7thrpsBBZsT7/cfB2yGVBDyXcQUzJhC1u99C3Ww== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=AAm3h8+i; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E85A3606A32D for ; Fri, 4 Dec 2026 08:19:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=AAm3h8+i Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5FDE11F000C2; Fri, 4 Dec 2026 08:19:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796372366; bh=wmp1kwIjYPNJCGGc6C8uXJeI9ACNgSR1snn2httky/Q=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=AAm3h8+izr1/5qlKItNBZV9fmee6r8DlCJbJ2LcZy8iLqdaTYLE3AdwCX0EaHfd0S omfTVPYI18iO76I89eEXjMlXPBwaC6KzXLOxBek9hsUAOqtXLU1r0abmdBe8z1wxU5 Hl53KqWBfVagQt4mTr+CWBdqWwFuSo3fIMXHzP+K6i9uJiqgV6mO6oBBWd3gbtr1aC Fi6MUN2lbpsc93wm2o1yCf+CcbuYHe+p0/pA6YPySxIko0Tk9sQn720QJAFP1ztvw/ 2tdVZoyoSog0npAsXMsvVZTf6bC/q+DrMqx8qAt16GWyFPOb6uFEZQr0KxsL5X0UK7 SYzBNsmn7ttIg== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v2 07/10] media: qcom: cam-icc: add the SA8775P data Reply-To: sashiko-reviews@lists.linux.dev To: "Atanas Filipov" Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org, media-ci@linuxtv.org In-Reply-To: <20261204075339.4077387-8-atanas.filipov@oss.qualcomm.com> References: <20261204075339.4077387-1-atanas.filipov@oss.qualcomm.com> <20261204075339.4077387-8-atanas.filipov@oss.qualcomm.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Dec 2026 08:19:25 +0000 X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [High] media: qcom: cam-icc: SA8775P runs camnoc_axi at 400 MHz without rail OPP -- commit 796b8b0cbd8e5c49f62c8e1ebc62144d437261d3 Author: Atanas Filipov media: qcom: cam-icc: add the SA8775P data This commit adds the SA8775P camera NoC interconnect nodes, mmcx and mxc rail power domains, static QoS settings, and error interrupt data to the qcom-cam-icc driver. > diff --git a/drivers/media/platform/qcom/cam-icc/qcom-cam-icc-sa8775p.c b= /drivers/media/platform/qcom/cam-icc/qcom-cam-icc-sa8775p.c > new file mode 100644 > index 0000000000000..a181c1c7540c6 > --- /dev/null > +++ b/drivers/media/platform/qcom/cam-icc/qcom-cam-icc-sa8775p.c [ ... ] > +const struct qcom_cam_icc_data qcom_cam_icc_sa8775p_data =3D { > + .rate_clk =3D "camnoc_axi", > + .nodes =3D sa8775p_nodes, > + .num_nodes =3D ARRAY_SIZE(sa8775p_nodes), > + .num_ids =3D SA8775P_CAMNOC_NUM_NODES, > + .ahb_id =3D SLAVE_CAMNOC_AHB, > + .rail_pd_data =3D &sa8775p_rail_pd_data, [Severity: High] Can camnoc_axi be left running at 400 MHz without the required mmcx and mxc OPP votes? When aggregated AXI bandwidth drops to zero, qcom_cam_icc_set_axi_rate() calls clk_set_rate(camnoc->axi_clk, 0) followed by dev_pm_opp_set_opp(camnoc->dev, NULL), assuming the clock drops to XO before clearing the rail votes. On SA8775P, ftbl_cam_cc_camnoc_axi_clk_src in drivers/clk/qcom/camcc-sa8775= p.c only defines a 400 MHz entry with no 19.2 MHz P_BI_TCXO entry. Because cam_cc_camnoc_axi_clk_src uses clk_rcg2_shared_ops, clk_set_rate(..., 0) rounds up to 400 MHz and the mmcx and mxc votes are dropped anyway. On runtime suspend, clk_rcg2_shared_disable() caches that 400 MHz setting in parked_cfg, so qcom_cam_icc_runtime_resume() also restores 400 MHz on every later resume before any OPP is voted. Running the camera NoC at 400 MHz below SVS_L1 risks bus errors or hangs when no other consumer holds the rai= ls. Note that ftbl_cam_cc_slow_ahb_clk_src in camcc-sa8775p.c similarly lacks a 19.2 MHz P_BI_TCXO entry, leaving cpas_ahb at 80 MHz on clk_set_rate(..., 0= ). Adding 19.2 MHz P_BI_TCXO entries in camcc-sa8775p.c as a prerequisite, or keeping the rail OPP active while camnoc_axi stays at 400 MHz, would fix th= is. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261204075339.4077= 387-1-atanas.filipov@oss.qualcomm.com?part=3D7