Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Gaurav Kohli" <gaurav.kohli@oss.qualcomm.com>
Cc: robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v7 5/9] arm64: dts: qcom: kodiak: Enable CDSP & Modem cooling
Date: Fri, 31 Jul 2026 10:52:34 +0000	[thread overview]
Message-ID: <20260731105235.7CCCD1F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260731-b4-qmi-tmd-v7-5-3befd44403d5@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] Meaningful code and commit message mismatch regarding cooling map removals on modem boards.
--

--- Patch [5]: [PATCH v7 5/9] arm64: dts: qcom: kodiak: Enable CDSP & Modem cooling ---
commit 8e78187a5b8612e6bf1ed1720f537ae83abca9c8
Author: Gaurav Kohli <gaurav.kohli@oss.qualcomm.com>

arm64: dts: qcom: kodiak: Enable CDSP & Modem cooling

This commit sets up cooling maps for the CDSP and Modem on kodiak, throttling
them at 100 degrees C and 95 degrees C respectively. It also deletes the
inherited cooling maps on non-modem boards to prevent compilation errors
since they lack the remoteproc_mpss node.

> diff --git a/arch/arm64/boot/dts/qcom/sc7280-herobrine-lte-sku.dtsi b/arch/arm64/boot/dts/qcom/sc7280-herobrine-lte-sku.dtsi
> index ac89724ee0993..891941906a467 100644
> --- a/arch/arm64/boot/dts/qcom/sc7280-herobrine-lte-sku.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sc7280-herobrine-lte-sku.dtsi

[ ... ]

> @@ -28,8 +28,18 @@ &ipa {
>  	status = "okay";
>  };
>  
> +/delete-node/ &mdmss0_pa_cooling_map;
> +/delete-node/ &mdmss0_modem_cooling_map;
> +/delete-node/ &mdmss1_pa_cooling_map;
> +/delete-node/ &mdmss1_modem_cooling_map;
> +/delete-node/ &mdmss2_pa_cooling_map;
> +/delete-node/ &mdmss2_modem_cooling_map;
> +/delete-node/ &mdmss3_pa_cooling_map;
> +/delete-node/ &mdmss3_modem_cooling_map;
> +
>  &remoteproc_mpss {
>  	compatible = "qcom,sc7280-mss-pil";
> +	/delete-property/ #cooling-cells;

[Severity: Medium]
The commit message states that inherited mdmss cooling-map nodes are removed
because the remoteproc_mpss node doesn't exist on non-modem boards. However,
this code deletes the cooling maps and the #cooling-cells property from
sc7280-herobrine-lte-sku.dtsi, which is an LTE board with a modem.

Is the description in the commit message accurate?

It appears the actual reason for the deletion in the LTE SKU is that it
overrides the compatible string to qcom,sc7280-mss-pil, which does not support
the #cooling-cells property. 

Could the commit message be updated to be more precise about why the nodes
are removed from this specific modem-enabled board?

>  	reg = <0 0x04080000 0 0x10000>, <0 0x04180000 0 0x48>;
>  	reg-names = "qdsp6", "rmb";
>

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260731-b4-qmi-tmd-v7-0-3befd44403d5@oss.qualcomm.com?part=5

  reply	other threads:[~2026-07-31 10:52 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-31 10:33 [PATCH v7 0/9] Add support for Qualcomm remoteproc subsystem cooling Gaurav Kohli
2026-07-31 10:33 ` [PATCH v7 1/9] dt-bindings: remoteproc: qcom,pas: add #cooling-cells property Gaurav Kohli
2026-07-31 10:33 ` [PATCH v7 2/9] soc: qcom: Add QMI TMD support for remote thermal mitigation Gaurav Kohli
2026-07-31 10:53   ` sashiko-bot
2026-07-31 10:33 ` [PATCH v7 3/9] remoteproc: qcom: pas: add support for TMD thermal cooling devices Gaurav Kohli
2026-07-31 10:49   ` sashiko-bot
2026-07-31 10:33 ` [PATCH v7 4/9] remoteproc: qcom_q6v5_pas: enable QMI TMD cooling support Gaurav Kohli
2026-07-31 10:33 ` [PATCH v7 5/9] arm64: dts: qcom: kodiak: Enable CDSP & Modem cooling Gaurav Kohli
2026-07-31 10:52   ` sashiko-bot [this message]
2026-07-31 10:33 ` [PATCH v7 6/9] arm64: dts: qcom: lemans: Enable CDSP cooling Gaurav Kohli
2026-07-31 10:33 ` [PATCH v7 7/9] arm64: dts: qcom: talos: " Gaurav Kohli
2026-07-31 10:33 ` [PATCH v7 8/9] arm64: dts: qcom: monaco: " Gaurav Kohli
2026-07-31 10:33 ` [PATCH v7 9/9] arm64: dts: qcom: hamoa: " Gaurav Kohli
2026-07-31 11:20   ` Stephan Gerhold
2026-07-31 13:22     ` Gaurav Kohli
2026-07-31 11:59   ` Abel Vesa

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=20260731105235.7CCCD1F000E9@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=gaurav.kohli@oss.qualcomm.com \
    --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