Re: [Xen-devel] [PATCH 6/9] x86/intel_pstate: the main boby of the intel_pstate driver

2015-04-28 Thread Jan Beulich
>>> Julien Grall 04/26/15 7:33 PM >>> >On 26/04/2015 05:32, Wang, Wei W wrote: >> Thanks for your comments. But I saw "int powernow_cpufreq_init(void);" is >> put there. > >FWIW, this prototype doesn't have any implementation even on x86. > >While currently some drivers (such as the x86 powernow)

Re: [Xen-devel] [PATCH 6/9] x86/intel_pstate: the main boby of the intel_pstate driver

2015-04-26 Thread Wang, Wei W
On 26/04/2015 01:33, Julien Grall wrote Hi Julien, > On 26/04/2015 05:32, Wang, Wei W wrote: > > On 24/04/2015 20:57, Julien Grall wrote > >> On 23/04/2016 18:58, Wei Wang wrote: > >>> diff --git a/xen/include/acpi/cpufreq/processor_perf.h > >>> b/xen/include/acpi/cpufreq/processor_perf.h > >>> in

Re: [Xen-devel] [PATCH 6/9] x86/intel_pstate: the main boby of the intel_pstate driver

2015-04-26 Thread Julien Grall
On 26/04/2015 05:32, Wang, Wei W wrote: Hi Julien, Hi Wei, On 24/04/2015 20:57, Julien Grall wrote On 23/04/2016 18:58, Wei Wang wrote: diff --git a/xen/include/acpi/cpufreq/processor_perf.h b/xen/include/acpi/cpufreq/processor_perf.h index d8a1ba6..ebff11d 100644 --- a/xen/include/acpi/c

Re: [Xen-devel] [PATCH 6/9] x86/intel_pstate: the main boby of the intel_pstate driver

2015-04-25 Thread Wang, Wei W
Hi Julien, On 24/04/2015 20:57, Julien Grall wrote > On 23/04/2016 18:58, Wei Wang wrote: > > diff --git a/xen/include/acpi/cpufreq/processor_perf.h > > b/xen/include/acpi/cpufreq/processor_perf.h > > index d8a1ba6..ebff11d 100644 > > --- a/xen/include/acpi/cpufreq/processor_perf.h > > +++ b/xen/i

Re: [Xen-devel] [PATCH 6/9] x86/intel_pstate: the main boby of the intel_pstate driver

2015-04-25 Thread Julien Grall
Hi Wei, On 23/04/2016 18:58, Wei Wang wrote: diff --git a/xen/include/acpi/cpufreq/processor_perf.h b/xen/include/acpi/cpufreq/processor_perf.h index d8a1ba6..ebff11d 100644 --- a/xen/include/acpi/cpufreq/processor_perf.h +++ b/xen/include/acpi/cpufreq/processor_perf.h @@ -7,6 +7,7 @@ #defin

[Xen-devel] [PATCH 6/9] x86/intel_pstate: the main boby of the intel_pstate driver

2015-04-23 Thread Wei Wang
The intel_pstate driver is ported following its kernel code logic (commit: 93f0822d). In the kernel, a user can adjust the limits via sysfs (limits.min_sysfs_pct/max_sysfs_pct). In Xen, the policy->min_perf_pct/max_perf_pct acts as the transit station. A user interacts with it via xenpm. Signed-o