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

From: Tor Vic
Date: Wed Feb 01 2023 - 13:16:09 EST




On 31.01.23 05:34, Wyes Karny wrote:
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?

No, it's gone. Could have been a mismerge, I'm sorry.


Thanks,
Wyes

Thank you!


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