Re: [RFC PATCH 3/4] intel_pstate: support scheduler cpufreq callbacks on remote CPUs

2016-04-25 Thread Rafael J. Wysocki
On Thu, Apr 21, 2016 at 4:20 AM, Steve Muckle wrote: > On Wed, Apr 20, 2016 at 02:37:18PM +0200, Rafael J. Wysocki wrote: > ... >> > @@ -1173,20 +1179,88 @@ static inline void >> > intel_pstate_adjust_busy_pstate(struct cpudata *cpu) >> >

Re: [RFC PATCH 3/4] intel_pstate: support scheduler cpufreq callbacks on remote CPUs

2016-04-25 Thread Rafael J. Wysocki
On Thu, Apr 21, 2016 at 4:20 AM, Steve Muckle wrote: > On Wed, Apr 20, 2016 at 02:37:18PM +0200, Rafael J. Wysocki wrote: > ... >> > @@ -1173,20 +1179,88 @@ static inline void >> > intel_pstate_adjust_busy_pstate(struct cpudata *cpu) >> > get_avg_frequency(cpu)); >> > } >> > >> >

Re: [RFC PATCH 3/4] intel_pstate: support scheduler cpufreq callbacks on remote CPUs

2016-04-20 Thread Steve Muckle
On Wed, Apr 20, 2016 at 02:37:18PM +0200, Rafael J. Wysocki wrote: ... > > @@ -1173,20 +1179,88 @@ static inline void > > intel_pstate_adjust_busy_pstate(struct cpudata *cpu) > > get_avg_frequency(cpu)); > > } > > > > +static void _intel_pstate_update_util(struct cpudata *cpu, u64

Re: [RFC PATCH 3/4] intel_pstate: support scheduler cpufreq callbacks on remote CPUs

2016-04-20 Thread Steve Muckle
On Wed, Apr 20, 2016 at 02:37:18PM +0200, Rafael J. Wysocki wrote: ... > > @@ -1173,20 +1179,88 @@ static inline void > > intel_pstate_adjust_busy_pstate(struct cpudata *cpu) > > get_avg_frequency(cpu)); > > } > > > > +static void _intel_pstate_update_util(struct cpudata *cpu, u64

Re: [RFC PATCH 3/4] intel_pstate: support scheduler cpufreq callbacks on remote CPUs

2016-04-20 Thread Rafael J. Wysocki
On Tuesday, April 19, 2016 07:39:28 PM Steve Muckle wrote: > In preparation for the scheduler cpufreq callback happening on remote > CPUs, add support for this in intel_pstate, which requires the > callback run on the local CPU to be able to change the CPU frequency. > > Signed-off-by: Steve

Re: [RFC PATCH 3/4] intel_pstate: support scheduler cpufreq callbacks on remote CPUs

2016-04-20 Thread Rafael J. Wysocki
On Tuesday, April 19, 2016 07:39:28 PM Steve Muckle wrote: > In preparation for the scheduler cpufreq callback happening on remote > CPUs, add support for this in intel_pstate, which requires the > callback run on the local CPU to be able to change the CPU frequency. > > Signed-off-by: Steve

[RFC PATCH 3/4] intel_pstate: support scheduler cpufreq callbacks on remote CPUs

2016-04-19 Thread Steve Muckle
In preparation for the scheduler cpufreq callback happening on remote CPUs, add support for this in intel_pstate, which requires the callback run on the local CPU to be able to change the CPU frequency. Signed-off-by: Steve Muckle --- drivers/cpufreq/intel_pstate.c | 88

[RFC PATCH 3/4] intel_pstate: support scheduler cpufreq callbacks on remote CPUs

2016-04-19 Thread Steve Muckle
In preparation for the scheduler cpufreq callback happening on remote CPUs, add support for this in intel_pstate, which requires the callback run on the local CPU to be able to change the CPU frequency. Signed-off-by: Steve Muckle --- drivers/cpufreq/intel_pstate.c | 88