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=1796558681; b=OQDd3H82jEQbGJ94NdVAr5nQ19bTlTOd6A4xVk+obyq8EwMo08Agkf8ZegFImDSvIs9B egaSyBoE+5mqaSjscbPZQbJpclQZLGLqh8oWD13LPfe+UU9hyEqRq8//BfckJvmTYH9Pl EQh3O0/x1H4KaOHmS+EZEkaO3JoPwrKdnfyYTFW0RVkn1L36OuoBcMz7HlAt8EibSwioV E6ZSOKOHXOpBaf/iaoThzoioHjwgDP/9B96iS6ZM0IzwJP+XoFcfXFyMO6dcPF2Gjms5a Hy5JIM/4wzYzBYeqvK0Geb2hm6NitUFQ+zNsbKt9PljbO+uzns+NUlEtCZjwgpaSMAA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796558681; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=wV7CSr8W29vSzpYCCRpDVouxwnl+VClHgRdxoouq/JA=; b=5UAU/7mZ4XkcmEnNc1KTaSXssW0JMOjxsSLLONw9pUSQ/tNBGB+z7RHyowqVBtmzX738 qD+wH3i4PECVJT/KQ30ikABSUwSdYxBvy85r26uCFnc0r4ZKJp9swkWqCxoXSKxUEmBrb 97rmKFYWvxLuO7hLndJd5TA1rU1CVGe7YArYlqvNZZ+Qd/HdnbxvBNdjQGaqCYlP+1cwU /IQcuZOjnfVAY/BQbUAbMousFHSAQAtYfUlTX3G08KB1AF+a+MOL7PHsfyo7PgmBsyBnv jLmYZs0wuiyNCOZ+oUDCSoNXWPS+6JMlRte8rdCGcWdeVeQVww5QeK4E+ouxmbd3ggw== 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=aJ9r8KO9; 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 E20E1606A31F for ; Sun, 6 Dec 2026 12:04:40 +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=aJ9r8KO9 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 831C91F0093B; Sun, 6 Dec 2026 12:04:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796558680; bh=wV7CSr8W29vSzpYCCRpDVouxwnl+VClHgRdxoouq/JA=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=aJ9r8KO9IB2QEEiRWBA5F3xPwJ0mhVyCScBCgCUOav1Y6tAYy++Iwix8Yx1x41buL JEvEl3TDqobBqUpC+OvDB8uSGpf648L8xkY0UGUZNVxoPaTG70l8X1QyRvud+M1aUz luXggJ3MNIa/aAWqGHesmAqAVyHBNEuDyXRS6VQWlpCuizSRf2zMs14mk0m7GH3IxM R++nPj80DxSHYJknljXJjeNCoVyW3yHwIHOhkEuOQWKQGDthAol6tW/o+0xhW1NPoS xPnYR3f9a7yWoMmmSJRkMT7SbDw2jlCNRJ5Imp0FyqLuvgK4vGzM0t+3YBTVzACUpG Jhfo/sqYP9W6g== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v4 3/3] arm64: dts: qcom: glymur: Enable SPEL powercap driver Reply-To: sashiko-reviews@lists.linux.dev To: "Manaf Meethalavalappu Pallikunhi" Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org In-Reply-To: <20261206-qcom_spel_driver_upstream-v4-3-168697736e95@oss.qualcomm.com> References: <20261206-qcom_spel_driver_upstream-v4-0-168697736e95@oss.qualcomm.com> <20261206-qcom_spel_driver_upstream-v4-3-168697736e95@oss.qualcomm.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Sun, 06 Dec 2026 12:04:40 +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 2 potential issues to consider: - [Medium] arm64: dts: qcom: Mahua and Kalambo inherit Glymur 3-cluster SPEL node - [Low] arm64: dts: qcom: commit title and body misdescribe adding SPEL DT node -- commit 93629abacfb084bb47c17ce980cc267a7fbbec50 Author: Manaf Meethalavalappu Pallikunhi > arm64: dts: qcom: glymur: Enable SPEL powercap driver > > The Qualcomm SoC Power and Electrical Limits (SPEL) provides hardware > based power monitoring and limiting capabilities for various power > domains including System, SoC, CPU clusters, GPU, and various other > subsystems for glymur. > > Signed-off-by: Manaf Meethalavalappu Pallikunhi [Severity: Low] The subject talks about enabling the SPEL powercap driver, whereas this patch adds a new SPEL hardware node to glymur.dtsi, and the body only describes what SPEL is without stating what the patch changes. Could the subject and message be updated to describe adding the SPEL node? > diff --git a/arch/arm64/boot/dts/qcom/glymur.dtsi b/arch/arm64/boot/dts/q= com/glymur.dtsi > index 9cb7506656fba..a4dfa01e55f0f 100644 > --- a/arch/arm64/boot/dts/qcom/glymur.dtsi > +++ b/arch/arm64/boot/dts/qcom/glymur.dtsi > @@ -6302,6 +6302,16 @@ spmi_bus2: spmi@c448000 { > }; > }; > =20 > + power-limits@ef3b000 { > + compatible =3D "qcom,glymur-spel"; > + reg =3D <0x0 0x0ef3b000 0x0 0x1000>, > + <0x0 0x0ef3d000 0x0 0x1000>, > + <0x0 0x0ef3e000 0x0 0x1000>; > + reg-names =3D "config", > + "constraints", > + "nodes"; > + }; [Severity: Medium] Should power-limits@ef3b000 be labeled here and deleted or disabled in mahua.dtsi? mahua.dtsi includes glymur.dtsi via glymur-cob.dtsi and removes CPU cluster 2, while kalambo.dtsi includes mahua.dtsi and also removes CPU cluster 0. Because this node is enabled and neither file overrides it, spel_probe() in drivers/powercap/qcom/spel.c binds on both SoCs. It then unconditionally registers all three CPU clusters (cl0, cl1, cl2) from glymur_spel_hierarchy_nodes[], exposing nonexistent cluster domains in sysfs with hardcoded offsets for absent clusters and risking invalid MMIO reads at 0x0ef3b000 until Mahua and Kalambo have their own support. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261206-qcom_spel_= driver_upstream-v4-0-168697736e95@oss.qualcomm.com?part=3D3