Re: [Xen-devel] [PATCH v6 3/6] x86/intel_pstate: the main body of the intel_pstate driver

2015-11-20 Thread Jan Beulich
>>> On 28.10.15 at 04:21, wrote: > --- /dev/null > +++ b/xen/arch/x86/acpi/cpufreq/intel_pstate.c > @@ -0,0 +1,882 @@ > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include >

[Xen-devel] [PATCH v6 3/6] x86/intel_pstate: the main body of the intel_pstate driver

2015-10-27 Thread Wei Wang
We simply grab the fundamental logic of the intel_pstate driver from Linux kernel, and customize it to Xen style. In the kernel, a user can adjust the limits via sysfs (limits.min_sysfs_pct/max_sysfs_pct). In Xen, the policy->limits.min_perf_pct/max_perf_pct acts as the transit station. A user