https://bugzilla.kernel.org/show_bug.cgi?id=204609
Błażej Szczygieł (spaz16@wp.pl) changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |spaz16@wp.pl
--- Comment #5 from Błażej Szczygieł (spaz16@wp.pl) --- Created attachment 286329 --> https://bugzilla.kernel.org/attachment.cgi?id=286329&action=edit kernel5.4 powerplay add mutex
Also the same as: https://gitlab.freedesktop.org/drm/amd/issues/900
In kernel 5.4.3 run a few times `watch -n 0.1 cat /sys/class/drm/card0/device/hwmon/hwmon*/fan1_input` in parallel and you'll have a lot of warning and finally system freeze.
In kernel 5.5-rc2 powerplay warnings and finally system freeze can happen when sensors are read and screen mode is changed (like screen resolution change, etc).
In my opinion a lot of powerplay issues are caused by missing mutexes between kernel and user space. I prepared a very simple kernel 5.4 patch which allows me to use fan monitor, but probably there are still some missing mutexes there.