Re: [PATCH v3] cpufreq: CPPC: simply the code access 'highest_perf' value in cppc_perf_caps struct

2020-08-03 Thread Xin Hao
Thanks 在 2020/8/4 下午12:37, Viresh Kumar 写道: On 04-08-20, 10:37, Xin Hao wrote: Hi everyone: I want to know why my patch didn't merge into upstream ? I have sent a pull request earlier today to Rafael and this will get merged in the next pull request Rafael will send to Linus.

Re: [PATCH v3] cpufreq: CPPC: simply the code access 'highest_perf' value in cppc_perf_caps struct

2020-08-03 Thread Xin Hao
Hi everyone: I want to know why my patch didn't merge into upstream ? Thanks 在 2020/7/1 下午12:20, Xin Hao 写道: The 'caps' variable has been defined, so there is no need to get 'highest_perf' value through 'cpu->caps.highest_perf', you can use '

[PATCH v3] cpufreq: CPPC: simply the code access 'highest_perf' value in cppc_perf_caps struct

2020-06-30 Thread Xin Hao
The 'caps' variable has been defined, so there is no need to get 'highest_perf' value through 'cpu->caps.highest_perf', you can use 'caps->highest_perf' instead. Signed-off-by: Xin Hao --- drivers/cpufreq/cppc_cpufreq.c | 4 ++-- 1 file changed,

[PATCH v2] cpufreq: CPPC: fix some unreasonable codes in cppc_cpufreq_perf_to_khz()

2020-06-30 Thread Xin Hao
The 'caps' variable has been defined, so there is no need to get 'highest_perf' value through 'cpu->caps.highest_perf', you can use 'caps->highest_perf' instead. Signed-off-by: Xin Hao --- drivers/cpufreq/cppc_cpufreq.c | 2 +- 1 file change

[PATCH] cpufreq: CPPC: fix some unreasonable codes in cppc_cpufreq_perf_to_khz()

2020-06-30 Thread Xin Hao
Signed-off-by: Xin Hao --- drivers/cpufreq/cppc_cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/cppc_cpufreq.c b/drivers/cpufreq/cppc_cpufreq.c index 257d726a4456..444ee76a6bae 100644 --- a/drivers/cpufreq/cppc_cpufreq.c +++ b/drivers/cpufreq