From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9F532C3271E for ; Mon, 8 Jul 2024 10:29:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:To:References:Message-Id: Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version: Content-Type:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=UkOFXWGuw2BgLaxpDmUV6yQ/P5AbU9pHwMHoCnn9EOU=; b=GK+BwkiyugkdqJEf3IJa1xSBva v3ceGRFAPY7dl0u5qYSudguBOr3Ke/zO6I4+LAol7q4yDcqgwQ8oyi4jcybzgYZ5tCLiZGKNTNc5E 62Pfm8cLFJ3UOaESrUNioB74++b/Rdw4+aBQa5s4jBq0+/lCdv/EuTn9oYx7RuWjAAYytXSOJxTnT EPdXat6Gq20L+f3R0J1wKzCOYI2dFQPxWsNTUTcifgMVOFtioJKrGIdLF3BGu4UNQlYi9Ur+foTwV PeYa8yAOWtFnw7BRCnr4wXpbpngBhXOFUFUrFgm6X2w8UwHrnuIQlQVNkzQoUPWNMUwNmklJsH+7s TvSsEhiw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sQlch-00000003SC6-2Fwy; Mon, 08 Jul 2024 10:29:31 +0000 Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sQlcS-00000003S9A-3wox; Mon, 08 Jul 2024 10:29:18 +0000 Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-a728f74c23dso435807366b.1; Mon, 08 Jul 2024 03:29:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720434555; x=1721039355; darn=lists.infradead.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=UkOFXWGuw2BgLaxpDmUV6yQ/P5AbU9pHwMHoCnn9EOU=; b=F30kfdUYZtAMOTACvXQl/pgS4E1BeCLe5EAk5jRndx2tSYdFw5dIdaLNBQAqp02nF5 eM50AgkMs3nh3oAVVsLK5lxnS2u2NxVcaOO/l4uhV7UUlbohZW4OLcMslHI+PxmoQeru j98XDmvs0FarS06WiawGJwySVfjFvEp6OPiLjWk8JFItcNueTNwMRQcDx66CGE/obeMy vsKzc9Br/QtTiX+zQl56O5AVyyRyvDpxTA1cSQY8al908mRPvx3U2nod4QuV6PCiEYBU Gv0pp6MuD5825t4Zbgu4K7VRrPABIm3A4Y/7IGfPBsOGZCuXYviLfyMkbL/qHS2Tjbwe XbDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720434555; x=1721039355; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=UkOFXWGuw2BgLaxpDmUV6yQ/P5AbU9pHwMHoCnn9EOU=; b=rlayI72zfTQ0HW+a9gZ/ZlrMIAp3Mvx7UhgD0FkBmRNgDShugy68wUZDKpwmeonjwe j4ovr+/yvDJLOOSA/dvJQOpZrmSjPso5h40dPs46FsLVOPBjcSL3SvfVKlAIBm0ODQYw FUivjpQi6hNPh7eZjLnHnv2eiFNa7O/wvwTz5PcN/OT2EtAoeHE8KhuoilozAa/oM2vW Xr4V7av6Czc9EF0wcnvFxHqvRZI1BIe2f1OzSBdaqCkSH0pB4F3QpTVXqfSiU5invJuS KKY1MxUMeKL6495PlEa+k+5SyimIoBSUcaZkHC59UWU+zzeOxWvKb0SjF+aXtjdwbYOx OKWw== X-Forwarded-Encrypted: i=1; AJvYcCWSVAaD97GDHndoKlSnTxXoLjvSaR74tqLIP+W9qPU1Fr1fgvVHMpDkJb5/SoscRNerpbmazvfJ3jNaM4KJmxU7US9QJv3n1T6Bh7LxSmjYf+FcGKsh0w/rTkKycDXHp5c9PJOB5RAvPNNVC/yD/UTKXWnszn6TlxI= X-Gm-Message-State: AOJu0YwkN1/Hu1gH/drYqEcVzlj9r2+WwvQO+PNhDX4BYdNvPhiWPpEG l1oGSK7EJXwB1Pc4vwAZXCmiN5bqQkZaxteZw7Xi39XGy3X+QwUL X-Google-Smtp-Source: AGHT+IF8QzD8gF4amt85JoD0kaL9nDjpaIsKJ+OHLgAO+stKLPNnAyIyw9LcMeIssI6YfBg75oM6JA== X-Received: by 2002:a17:906:3b12:b0:a6f:4fc8:2666 with SMTP id a640c23a62f3a-a77ba70e48emr793543766b.44.1720434554514; Mon, 08 Jul 2024 03:29:14 -0700 (PDT) Received: from smtpclient.apple (84-10-100-139.static.chello.pl. [84.10.100.139]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a77cbb3ef7asm292277366b.74.2024.07.08.03.29.13 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Jul 2024 03:29:14 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) Subject: Re: [PATCH v5 0/8] RK3588 and Rock 5B dts additions: thermal, OPP and fan From: Piotr Oniszczuk In-Reply-To: Date: Mon, 8 Jul 2024 12:29:12 +0200 Cc: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Daniel Lezcano , Dragan Simic , Viresh Kumar , Chen-Yu Tsai , Diederik de Haas , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, "open list:ARM/Rockchip SoC..." , linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20240617-rk-dts-additions-v5-0-c1f5f3267f1e@gmail.com> <0418B5BB-6759-4BFA-BE6E-F5C7FA0CBF4F@gmail.com> <2236519.ZfL8zNpBrT@diego> <1E6ED98C-BD49-485D-9FE9-9E7CAEDB4564@gmail.com> <503ECE3A-CA1C-43A7-AEB2-C0000A930B3A@gmail.com> To: Alexey Charkov X-Mailer: Apple Mail (2.3654.120.0.1.15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240708_032917_002155_B47F3144 X-CRM114-Status: GOOD ( 12.68 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Alexey, pls see inline > Wiadomo=C5=9B=C4=87 napisana przez Alexey Charkov = w dniu 08.07.2024, o godz. 09:59: >=20 > Hi Piotr, >=20 > On Sun, Jul 7, 2024 at 9:32=E2=80=AFPM Piotr Oniszczuk > wrote: >>=20 >> Heiko, Alexey, >>=20 >> After some more tests: is varying fan-speeds working stable for you? >=20 > Yes, in my testing on Rock 5B it's been stable. >=20 >> In my case - 1 per few reboots results with board enters state with: = constant full speed and no any reaction for cpu temp. >> In such state - I need multiple hw poweroffs (remove usb-c plug) to = get fan-speeds working again. >> When board is such state - all seems to work ok (frequency scaling, = etc) except fan is constantly full speed=E2=80=A6 >=20 > One thought: could you please check which thermal governor gets > loaded? I used stepwise in my testing. >=20 this is from system when - after boot - i have constant full speed of = fan=20 root@myth-frontend-3614ae04f23f:~ # cat = /sys/class/thermal/thermal_zone0/policy step_wise root@myth-frontend-3614ae04f23f:~ # cat = /sys/class/thermal/thermal_zone1/policy step_wise root@myth-frontend-3614ae04f23f:~ # cat = /sys/class/thermal/thermal_zone2/policy step_wise root@myth-frontend-3614ae04f23f:~ # cat = /sys/class/thermal/thermal_zone3/policy step_wise root@myth-frontend-3614ae04f23f:~ # cat = /sys/class/thermal/thermal_zone4/policy step_wise root@myth-frontend-3614ae04f23f:~ # cat = /sys/class/thermal/thermal_zone5/policy step_wise root@myth-frontend-3614ae04f23f:~ # cat = /sys/class/thermal/thermal_zone6/policy step_wise root@myth-frontend-3614ae04f23f:~ # cat = /sys/class/thermal/thermal_zone7/policy dmesg: https://gist.github.com/warpme/5d12df382ce353205c6ff0c37f5b4791 lsmod: https://gist.github.com/warpme/1c74b3be2cabe85366f227594d8a3e90 pls let me know is there anything else i can provide to investigate this = issue...