RE: [PATCH] cpufreq: Align all CPUs to the same frequency if using shared clock

2014-01-25 Thread Li, Zhuangzhi
; Subject: Re: [PATCH] cpufreq: Align all CPUs to the same frequency if using > shared clock > > On 22 January 2014 11:56, Li, Zhuangzhi wrote: > > I don't think it's a real bug in bootloader, the bootloader can set > > CPUs to different frequencies according to actually requirem

RE: [PATCH] cpufreq: Align all CPUs to the same frequency if using shared clock

2014-01-25 Thread Li, Zhuangzhi
: Align all CPUs to the same frequency if using shared clock On 22 January 2014 11:56, Li, Zhuangzhi zhuangzhi...@intel.com wrote: I don't think it's a real bug in bootloader, the bootloader can set CPUs to different frequencies according to actually requirements(Power saving first

Re: [PATCH] cpufreq: Align all CPUs to the same frequency if using shared clock

2014-01-21 Thread Viresh Kumar
On 22 January 2014 11:56, Li, Zhuangzhi wrote: > I don't think it's a real bug in bootloader, the bootloader can set CPUs to > different frequencies according to actually requirements(Power saving first > or Performance first), > the CPUs freq policy are initialized in kernel, if the kernel

RE: [PATCH] cpufreq: Align all CPUs to the same frequency if using shared clock

2014-01-21 Thread Li, Zhuangzhi
; Subject: Re: [PATCH] cpufreq: Align all CPUs to the same frequency if using > shared clock > > On 21 January 2014 13:42, Viresh Kumar wrote: > > On 21 January 2014 12:56, Li, Zhuangzhi wrote: > >> Thanks for reviewing. > > > > Its my job :) > > > >&g

Re: [PATCH] cpufreq: Align all CPUs to the same frequency if using shared clock

2014-01-21 Thread Viresh Kumar
On 21 January 2014 13:42, Viresh Kumar wrote: > On 21 January 2014 12:56, Li, Zhuangzhi wrote: >> Thanks for reviewing. > > Its my job :) > >> Sorry for make you misunderstanding, on our x86 platform, we want all the >> CPUs share one policy by setting CPUFREQ_SHARED_TYPE_ALL, not share one HW

Re: [PATCH] cpufreq: Align all CPUs to the same frequency if using shared clock

2014-01-21 Thread Viresh Kumar
On 21 January 2014 12:56, Li, Zhuangzhi wrote: > Thanks for reviewing. Its my job :) > Sorry for make you misunderstanding, on our x86 platform, we want all the > CPUs share one policy by setting CPUFREQ_SHARED_TYPE_ALL, not share one HW > clock line. I see.. Then probably your patch makes

Re: [PATCH] cpufreq: Align all CPUs to the same frequency if using shared clock

2014-01-21 Thread Viresh Kumar
On 21 January 2014 12:56, Li, Zhuangzhi zhuangzhi...@intel.com wrote: Thanks for reviewing. Its my job :) Sorry for make you misunderstanding, on our x86 platform, we want all the CPUs share one policy by setting CPUFREQ_SHARED_TYPE_ALL, not share one HW clock line. I see.. Then probably

Re: [PATCH] cpufreq: Align all CPUs to the same frequency if using shared clock

2014-01-21 Thread Viresh Kumar
On 21 January 2014 13:42, Viresh Kumar viresh.ku...@linaro.org wrote: On 21 January 2014 12:56, Li, Zhuangzhi zhuangzhi...@intel.com wrote: Thanks for reviewing. Its my job :) Sorry for make you misunderstanding, on our x86 platform, we want all the CPUs share one policy by setting

RE: [PATCH] cpufreq: Align all CPUs to the same frequency if using shared clock

2014-01-21 Thread Li, Zhuangzhi
: Align all CPUs to the same frequency if using shared clock On 21 January 2014 13:42, Viresh Kumar viresh.ku...@linaro.org wrote: On 21 January 2014 12:56, Li, Zhuangzhi zhuangzhi...@intel.com wrote: Thanks for reviewing. Its my job :) Sorry for make you misunderstanding, on our x86

Re: [PATCH] cpufreq: Align all CPUs to the same frequency if using shared clock

2014-01-21 Thread Viresh Kumar
On 22 January 2014 11:56, Li, Zhuangzhi zhuangzhi...@intel.com wrote: I don't think it's a real bug in bootloader, the bootloader can set CPUs to different frequencies according to actually requirements(Power saving first or Performance first), the CPUs freq policy are initialized in kernel,

RE: [PATCH] cpufreq: Align all CPUs to the same frequency if using shared clock

2014-01-20 Thread Li, Zhuangzhi
, January 21, 2014 2:35 PM To: Li, Zhuangzhi Cc: Rafael J. Wysocki; cpuf...@vger.kernel.org; linux...@vger.kernel.org; Linux Kernel Mailing List; Liu, Chuansheng Subject: Re: [PATCH] cpufreq: Align all CPUs to the same frequency if using shared clock On 21 January 2014 08:35, lizhuangzhi wrote

Re: [PATCH] cpufreq: Align all CPUs to the same frequency if using shared clock

2014-01-20 Thread Viresh Kumar
On 21 January 2014 08:35, lizhuangzhi wrote: > Some SMP systems want to make all the possible CPUs share the clock, > if the CPUs init frequencies aren't the same, we need to align all the > CPUs to the same frequency while CPUs registing to avoid mismatched > CPU's P-states. > > Signed-off-by:

Re: [PATCH] cpufreq: Align all CPUs to the same frequency if using shared clock

2014-01-20 Thread Viresh Kumar
On 21 January 2014 08:35, lizhuangzhi zhuangzhi...@intel.com wrote: Some SMP systems want to make all the possible CPUs share the clock, if the CPUs init frequencies aren't the same, we need to align all the CPUs to the same frequency while CPUs registing to avoid mismatched CPU's P-states.

RE: [PATCH] cpufreq: Align all CPUs to the same frequency if using shared clock

2014-01-20 Thread Li, Zhuangzhi
, January 21, 2014 2:35 PM To: Li, Zhuangzhi Cc: Rafael J. Wysocki; cpuf...@vger.kernel.org; linux...@vger.kernel.org; Linux Kernel Mailing List; Liu, Chuansheng Subject: Re: [PATCH] cpufreq: Align all CPUs to the same frequency if using shared clock On 21 January 2014 08:35, lizhuangzhi zhuangzhi