Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Shawn Guo" <shengchao.guo@oss.qualcomm.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v3 5/5] arm64: dts: qcom: Add device tree for SA8797P Ride board
Date: Tue, 26 May 2026 04:54:05 +0000	[thread overview]
Message-ID: <20260526045405.9AE641F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260526034557.1669007-6-shengchao.guo@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] Thermal zones lack 'critical' trip points, disabling emergency thermal shutdown and risking hardware damage or data corruption.
--

commit aa64a0535c6c55bb78850bd4e6509abadf2cf760
Author: Deepti Jaggi <deepti.jaggi@oss.qualcomm.com>

arm64: dts: qcom: Add device tree for SA8797P Ride board

This commit adds the initial device tree for the Qualcomm SA8797P Ride
reference board. It configures primary and secondary UART consoles,
enables UFS storage support, and defines thermal zones for PMIC dies,
UFS, and SDRAM sensors.

> diff --git a/arch/arm64/boot/dts/qcom/sa8797p-ride.dts b/arch/arm64/boot/dts/qcom/sa8797p-ride.dts
> new file mode 100644
> index 0000000000000..d429de313f248
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/sa8797p-ride.dts
[ ... ]
> +&thermal_zones {
> +	pm_kobra_thermal: pm-a-die-thermal {
> +		polling-delay-passive = <100>;
> +		polling-delay = <0>;
> +		thermal-sensors = <&scmi23_sensor 3>;
> +
> +		trips {
> +			trip0 {
> +				temperature = <115000>;
> +				hysteresis = <5000>;
> +				type = "passive";
> +			};
> +
> +			trip1 {
> +				temperature = <135000>;
> +				hysteresis = <5000>;
> +				type = "passive";

[Severity: High]
Should this upper trip point be configured as a critical trip instead
of a passive one?

Since all thermal zones in this file use passive for their maximum
temperature thresholds and omit cooling maps, the thermal framework
will not trigger any mitigations. 

Missing a critical trip also prevents the kernel from performing an orderly
thermal shutdown when these high temperatures are reached. Even if the
underlying hardware or SCMI firmware implements an abrupt hard cutoff,
defining a critical trip point allows the operating system to shut down
cleanly and prevents potential filesystem corruption.

> +			};
> +		};
> +	};
[ ... ]

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260526034557.1669007-1-shengchao.guo@oss.qualcomm.com?part=5

  reply	other threads:[~2026-05-26  4:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-26  3:45 [PATCH v3 0/5] Add initial device trees for Nord SA8797P Shawn Guo
2026-05-26  3:45 ` [PATCH v3 1/5] dt-bindings: crypto: qcom,inline-crypto-engine: Document Nord ICE Shawn Guo
2026-05-26  3:45 ` [PATCH v3 2/5] arm64: dts: qcom: Add device tree for Nord SoC series Shawn Guo
2026-05-26  4:16   ` sashiko-bot
2026-05-26  3:45 ` [PATCH v3 3/5] arm64: dts: qcom: Add device tree for Nord SA8797P SoC Shawn Guo
2026-05-26  3:45 ` [PATCH v3 4/5] dt-bindings: arm: qcom: Document SA8797P Ride board Shawn Guo
2026-05-26  4:44   ` sashiko-bot
2026-05-26  3:45 ` [PATCH v3 5/5] arm64: dts: qcom: Add device tree for " Shawn Guo
2026-05-26  4:54   ` sashiko-bot [this message]
2026-05-26  5:08 ` [PATCH v3 0/5] Add initial device trees for Nord SA8797P Shawn Guo

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=20260526045405.9AE641F000E9@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=shengchao.guo@oss.qualcomm.com \
    /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