public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* request for 4.14-stable: fcab5651fae4 ("ARM: dts: r8a7790: Correct critical CPU temperature")
@ 2018-10-23  9:49 Sudip Mukherjee
  2018-10-31 14:42 ` Sasha Levin
  0 siblings, 1 reply; 4+ messages in thread
From: Sudip Mukherjee @ 2018-10-23  9:49 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: stable, Chris Paterson, Geert Uytterhoeven, Simon Horman

[-- Attachment #1: Type: text/plain, Size: 136 bytes --]

Hi Greg,

This was not marked for stable but seems it should be in stable.
Please apply to your queue of 4.14-stable.

--
Regards
Sudip

[-- Attachment #2: 0001-ARM-dts-r8a7790-Correct-critical-CPU-temperature.patch --]
[-- Type: text/x-diff, Size: 1442 bytes --]

>From 18bdaf4379ec15a5f964cb059da7b86f94ffe341 Mon Sep 17 00:00:00 2001
From: Chris Paterson <chris.paterson2@renesas.com>
Date: Thu, 14 Dec 2017 09:08:39 +0000
Subject: [PATCH] ARM: dts: r8a7790: Correct critical CPU temperature
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

commit fcab5651fae4258a993170b7aaf443adbd3d4d84 upstream

The R-Car H2 hardware manual states that Tc = –40°C to +105°C. The
thermal sensor has an accuracy of ±5°C and there can be a temperature
difference of 1 or 2 degrees between Tjmax and the thermal sensor due
to the location of the latter.

This means that 95°C is a safer value to use.

Fixes: a8b805f3606f7af7 ("ARM: dts: r8a7790: enable to use thermal-zone")
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
---
 arch/arm/boot/dts/r8a7790.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
index 16358bf8d1db..97e8b9b0b750 100644
--- a/arch/arm/boot/dts/r8a7790.dtsi
+++ b/arch/arm/boot/dts/r8a7790.dtsi
@@ -153,7 +153,7 @@
 
 			trips {
 				cpu-crit {
-					temperature	= <115000>;
+					temperature	= <95000>;
 					hysteresis	= <0>;
 					type		= "critical";
 				};
-- 
2.11.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-11-21 18:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-23  9:49 request for 4.14-stable: fcab5651fae4 ("ARM: dts: r8a7790: Correct critical CPU temperature") Sudip Mukherjee
2018-10-31 14:42 ` Sasha Levin
2018-11-05 11:00   ` Chris Paterson
2018-11-21 18:18     ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox