From: Sasha Levin Date: Wed, 31 Oct 2018 14:41:39 +0000 (-0400) Subject: queue arm-dts-r8a7790-correct-critical-cpu-temperature.patch for 4.14 X-Git-Tag: v4.19.1~30 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=70684fba33320a809fd81e2771c1bc151064df3e;p=thirdparty%2Fkernel%2Fstable-queue.git queue arm-dts-r8a7790-correct-critical-cpu-temperature.patch for 4.14 Signed-off-by: Sasha Levin --- diff --git a/queue-4.14/arm-dts-r8a7790-correct-critical-cpu-temperature.patch b/queue-4.14/arm-dts-r8a7790-correct-critical-cpu-temperature.patch new file mode 100644 index 00000000000..c4140b912ec --- /dev/null +++ b/queue-4.14/arm-dts-r8a7790-correct-critical-cpu-temperature.patch @@ -0,0 +1,43 @@ +From c5d43f6cb65a62e056682a781385180dc1e05efe Mon Sep 17 00:00:00 2001 +From: Chris Paterson +Date: Thu, 14 Dec 2017 09:08:39 +0000 +Subject: 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 +Reviewed-by: Geert Uytterhoeven +Signed-off-by: Simon Horman +Signed-off-by: Sudip Mukherjee +Signed-off-by: Sasha Levin +--- + 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.17.1 + diff --git a/queue-4.14/series b/queue-4.14/series index 047e2606fa5..7b71a66835a 100644 --- a/queue-4.14/series +++ b/queue-4.14/series @@ -106,3 +106,4 @@ fs-fat-fatent.c-add-cond_resched-to-fat_count_free_c.patch sch_netem-restore-skb-dev-after-dequeuing-from-the-r.patch mtd-spi-nor-add-support-for-is25wp-series-chips.patch kvm-x86-fix-warn-due-to-uninitialized-guest-fpu-stat.patch +arm-dts-r8a7790-correct-critical-cpu-temperature.patch