Re: [PATCH v5 0/8] RK3588 and Rock 5B dts additions: thermal, OPP and fan

From: Piotr Oniszczuk
Date: Mon Jul 08 2024 - 06:30:18 EST


Alexey,
pls see inline

> Wiadomość napisana przez Alexey Charkov <alchark@xxxxxxxxx> w dniu 08.07.2024, o godz. 09:59:
>
> Hi Piotr,
>
> On Sun, Jul 7, 2024 at 9:32 PM Piotr Oniszczuk
> <piotr.oniszczuk@xxxxxxxxx> wrote:
>>
>> Heiko, Alexey,
>>
>> After some more tests: is varying fan-speeds working stable for you?
>
> Yes, in my testing on Rock 5B it's been stable.
>
>> 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…
>
> One thought: could you please check which thermal governor gets
> loaded? I used stepwise in my testing.
>

this is from system when - after boot - i have constant full speed of fan

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...