Re: [RFC PATCH] cpufreq / cppc: Work around for Hisilicon CPPC cpufreq

2019-02-02 Thread Xiongfeng Wang
Hi, Rafael Thanks for your reply and advice below. Sorry, I'am out of the office because of the Chinese spring festival. I will send another version when I come back. It's 14th February. Thanks, Xiongfeng On 2019/1/31 7:42, Rafael J. Wysocki wrote: > On Thursday, January 17, 2019 12:00:11 PM

Re: [RFC PATCH] cpufreq / cppc: Work around for Hisilicon CPPC cpufreq

2019-01-30 Thread Rafael J. Wysocki
On Thursday, January 17, 2019 12:00:11 PM CET Xiongfeng Wang wrote: > Hisilicon chips do not support delivered performance counter register > and reference performance counter register. But the platform can > calculate the real performance using its own method. This patch provide > a workaround

Re: [RFC PATCH] cpufreq / cppc: Work around for Hisilicon CPPC cpufreq

2019-01-26 Thread Xiongfeng Wang
Hi George, Thanks for your reply ! On 2019/1/25 15:07, George Cherian wrote: > Hi Wang, > > On Thu, Jan 24, 2019 at 12:27 PM Viresh Kumar wrote: >> >> +George/Prashanth. >> >> Guys please see if you have any objections to this patch. I am not >> very familiar with this stuff and it would be

Re: [RFC PATCH] cpufreq / cppc: Work around for Hisilicon CPPC cpufreq

2019-01-24 Thread George Cherian
Hi Wang, On Thu, Jan 24, 2019 at 12:27 PM Viresh Kumar wrote: > > +George/Prashanth. > > Guys please see if you have any objections to this patch. I am not > very familiar with this stuff and it would be good to get some > feedback from you guys. > > @Rafael: Do you have any comments on this ? >

Re: [RFC PATCH] cpufreq / cppc: Work around for Hisilicon CPPC cpufreq

2019-01-24 Thread Rafael J. Wysocki
On Thu, Jan 24, 2019 at 7:56 AM Viresh Kumar wrote: > > +George/Prashanth. > > Guys please see if you have any objections to this patch. I am not > very familiar with this stuff and it would be good to get some > feedback from you guys. > > @Rafael: Do you have any comments on this ? Not yet,

Re: [RFC PATCH] cpufreq / cppc: Work around for Hisilicon CPPC cpufreq

2019-01-23 Thread Viresh Kumar
+George/Prashanth. Guys please see if you have any objections to this patch. I am not very familiar with this stuff and it would be good to get some feedback from you guys. @Rafael: Do you have any comments on this ? On 17-01-19, 19:00, Xiongfeng Wang wrote: > Hisilicon chips do not support

[RFC PATCH] cpufreq / cppc: Work around for Hisilicon CPPC cpufreq

2019-01-17 Thread Xiongfeng Wang
Hisilicon chips do not support delivered performance counter register and reference performance counter register. But the platform can calculate the real performance using its own method. This patch provide a workaround for this problem, and other platforms can also use this workaround framework.