From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756714AbcBQGz4 (ORCPT ); Wed, 17 Feb 2016 01:55:56 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:45813 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756583AbcBQGzy (ORCPT ); Wed, 17 Feb 2016 01:55:54 -0500 X-AuditID: cbfec7f4-f79026d00000418a-9b-56c41977ea94 From: Krzysztof Kozlowski To: Kukjin Kim , Krzysztof Kozlowski , Lukasz Majewski , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Cc: Zhang Rui , Eduardo Valentin , Viresh Kumar , Bartlomiej Zolnierkiewicz , Javier Martinez Canillas Subject: [RFC-help needed 0/3] ARM: dts: thermal: Fix Odroid XU3-Lite overheat Date: Wed, 17 Feb 2016 15:55:25 +0900 Message-id: <1455692128-28504-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 2.5.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprPLMWRmVeSWpSXmKPExsVy+t/xa7rlkkfCDDZt57bYOGM9q8X8K9dY Ld68XcNk8fqFoUX/49fMFm8ebma02PQYKH551xw2i8+9RxgtZpzfx2Tx5GEfm8XGrx4OPB47 Z91l91i85yWTx6ZVnWwed67tYfPYvKTeY0s/ULxvyypGj8+b5AI4orhsUlJzMstSi/TtErgy 3hz/wl6wT7pi8fU7LA2M88W6GDk4JARMJGbMiO1i5AQyxSQu3FvP1sXIxSEksJRRYuH12VDO f0aJxplb2UGq2ASMJTYvXwKWEBFoZpJY1zidFSTBLPCIUeLCTS+QqcICfhKL3zOBhFkEVCX2 zd0LZvMKuEuc+7uOBWKxnMSCC+kTGLkXMDKsYhRNLU0uKE5KzzXUK07MLS7NS9dLzs/dxAgJ ti87GBcfszrEKMDBqMTDG5BxOEyINbGsuDL3EKMEB7OSCC/Dc6AQb0piZVVqUX58UWlOavEh RmkOFiVx3rm73ocICaQnlqRmp6YWpBbBZJk4OKUaGCdPu/RG5CLT25seEa+Vv/mL8HqohEZl s4oq7mFd1Ht/nXF824NJk+/nRl2aVVPe7OHkpPpkiTiHK0dxTKP5ijh9Ls0bC1YcM0l++Hbq zdIOv287rqyQ7mGoT0zr2vRt8ffU7SbZBnZS+Zcysw3TFgTH1d3a0HljW13d3tmf1sU23iow Z0z+oMRSnJFoqMVcVJwIAJj4TT4yAgAA Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, I mentioned overheating problem of Odroid XU3-Lite after enabling cpufreq-dt (when busy in a quite warm room). [0] The patchset tries to fix this by adding CPU cooling device. Unfortunately apparently I screwed something because on next-20160216 it does not help. The fan works at full but CPU cooler is not enabled. Patchset adds 2 additional trip points (so total 5). First 3 trip points enable the fan. The new two trip points should trigger CPU cooler. However after reaching last fan trip point, the thermal zone stops sending updates to the step-wise governor. The last log for thermal_zone0 is: [ 1366.604672] thermal thermal_zone0: last_temperature=71000, current_temperature=71000 [ 1366.604699] thermal thermal_zone0: Trip0[type=0,temp=50000]:trend=0,throttle=1 instance->upper: instance->lower: throttle: [ 1366.604713] thermal cooling_device0: cur_state=0, 1, 0, throttle: 1 [ 1366.604725] thermal cooling_device0: CUR_state=0, 1, 0, throttle: 1 [ 1366.604735] thermal cooling_device0: old_target=1, target=1 [ 1366.604754] thermal thermal_zone0: Trip1[type=0,temp=60000]:trend=0,throttle=1 [ 1366.604776] thermal cooling_device0: cur_state=0, 2, 1, throttle: 1 [ 1366.604786] thermal cooling_device0: CUR_state=0, 2, 1, throttle: 1 [ 1366.604796] thermal cooling_device0: old_target=2, target=2 [ 1366.604810] thermal thermal_zone0: Trip2[type=0,temp=70000]:trend=0,throttle=1 [ 1366.604821] thermal cooling_device0: cur_state=0, 3, 2, throttle: 1 [ 1366.604832] thermal cooling_device0: CUR_state=0, 3, 2, throttle: 1 [ 1366.604841] thermal cooling_device0: old_target=3, target=3 [ 1366.604856] thermal thermal_zone0: Trip4[type=1,temp=90000]:trend=0,throttle=0 [ 1366.604869] thermal cooling_device1: cur_state=0, 3, 0, throttle: 0 [ 1366.604879] thermal cooling_device1: CUR_state=0, 3, 0, throttle: 0 [ 1366.604889] thermal cooling_device1: old_target=-1, target=-1 [ 1366.604901] thermal cooling_device2: cur_state=0, 3, 0, throttle: 0 [ 1366.604911] thermal cooling_device2: CUR_state=0, 3, 0, throttle: 0 [ 1366.604921] thermal cooling_device2: old_target=-1, target=-1 [ 1366.604935] thermal thermal_zone0: Trip5[type=1,temp=110000]:trend=0,throttle=0 [ 1366.604946] thermal cooling_device1: cur_state=0, 7, 7, throttle: 0 [ 1366.604957] thermal cooling_device1: CUR_state=0, 7, 7, throttle: 0 [ 1366.604967] thermal cooling_device1: old_target=-1, target=-1 [ 1366.604977] thermal cooling_device2: cur_state=0, 11, 11, throttle: 0 [ 1366.604988] thermal cooling_device2: CUR_state=0, 11, 11, throttle: 0 [ 1366.604997] thermal cooling_device2: old_target=-1, target=-1 After this, the temperature in zone0 rises but cooling devices do not receive any pokes... Did I make some mistake or this is thermal issue? [0] http://www.spinics.net/lists/arm-kernel/msg482748.html Best regards, Krzysztof Krzysztof Kozlowski (3): ARM: dts: Add cooling levels for CPUs on exynos5420 ARM: dts: Add cooling levels for CPUs on exynos5422/5800 ARM: dts: Don't overheat the Odroid XU3-Lite on high load arch/arm/boot/dts/exynos5420-cpus.dtsi | 6 ++++ arch/arm/boot/dts/exynos5422-cpu-thermal.dtsi | 41 +++++++++++++++++++++++++++ arch/arm/boot/dts/exynos5422-cpus.dtsi | 6 ++++ 3 files changed, 53 insertions(+) -- 2.5.0