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
>>> "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_
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
>>> 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
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