[PATCH 0/3] cpufreq: CPPC: Some optimizations for cppc_cpufreq.c.

Lifeng Zheng posted 3 patches 8 months, 2 weeks ago
drivers/cpufreq/cppc_cpufreq.c | 59 +++++++++-------------------------
include/acpi/cppc_acpi.h       |  1 -
2 files changed, 15 insertions(+), 45 deletions(-)
[PATCH 0/3] cpufreq: CPPC: Some optimizations for cppc_cpufreq.c.
Posted by Lifeng Zheng 8 months, 2 weeks ago
This patch series makes some minor optimizations for cppc_cpufreq.c to
makes codes cleaner.

Lifeng Zheng (3):
  cpufreq: CPPC: Remove cpu_data_list
  cpufreq: CPPC: Return void in populate_efficiency_class()
  cpufreq: CPPC: Remove forward declaration of
    cppc_cpufreq_register_em()

 drivers/cpufreq/cppc_cpufreq.c | 59 +++++++++-------------------------
 include/acpi/cppc_acpi.h       |  1 -
 2 files changed, 15 insertions(+), 45 deletions(-)

-- 
2.33.0
Re: [PATCH 0/3] cpufreq: CPPC: Some optimizations for cppc_cpufreq.c.
Posted by Viresh Kumar 7 months, 3 weeks ago
On 26-05-25, 19:30, Lifeng Zheng wrote:
> This patch series makes some minor optimizations for cppc_cpufreq.c to
> makes codes cleaner.
> 
> Lifeng Zheng (3):
>   cpufreq: CPPC: Remove cpu_data_list
>   cpufreq: CPPC: Return void in populate_efficiency_class()
>   cpufreq: CPPC: Remove forward declaration of
>     cppc_cpufreq_register_em()
> 
>  drivers/cpufreq/cppc_cpufreq.c | 59 +++++++++-------------------------
>  include/acpi/cppc_acpi.h       |  1 -
>  2 files changed, 15 insertions(+), 45 deletions(-)

Applied. Thanks.

-- 
viresh
Re: [PATCH 0/3] cpufreq: CPPC: Some optimizations for cppc_cpufreq.c.
Posted by zhenglifeng (A) 7 months, 3 weeks ago
Gentle ping.

On 2025/5/26 19:30, Lifeng Zheng wrote:
> This patch series makes some minor optimizations for cppc_cpufreq.c to
> makes codes cleaner.
> 
> Lifeng Zheng (3):
>   cpufreq: CPPC: Remove cpu_data_list
>   cpufreq: CPPC: Return void in populate_efficiency_class()
>   cpufreq: CPPC: Remove forward declaration of
>     cppc_cpufreq_register_em()
> 
>  drivers/cpufreq/cppc_cpufreq.c | 59 +++++++++-------------------------
>  include/acpi/cppc_acpi.h       |  1 -
>  2 files changed, 15 insertions(+), 45 deletions(-)
>
Re: [PATCH 0/3] cpufreq: CPPC: Some optimizations for cppc_cpufreq.c.
Posted by Rafael J. Wysocki 7 months, 3 weeks ago
On Tue, Jun 17, 2025 at 4:33 AM zhenglifeng (A) <zhenglifeng1@huawei.com> wrote:
>
> Gentle ping.
>
> On 2025/5/26 19:30, Lifeng Zheng wrote:
> > This patch series makes some minor optimizations for cppc_cpufreq.c to
> > makes codes cleaner.
> >
> > Lifeng Zheng (3):
> >   cpufreq: CPPC: Remove cpu_data_list
> >   cpufreq: CPPC: Return void in populate_efficiency_class()
> >   cpufreq: CPPC: Remove forward declaration of
> >     cppc_cpufreq_register_em()
> >
> >  drivers/cpufreq/cppc_cpufreq.c | 59 +++++++++-------------------------
> >  include/acpi/cppc_acpi.h       |  1 -
> >  2 files changed, 15 insertions(+), 45 deletions(-)

I've started to process this because it has been sent to linux-acpi
and then I realized that Viresh should take it, but since I've applied
it already, I may as well queue it up for 6.17.

Viresh, please let me know if you have any concerns about it.

Thanks!
Re: [PATCH 0/3] cpufreq: CPPC: Some optimizations for cppc_cpufreq.c.
Posted by Viresh Kumar 7 months, 3 weeks ago
On 18-06-25, 21:06, Rafael J. Wysocki wrote:
> On Tue, Jun 17, 2025 at 4:33 AM zhenglifeng (A) <zhenglifeng1@huawei.com> wrote:
> >
> > Gentle ping.
> >
> > On 2025/5/26 19:30, Lifeng Zheng wrote:
> > > This patch series makes some minor optimizations for cppc_cpufreq.c to
> > > makes codes cleaner.
> > >
> > > Lifeng Zheng (3):
> > >   cpufreq: CPPC: Remove cpu_data_list
> > >   cpufreq: CPPC: Return void in populate_efficiency_class()
> > >   cpufreq: CPPC: Remove forward declaration of
> > >     cppc_cpufreq_register_em()
> > >
> > >  drivers/cpufreq/cppc_cpufreq.c | 59 +++++++++-------------------------
> > >  include/acpi/cppc_acpi.h       |  1 -
> > >  2 files changed, 15 insertions(+), 45 deletions(-)
> 
> I've started to process this because it has been sent to linux-acpi
> and then I realized that Viresh should take it, but since I've applied
> it already, I may as well queue it up for 6.17.
> 
> Viresh, please let me know if you have any concerns about it.

I applied this before I saw your email.. Please keep it, I will drop it. Thanks.

-- 
viresh
Re: [PATCH 0/3] cpufreq: CPPC: Some optimizations for cppc_cpufreq.c.
Posted by Pierre Gondois 8 months, 2 weeks ago
Reviewed-by: Pierre Gondois <pierre.gondois@arm.com>

On 5/26/25 13:30, Lifeng Zheng wrote:
> This patch series makes some minor optimizations for cppc_cpufreq.c to
> makes codes cleaner.
>
> Lifeng Zheng (3):
>    cpufreq: CPPC: Remove cpu_data_list
>    cpufreq: CPPC: Return void in populate_efficiency_class()
>    cpufreq: CPPC: Remove forward declaration of
>      cppc_cpufreq_register_em()
>
>   drivers/cpufreq/cppc_cpufreq.c | 59 +++++++++-------------------------
>   include/acpi/cppc_acpi.h       |  1 -
>   2 files changed, 15 insertions(+), 45 deletions(-)
>
Re: [PATCH 0/3] cpufreq: CPPC: Some optimizations for cppc_cpufreq.c.
Posted by zhenglifeng (A) 8 months, 2 weeks ago
On 2025/5/28 21:26, Pierre Gondois wrote:

> Reviewed-by: Pierre Gondois <pierre.gondois@arm.com>

Thanks!

> 
> On 5/26/25 13:30, Lifeng Zheng wrote:
>> This patch series makes some minor optimizations for cppc_cpufreq.c to
>> makes codes cleaner.
>>
>> Lifeng Zheng (3):
>>    cpufreq: CPPC: Remove cpu_data_list
>>    cpufreq: CPPC: Return void in populate_efficiency_class()
>>    cpufreq: CPPC: Remove forward declaration of
>>      cppc_cpufreq_register_em()
>>
>>   drivers/cpufreq/cppc_cpufreq.c | 59 +++++++++-------------------------
>>   include/acpi/cppc_acpi.h       |  1 -
>>   2 files changed, 15 insertions(+), 45 deletions(-)
>>