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 wei.w.w...@intel.com 06/04/15 4:21 AM On 26/05/2015 22:16, Jan Beulich wrote On 13.05.16 at 09:51, wei.w.w...@intel.com 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)

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, wei.w.w...@intel.com 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 =

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, wei.w.w...@intel.com 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

[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 wei.w.w...@intel.com --- tools/libxc/xc_pm.c | 4 +- xen/drivers/acpi/pmstat.c | 106 +++- xen/include/public/sysctl.h |