Re: [RFC PATCH] cpufreq: Calling init() of cpufreq_driver when policy inactive cpu online

2018-03-24 Thread Yang, Shunyong
Hi, Kumar, On Wed, 2018-03-21 at 22:35 -0700, Yang, Shunyong wrote: > Hi, Kumar > > On Thu, 2018-03-22 at 11:30 +0800, Viresh Kumar wrote: > > > > On 21-03-18, 18:21, Shunyong Yang wrote: > > > > > > > > > When multiple cpus are related in one cpufreq policy, the first > > > online cpu > > > w

Re: [RFC PATCH] cpufreq: Calling init() of cpufreq_driver when policy inactive cpu online

2018-03-21 Thread Yang, Shunyong
Hi, Kumar On Thu, 2018-03-22 at 11:30 +0800, Viresh Kumar wrote: > On 21-03-18, 18:21, Shunyong Yang wrote: > > > > When multiple cpus are related in one cpufreq policy, the first > > online cpu > > will be chosen by default to handle cpufreq operations. In a CPPC > > case, > > let's take two rel

Re: [RFC PATCH] cpufreq: Calling init() of cpufreq_driver when policy inactive cpu online

2018-03-21 Thread Viresh Kumar
On 21-03-18, 18:21, Shunyong Yang wrote: > When multiple cpus are related in one cpufreq policy, the first online cpu > will be chosen by default to handle cpufreq operations. In a CPPC case, > let's take two related cpus, cpu0 and cpu1 as an example. > > After system start, cpu0 is the first onli

[RFC PATCH] cpufreq: Calling init() of cpufreq_driver when policy inactive cpu online

2018-03-21 Thread Shunyong Yang
When multiple cpus are related in one cpufreq policy, the first online cpu will be chosen by default to handle cpufreq operations. In a CPPC case, let's take two related cpus, cpu0 and cpu1 as an example. After system start, cpu0 is the first online cpu. Cpufreq policy will be allocated and init()