]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.14-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2018 18:22:13 +0000 (19:22 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2018 18:22:13 +0000 (19:22 +0100)
added patches:
arm-dts-r8a7791-correct-critical-cpu-temperature.patch
arm-dts-r8a7793-correct-critical-cpu-temperature.patch

queue-4.14/arm-dts-r8a7791-correct-critical-cpu-temperature.patch [new file with mode: 0644]
queue-4.14/arm-dts-r8a7793-correct-critical-cpu-temperature.patch [new file with mode: 0644]
queue-4.14/series

diff --git a/queue-4.14/arm-dts-r8a7791-correct-critical-cpu-temperature.patch b/queue-4.14/arm-dts-r8a7791-correct-critical-cpu-temperature.patch
new file mode 100644 (file)
index 0000000..7407cc9
--- /dev/null
@@ -0,0 +1,40 @@
+From e4fdf59bcce3b490bbc7197145bcb9f9d5a18cd3 Mon Sep 17 00:00:00 2001
+From: Chris Paterson <chris.paterson2@renesas.com>
+Date: Thu, 14 Dec 2017 09:08:40 +0000
+Subject: ARM: dts: r8a7791: Correct critical CPU temperature
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+From: Chris Paterson <chris.paterson2@renesas.com>
+
+commit e4fdf59bcce3b490bbc7197145bcb9f9d5a18cd3 upstream.
+
+The R-Car M2W 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: cac68a56e34b9810 ("ARM: dts: r8a7791: 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ arch/arm/boot/dts/r8a7791.dtsi |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/arch/arm/boot/dts/r8a7791.dtsi
++++ b/arch/arm/boot/dts/r8a7791.dtsi
+@@ -91,7 +91,7 @@
+                       trips {
+                               cpu-crit {
+-                                      temperature     = <115000>;
++                                      temperature     = <95000>;
+                                       hysteresis      = <0>;
+                                       type            = "critical";
+                               };
diff --git a/queue-4.14/arm-dts-r8a7793-correct-critical-cpu-temperature.patch b/queue-4.14/arm-dts-r8a7793-correct-critical-cpu-temperature.patch
new file mode 100644 (file)
index 0000000..f86eb80
--- /dev/null
@@ -0,0 +1,40 @@
+From 1dfc65cef481ac6af64380f26186d5cc585b46eb Mon Sep 17 00:00:00 2001
+From: Chris Paterson <chris.paterson2@renesas.com>
+Date: Thu, 14 Dec 2017 09:08:41 +0000
+Subject: ARM: dts: r8a7793: Correct critical CPU temperature
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+From: Chris Paterson <chris.paterson2@renesas.com>
+
+commit 1dfc65cef481ac6af64380f26186d5cc585b46eb upstream.
+
+The R-Car M2N 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: 57f9156bc620ac56 ("ARM: dts: r8a7793: 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ arch/arm/boot/dts/r8a7793.dtsi |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/arch/arm/boot/dts/r8a7793.dtsi
++++ b/arch/arm/boot/dts/r8a7793.dtsi
+@@ -88,7 +88,7 @@
+                       trips {
+                               cpu-crit {
+-                                      temperature     = <115000>;
++                                      temperature     = <95000>;
+                                       hysteresis      = <0>;
+                                       type            = "critical";
+                               };
index 9449a84ab4dfd7ee1393cc1e0bc8d6f6aaa7ad29..3b860fc6a08ca8c4f1a6fe436c54f8961812fbeb 100644 (file)
@@ -17,3 +17,5 @@ net-smsc95xx-fix-mtu-range.patch
 usbnet-smsc95xx-disable-carrier-check-while-suspending.patch
 inet-frags-better-deal-with-smp-races.patch
 revert-x86-speculation-enable-cross-hyperthread-spectre-v2.patch
+arm-dts-r8a7791-correct-critical-cpu-temperature.patch
+arm-dts-r8a7793-correct-critical-cpu-temperature.patch