Re: [Xen-devel] [PATCH v3 03/11] x86/intel_pstate: add new policy fields and a new driver interface

2015-06-18 Thread Jan Beulich
>>> On 11.06.15 at 10:26, wrote: > --- a/xen/drivers/cpufreq/utility.c > +++ b/xen/drivers/cpufreq/utility.c > @@ -457,6 +457,12 @@ int __cpufreq_set_policy(struct cpufreq_policy *data, > data->min = policy->min; > data->max = policy->max; > > +if (cpufreq_driver->setpolicy) { > +

[Xen-devel] [PATCH v3 03/11] x86/intel_pstate: add new policy fields and a new driver interface

2015-06-11 Thread Wei Wang
In order to better support future Intel processors, intel_pstate changes to use percentage values to tune P-states. The intel_pstate driver uses its own internal governor, and it is recorded in the "policy->policy" field. The setpolicy driver interface is used to configure the intel_pstate internal