Re: [PATCH v5 15/18] xen/cpufreq: bypass governor-related para for amd-cppc-epp

2025-06-17 Thread Jan Beulich
On 27.05.2025 10:48, Penny Zheng wrote: > --- a/xen/drivers/acpi/pmstat.c > +++ b/xen/drivers/acpi/pmstat.c > @@ -253,7 +253,8 @@ static int get_cpufreq_para(struct xen_sysctl_pm_op *op) > else > strlcpy(op->u.get_para.scaling_driver, "Unknown", CPUFREQ_NAME_LEN); > > -if ( !hwp

[PATCH v5 15/18] xen/cpufreq: bypass governor-related para for amd-cppc-epp

2025-05-27 Thread Penny Zheng
HWP and amd-cppc-epp are both governor-less driver, so we introduce "hw_auto" flag to together bypass governor-related print in print_cpufreq_para(). In get/set_cpufreq_para(), we are adding "cpufreq_driver.setpolicy == NULL" check to exclude governor-related para for amd-cppc-epp driver. Signed-