lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250502144934.t6hjiwp2f64ovb34@deeply>
Date: Fri, 2 May 2025 09:49:34 -0500
From: Nishanth Menon <nm@...com>
To: Daniel Schultz <d.schultz@...tec.de>
CC: <vigneshr@...com>, <kristo@...nel.org>, <robh@...nel.org>,
        <krzk+dt@...nel.org>, <conor+dt@...nel.org>,
        <linux-arm-kernel@...ts.infradead.org>, <devicetree@...r.kernel.org>,
        <linux-kernel@...r.kernel.org>, <upstream@...ts.phytec.de>
Subject: Re: [PATCH 2/3] arm64: dts: ti: k3-am62a: Set Critical Temp. to 105C

On 07:26-20250502, Daniel Schultz wrote:
> The AM62Ax SoC supports two temperature ranges:
> * A: -40 to 105C - Extended Industrial
> * I: -40 to 125C - Automotive
> 
> By default, use the lower limit (105 °C) so that any AM62A running
> in Extended Industrial mode will shut down safely before overheating.
> 
> If the bootloader detects an Automotive-grade device, it should
> override this and raise the critical trip point to 125 °C.
> 
> Signed-off-by: Daniel Schultz <d.schultz@...tec.de>
> ---
>  arch/arm64/boot/dts/ti/k3-am62a-thermal.dtsi | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/ti/k3-am62a-thermal.dtsi b/arch/arm64/boot/dts/ti/k3-am62a-thermal.dtsi
> index 39ff9118b6c4..40dcb9bab965 100644
> --- a/arch/arm64/boot/dts/ti/k3-am62a-thermal.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-am62a-thermal.dtsi

Why not create a separate header for industrial grade and rename this as
automotive grade and let the board file pick the right grade used on the
board?

> @@ -19,7 +19,7 @@ main0_alert: main0-alert {
>  			};
>  
>  			main0_crit: main0-crit {
> -				temperature = <125000>;	/* milliCelsius */
> +				temperature = <105000>;	/* milliCelsius */
>  				hysteresis = <2000>;	/* milliCelsius */
>  				type = "critical";
>  			};
> @@ -50,7 +50,7 @@ main1_alert: main1-alert {
>  			};
>  
>  			main1_crit: main1-crit {
> -				temperature = <125000>;	/* milliCelsius */
> +				temperature = <105000>;	/* milliCelsius */
>  				hysteresis = <2000>;	/* milliCelsius */
>  				type = "critical";
>  			};
> @@ -81,7 +81,7 @@ main2_alert: main2-alert {
>  			};
>  
>  			main2_crit: main2-crit {
> -				temperature = <125000>;	/* milliCelsius */
> +				temperature = <105000>;	/* milliCelsius */
>  				hysteresis = <2000>;	/* milliCelsius */
>  				type = "critical";
>  			};
> -- 
> 2.25.1
> 

-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ