From: sashiko-bot@kernel.org
To: "Muzaffer Kadir" <muzafferkadir@mainlining.org>
Cc: linux-clk@vger.kernel.org, dri-devel@lists.freedesktop.org,
devicetree@vger.kernel.org, mfd@lists.linux.dev, lee@kernel.org,
linux-input@vger.kernel.org, robh@kernel.org,
dmitry.torokhov@gmail.com, conor+dt@kernel.org
Subject: Re: [PATCH v3 17/19] arm64: dts: qcom: Add initial support for MSM8952
Date: Mon, 21 Sep 2026 18:34:29 +0000 [thread overview]
Message-ID: <20260921183429.DAFBD1F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260921-msm8952-initial-support-v3-17-b96fd3fe298b@mainlining.org>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] arm64: dts: qcom: cpu cooling devices bound to 'hot' instead of 'passive' trip points
--
commit b31c2ca10f75d0572d43b7d8403a096fd44b8429
Author: Muzaffer Kadir <muzafferkadir@mainlining.org>
arm64: dts: qcom: Add initial support for MSM8952
Adds initial device tree support for the MSM8952 SoC, porting it from a
downstream reference and adding calculation support for qfprom nodes.
Link: https://github.com/Asderdd/android_kernel_generalmobile_shamrock/blob/cm-14.1/arch/arm/boot/dts/qcom/msm8952.dtsi
Link: https://android.googlesource.com/kernel/msm.git/+/refs/tags/android-wear-7.0.0_r0.3/arch/arm/boot/dts/qcom/msm8952.dtsi
Link: https://android.googlesource.com/kernel/msm.git/+/refs/tags/android-wear-7.0.0_r0.3/drivers/thermal/msm-tsens.c#1621
> diff --git a/arch/arm64/boot/dts/qcom/msm8952.dtsi b/arch/arm64/boot/dts/qcom/msm8952.dtsi
> new file mode 100644
> index 0000000000000..fa343271a0249
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/msm8952.dtsi
[ ... ]
> @@ -0,0 +1,2696 @@
[ ... ]
> + cpu4-thermal {
> + polling-delay-passive = <250>;
> +
> + thermal-sensors = <&tsens 5>;
> +
> + cooling-maps {
> + map0 {
> + trip = <&cpu4_alert1>;
> + cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
[Severity: High]
Does this cooling map bind to the hot trip point instead of the passive one?
The Linux thermal subsystem's default step_wise governor ignores hot and
critical trip points for cooling devices. Binding CPU frequency cooling
devices to cpu4_alert1 (which is defined as type hot) completely prevents
thermal throttling.
Under sustained CPU load, the system will keep heating up until it hits the
critical trip point and undergoes a hard, uncontrolled thermal shutdown.
Should this bind to cpu4_alert0 instead?
> + };
> + };
> +
> + trips {
> + cpu4_alert0: trip-point0 {
> + temperature = <75000>;
> + hysteresis = <2000>;
> + type = "passive";
> + };
> +
> + cpu4_alert1: trip-point1 {
> + temperature = <85000>;
> + hysteresis = <2000>;
> + type = "hot";
> + };
[ ... ]
> + cpu0-3-thermal {
> + polling-delay-passive = <250>;
> +
> + thermal-sensors = <&tsens 9>;
> +
> + cooling-maps {
> + map0 {
> + trip = <&cpu0_alert1>;
> + cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
[Severity: High]
Similarly for the little core cluster, does this also incorrectly bind to the
hot trip point cpu0_alert1? This will prevent thermal throttling on these
cores as well.
> + <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
> + <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
> + <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
> + };
> + };
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260921-msm8952-initial-support-v3-0-b96fd3fe298b@mainlining.org?part=17
next prev parent reply other threads:[~2026-09-21 18:34 UTC|newest]
Thread overview: 59+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-21 18:18 [PATCH v3 00/19] Add Initial Support For MSM8952, Add General Mobile Shamrock Muzaffer Kadir via B4 Relay
2026-09-21 18:18 ` [PATCH v3 01/19] dt-bindings: clock: qcom: Add MSM8952 global clock controller Muzaffer Kadir via B4 Relay
2026-09-21 18:25 ` sashiko-bot
2026-09-25 13:39 ` Krzysztof Kozlowski
2026-09-21 18:18 ` [PATCH v3 02/19] clk: qcom: Add global clock controller driver for MSM8952 Muzaffer Kadir via B4 Relay
2026-09-21 18:44 ` sashiko-bot
2026-09-22 20:36 ` Abel Vesa
2026-09-21 18:18 ` [PATCH v3 03/19] dt-bindings: nvmem: Add compatible " Muzaffer Kadir via B4 Relay
2026-09-21 18:21 ` sashiko-bot
2026-09-21 18:18 ` [PATCH v3 04/19] dt-bindings: power: rpmpd: Add MSM8952 power domains Muzaffer Kadir via B4 Relay
2026-09-21 18:23 ` sashiko-bot
2026-09-27 17:47 ` Krzysztof Kozlowski
2026-09-28 13:57 ` Ulf Hansson
2026-09-21 18:18 ` [PATCH v3 05/19] dt-bindings: mmc: sdhci-msm: Add MSM8952 compatible Muzaffer Kadir via B4 Relay
2026-09-21 18:22 ` sashiko-bot
2026-09-27 17:47 ` Krzysztof Kozlowski
2026-09-29 13:34 ` Ulf Hansson
2026-09-21 18:18 ` [PATCH v3 06/19] dt-bindings: vendor-prefixes: Add General Mobile Muzaffer Kadir via B4 Relay
2026-09-21 18:21 ` sashiko-bot
2026-09-21 18:18 ` [PATCH v3 07/19] dt-bindings: arm: qcom: Document MSM8952 SoC binding Muzaffer Kadir via B4 Relay
2026-09-21 18:22 ` sashiko-bot
2026-09-21 18:18 ` [PATCH v3 08/19] dt-bindings: iommu: qcom,iommu: Add MSM8952 IOMMU to SMMUv2 compatibles Muzaffer Kadir via B4 Relay
2026-09-21 18:22 ` sashiko-bot
2026-09-27 17:49 ` Krzysztof Kozlowski
2026-09-21 18:19 ` [PATCH v3 09/19] dt-bindings: mfd: qcom,tcsr: Add compatible for MSM8952 Muzaffer Kadir via B4 Relay
2026-09-21 18:25 ` sashiko-bot
2026-09-27 17:48 ` Krzysztof Kozlowski
2026-09-21 18:19 ` [PATCH v3 10/19] dt-bindings: display/msm: qcom, mdp5: Add MSM8952 compatible Muzaffer Kadir via B4 Relay
2026-09-21 18:24 ` sashiko-bot
2026-09-27 17:48 ` Krzysztof Kozlowski
2026-09-21 18:19 ` [PATCH v3 11/19] dt-bindings: firmware: qcom,scm: Document MSM8952 SCM Muzaffer Kadir via B4 Relay
2026-09-21 18:21 ` sashiko-bot
2026-09-27 17:48 ` Krzysztof Kozlowski
2026-09-21 18:19 ` [PATCH v3 12/19] dt-bindings: clock: qcom,rpmcc: Add MSM8952 compatible Muzaffer Kadir via B4 Relay
2026-09-21 18:26 ` sashiko-bot
2026-09-27 17:50 ` Krzysztof Kozlowski
2026-09-21 18:19 ` [PATCH v3 13/19] drm: msm: mdp5: Add MDP5 configuration for MSM8952 Muzaffer Kadir via B4 Relay
2026-09-21 18:45 ` sashiko-bot
2026-10-01 1:57 ` Dmitry Baryshkov
2026-09-21 18:19 ` [PATCH v3 14/19] soc: qcom: ubwc: Add UBWC config " Muzaffer Kadir via B4 Relay
2026-09-21 18:22 ` sashiko-bot
2026-10-01 1:58 ` Dmitry Baryshkov
2026-09-21 18:19 ` [PATCH v3 15/19] dt-bindings: thermal: tsens: Add MSM8952 Muzaffer Kadir via B4 Relay
2026-09-21 18:26 ` sashiko-bot
2026-09-27 17:51 ` Krzysztof Kozlowski
2026-09-21 18:19 ` [PATCH v3 16/19] thermal: qcom: tsens: Add support for MSM8952 tsens Muzaffer Kadir via B4 Relay
2026-09-21 18:30 ` sashiko-bot
2026-09-29 7:11 ` Daniel Lezcano
2026-09-29 12:09 ` Muzaffer Kadir
2026-09-21 18:19 ` [PATCH v3 17/19] arm64: dts: qcom: Add initial support for MSM8952 Muzaffer Kadir via B4 Relay
2026-09-21 18:34 ` sashiko-bot [this message]
2026-09-21 18:19 ` [PATCH v3 18/19] dt-bindings: input: touchscreen: goodix: Add binding for GT970 Muzaffer Kadir via B4 Relay
2026-09-21 18:29 ` sashiko-bot
2026-09-27 17:52 ` Krzysztof Kozlowski
2026-09-21 18:19 ` [PATCH v3 19/19] arm64: dts: qcom: generalmobile-shamrock: new device Muzaffer Kadir via B4 Relay
2026-09-21 18:37 ` sashiko-bot
2026-10-03 0:46 ` [PATCH v3 00/19] Add Initial Support For MSM8952, Add General Mobile Shamrock Dmitry Baryshkov
2026-10-05 14:00 ` Muzaffer Kadir
2026-10-06 8:53 ` Dmitry Baryshkov
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=20260921183429.DAFBD1F000FF@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=lee@kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=mfd@lists.linux.dev \
--cc=muzafferkadir@mainlining.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