mbox series

[RESEND,0/2] ARM: Switch over to GENERIC_CPU_DEVICES

Message ID 20240702075742.945768-1-ruanjinjie@huawei.com (mailing list archive)
Headers show
Series ARM: Switch over to GENERIC_CPU_DEVICES | expand

Message

Jinjie Ruan July 2, 2024, 7:57 a.m. UTC
Currently, almost all architectures have switched to GENERIC_CPU_DEVICES,
except for arm32. Also switch over to GENERIC_CPU_DEVICES, which can also
make the code more concise.

Jinjie Ruan (2):
  ARM: Switch over to GENERIC_CPU_DEVICES using arch_register_cpu()
  ARM: Convert to arch_cpu_is_hotpluggable()

 arch/arm/Kconfig           |  1 +
 arch/arm/include/asm/cpu.h |  1 -
 arch/arm/kernel/setup.c    | 14 ++------------
 3 files changed, 3 insertions(+), 13 deletions(-)

Comments

Jinjie Ruan July 31, 2024, 1:52 a.m. UTC | #1
Gentle ping.

On 2024/7/2 15:57, Jinjie Ruan wrote:
> Currently, almost all architectures have switched to GENERIC_CPU_DEVICES,
> except for arm32. Also switch over to GENERIC_CPU_DEVICES, which can also
> make the code more concise.
> 
> Jinjie Ruan (2):
>   ARM: Switch over to GENERIC_CPU_DEVICES using arch_register_cpu()
>   ARM: Convert to arch_cpu_is_hotpluggable()
> 
>  arch/arm/Kconfig           |  1 +
>  arch/arm/include/asm/cpu.h |  1 -
>  arch/arm/kernel/setup.c    | 14 ++------------
>  3 files changed, 3 insertions(+), 13 deletions(-)
>
Russell King (Oracle) July 31, 2024, 8:27 a.m. UTC | #2
On Wed, Jul 31, 2024 at 09:52:07AM +0800, Jinjie Ruan wrote:
> On 2024/7/2 15:57, Jinjie Ruan wrote:
> > Currently, almost all architectures have switched to GENERIC_CPU_DEVICES,
> > except for arm32. Also switch over to GENERIC_CPU_DEVICES, which can also
> > make the code more concise.
> > 
> > Jinjie Ruan (2):
> >   ARM: Switch over to GENERIC_CPU_DEVICES using arch_register_cpu()
> >   ARM: Convert to arch_cpu_is_hotpluggable()
> > 
> >  arch/arm/Kconfig           |  1 +
> >  arch/arm/include/asm/cpu.h |  1 -
> >  arch/arm/kernel/setup.c    | 14 ++------------
> >  3 files changed, 3 insertions(+), 13 deletions(-)

I think it's fine, but it needs to end up in the patch system to be
applied. Thanks.
Jinjie Ruan July 31, 2024, 8:57 a.m. UTC | #3
On 2024/7/31 16:27, Russell King (Oracle) wrote:
> On Wed, Jul 31, 2024 at 09:52:07AM +0800, Jinjie Ruan wrote:
>> On 2024/7/2 15:57, Jinjie Ruan wrote:
>>> Currently, almost all architectures have switched to GENERIC_CPU_DEVICES,
>>> except for arm32. Also switch over to GENERIC_CPU_DEVICES, which can also
>>> make the code more concise.
>>>
>>> Jinjie Ruan (2):
>>>   ARM: Switch over to GENERIC_CPU_DEVICES using arch_register_cpu()
>>>   ARM: Convert to arch_cpu_is_hotpluggable()
>>>
>>>  arch/arm/Kconfig           |  1 +
>>>  arch/arm/include/asm/cpu.h |  1 -
>>>  arch/arm/kernel/setup.c    | 14 ++------------
>>>  3 files changed, 3 insertions(+), 13 deletions(-)
> 
> I think it's fine, but it needs to end up in the patch system to be
> applied. Thanks.

Hi, Russell

Thank you very much! I'll push it in rmk's patch tracker sooner.

>