Re: [Xen-devel] [PATCH v2 8/9] x86/intel_pstate: support the use of intel_pstate in pmstat.c

2015-06-05 Thread Wang, Wei W
On 05/06/2015 15:22, Jan Beulich wrote > >>> "Wang, Wei W" 06/04/15 4:21 AM >>> > >On 26/05/2015 22:16, Jan Beulich wrote > >> >>> On 13.05.16 at 09:51, wrote: > >> > --- a/xen/drivers/acpi/pmstat.c > >> > +++ b/xen/drivers/acpi/pmstat.c > >> > @@ -261,29 +272,47 @@ static int get_cpufreq_para(st

Re: [Xen-devel] [PATCH v2 8/9] x86/intel_pstate: support the use of intel_pstate in pmstat.c

2015-06-04 Thread Jan Beulich
>>> "Wang, Wei W" 06/04/15 4:21 AM >>> >On 26/05/2015 22:16, Jan Beulich wrote >> >>> On 13.05.16 at 09:51, wrote: >> > --- a/xen/drivers/acpi/pmstat.c >> > +++ b/xen/drivers/acpi/pmstat.c >> > @@ -261,29 +272,47 @@ static int get_cpufreq_para(struct >> xen_sysctl_pm_op *op) >> > op->u.get_

Re: [Xen-devel] [PATCH v2 8/9] x86/intel_pstate: support the use of intel_pstate in pmstat.c

2015-06-03 Thread Wang, Wei W
On 26/05/2015 22:16, Jan Beulich wrote > >>> On 13.05.16 at 09:51, wrote: > > --- a/xen/drivers/acpi/pmstat.c > > +++ b/xen/drivers/acpi/pmstat.c > > @@ -261,29 +272,47 @@ static int get_cpufreq_para(struct > xen_sysctl_pm_op *op) > > op->u.get_para.cpuinfo_max_freq = policy->cpuinfo.max_fre

Re: [Xen-devel] [PATCH v2 8/9] x86/intel_pstate: support the use of intel_pstate in pmstat.c

2015-05-26 Thread Jan Beulich
>>> On 13.05.16 at 09:51, wrote: > --- a/xen/drivers/acpi/pmstat.c > +++ b/xen/drivers/acpi/pmstat.c > @@ -167,7 +167,7 @@ int do_get_pm_info(struct xen_sysctl_get_pmstat *op) > * 2. Provide user PM control > */ > static int read_scaling_available_governors(char > *scaling_available_governor

[Xen-devel] [PATCH v2 8/9] x86/intel_pstate: support the use of intel_pstate in pmstat.c

2015-05-13 Thread Wei Wang
Add support in the pmstat.c so that the xenpm tool can request to access the intel_pstate driver. Signed-off-by: Wei Wang --- tools/libxc/xc_pm.c | 4 +- xen/drivers/acpi/pmstat.c | 106 +++- xen/include/public/sysctl.h | 16 ++- 3 files c