Re: [PATCH v3 0/6] amd_pstate: Add guided autonomous mode support

From: Wyes Karny
Date: Tue Jan 31 2023 - 00:35:05 EST


Hi Tor Vic,

On 24 Jan 20:40, Tor Vic wrote:
--------------------------------->8-----------------------------
>
> The "active" mode seems to be broken here on a Zen2 3900X running Linux 6.1.
> Frequency remains stuck at minimum which is +-500 MHz.

I've fixed this in v4.

>
> Some queries of the new /sys devices lead to I/O error:
>
> # LANG=C cat /sys/devices/system/cpu/cpufreq/policy0/amd_pstate_*
> 166
> cat:
> /sys/devices/system/cpu/cpufreq/policy0/amd_pstate_lowest_nonlinear_freq:
> Input/output error
> cat: /sys/devices/system/cpu/cpufreq/policy0/amd_pstate_max_freq:
> Input/output error
>
This issue I'm not able to reproduce. Is this issue seen with only EPP
patches also?
Could you please check if this issue still there with v4?

Thanks,
Wyes

> The "guided" mode seems to work fine with no stuck frequency, but also
> produces I/O error on some /sys files.
>
> I haven't tested "passive".
>
> Cheers,
>
> Tor Vic