On 28.08.2025 12:04, Penny Zheng wrote:
> Even if Xen governor is not used in amd-cppc active mode, we could
> somehow deduce which performance policy (CPUFREQ_POLICY_xxx) user wants to
> apply through which governor they choose, such as:
> If user chooses performance governor, they want maximum performance, then
> the policy shall be CPUFREQ_POLICY_PERFORMANCE
> If user chooses powersave governor, they want the least power consumption,
> then the policy shall be CPUFREQ_POLICY_POWERSAVE
> Function cpufreq_policy_from_governor() is responsible for above transition,
> and it shall be also effective when users setting new governor through xenpm.
> 
> Userspace is a forbidden choice, and if users specify such option, we shall
> not only give warning message to suggest using "xenpm set-cpufreq-cppc", but
> also error out.
> 
> Signed-off-by: Penny Zheng <penny.zh...@amd.com>

Acked-by: Jan Beulich <jbeul...@suse.com>


Reply via email to