Re: [Eas-dev] [PATCH V3 2/3] cpufreq: schedutil: Process remote callback for shared policies

2017-07-26 Thread Saravana Kannan
On 07/20/2017 05:22 AM, Peter Zijlstra wrote: So the typical implementation of fast switching we're thinking of is the CPU writing the DVFS request into a machine register. Now machine registers are typically per logical CPU. Writing to a memory addressable register. AFAIK, ARM has no support f

Re: [Eas-dev] [PATCH V3 2/3] cpufreq: schedutil: Process remote callback for shared policies

2017-07-20 Thread Sudeep Holla
On 20/07/17 13:22, Peter Zijlstra wrote: > On Thu, Jul 13, 2017 at 07:02:37PM -0700, Saravana Kannan wrote: >> In all Qualcomm chipsets (well, at least the ones that have been used in >> Android devices so far), we can switch the frequency of any CPU from any >> other CPU. If we can do that even

Re: [Eas-dev] [PATCH V3 2/3] cpufreq: schedutil: Process remote callback for shared policies

2017-07-20 Thread Peter Zijlstra
On Fri, Jul 14, 2017 at 10:33:20AM +0530, Viresh Kumar wrote: > On 13-07-17, 19:02, Saravana Kannan wrote: > > Honestly, this seems like such a chip/platform specific decision. There's no > > reason that one can't have a chip where you can change the frequency of any > > CPU from any other CPU. If

Re: [Eas-dev] [PATCH V3 2/3] cpufreq: schedutil: Process remote callback for shared policies

2017-07-20 Thread Peter Zijlstra
On Thu, Jul 13, 2017 at 07:02:37PM -0700, Saravana Kannan wrote: > In all Qualcomm chipsets (well, at least the ones that have been used in > Android devices so far), we can switch the frequency of any CPU from any > other CPU. If we can do that even without fast switching, why wouldn't any > theor

Re: [Eas-dev] [PATCH V3 2/3] cpufreq: schedutil: Process remote callback for shared policies

2017-07-13 Thread Viresh Kumar
On 13-07-17, 19:02, Saravana Kannan wrote: > Honestly, this seems like such a chip/platform specific decision. There's no > reason that one can't have a chip where you can change the frequency of any > CPU from any other CPU. If there's such a limitation, we should let that be > handled at the CPU

Re: [Eas-dev] [PATCH V3 2/3] cpufreq: schedutil: Process remote callback for shared policies

2017-07-13 Thread Saravana Kannan
On 07/12/2017 11:44 PM, Viresh Kumar wrote: This patch updates the schedutil governor to process cpufreq utilization update hooks called for remote CPUs. The schedutil governor already has proper locking in place for shared policy update hooks and nothing extra is required to be done. Based on