Re: [PATCH] cpufreq: cppc_cpufreq: Initialize shared cpu's perf capabilities

2018-04-02 Thread Yang, Shunyong
Hi, Kumar, On Mon, 2018-04-02 at 12:38 +0530, Viresh Kumar wrote: > On 28-03-18, 17:31, 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. Let's > > take > > cpu0 and cpu1 as an

Re: [PATCH] cpufreq: cppc_cpufreq: Initialize shared cpu's perf capabilities

2018-04-02 Thread Yang, Shunyong
Hi, Kumar, On Mon, 2018-04-02 at 12:38 +0530, Viresh Kumar wrote: > On 28-03-18, 17:31, 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. Let's > > take > > cpu0 and cpu1 as an

Re: [PATCH] cpufreq: cppc_cpufreq: Initialize shared cpu's perf capabilities

2018-04-02 Thread Viresh Kumar
On 28-03-18, 17:31, 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. Let's take > cpu0 and cpu1 as an example. > > When cpu0 is offline, policy->cpu will be shifted to cpu1. Cpu1's should >

Re: [PATCH] cpufreq: cppc_cpufreq: Initialize shared cpu's perf capabilities

2018-04-02 Thread Viresh Kumar
On 28-03-18, 17:31, 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. Let's take > cpu0 and cpu1 as an example. > > When cpu0 is offline, policy->cpu will be shifted to cpu1. Cpu1's should >

[PATCH] cpufreq: cppc_cpufreq: Initialize shared cpu's perf capabilities

2018-03-28 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. Let's take cpu0 and cpu1 as an example. When cpu0 is offline, policy->cpu will be shifted to cpu1. Cpu1's should be initialized. Otherwise, perf capabilities are 0s

[PATCH] cpufreq: cppc_cpufreq: Initialize shared cpu's perf capabilities

2018-03-28 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. Let's take cpu0 and cpu1 as an example. When cpu0 is offline, policy->cpu will be shifted to cpu1. Cpu1's should be initialized. Otherwise, perf capabilities are 0s