[PATCH v3 0/3] LoongArch: CPU parallel bring up

Jiaxun Yang posted 3 patches 1 year, 5 months ago
arch/loongarch/Kconfig              |  1 +
arch/loongarch/include/asm/smp.h    |  6 -----
arch/loongarch/kernel/asm-offsets.c | 10 ---------
arch/loongarch/kernel/head.S        |  7 +++---
arch/loongarch/kernel/smp.c         | 44 ++++++++-----------------------------
kernel/cpu.c                        | 16 ++++++++++++++
6 files changed, 30 insertions(+), 54 deletions(-)
[PATCH v3 0/3] LoongArch: CPU parallel bring up
Posted by Jiaxun Yang 1 year, 5 months ago
Hi all,

This series implemented CPU parallel bring up for LoongArch.

Being the first non-x86 arch enabling that we need to fix some
infra in patch 1 and 2, then implement everything in patch 3.

Please review.
Thanks

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
---
Changes in v3:
- Commit message improvemente
- Remove unnecessary indirection
- Link to v2: https://lore.kernel.org/r/20240715-loongarch-hotplug-v2-0-7d18b3d46b11@flygoat.com

Changes in v2:
- Use stub functions (tglx)
- Link to v1: https://lore.kernel.org/r/20240705-loongarch-hotplug-v1-0-67d9c4709aa9@flygoat.com

---
Jiaxun Yang (3):
      cpu/hotplug: Make HOTPLUG_PARALLEL independent of HOTPLUG_SMT
      cpu/hotplug: Weak fallback for arch_cpuhp_init_parallel_bringup
      LoongArch: SMP: Implement parallel CPU bring up

 arch/loongarch/Kconfig              |  1 +
 arch/loongarch/include/asm/smp.h    |  6 -----
 arch/loongarch/kernel/asm-offsets.c | 10 ---------
 arch/loongarch/kernel/head.S        |  7 +++---
 arch/loongarch/kernel/smp.c         | 44 ++++++++-----------------------------
 kernel/cpu.c                        | 16 ++++++++++++++
 6 files changed, 30 insertions(+), 54 deletions(-)
---
base-commit: 82e4255305c554b0bb18b7ccf2db86041b4c8b6e
change-id: 20240704-loongarch-hotplug-3f8826b88a43

Best regards,
-- 
Jiaxun Yang <jiaxun.yang@flygoat.com>
Re: [PATCH v3 0/3] LoongArch: CPU parallel bring up
Posted by Thomas Gleixner 1 year, 4 months ago
On Tue, Jul 16 2024 at 22:14, Jiaxun Yang wrote:
> This series implemented CPU parallel bring up for LoongArch.
>
> Being the first non-x86 arch enabling that we need to fix some
> infra in patch 1 and 2, then implement everything in patch 3.

I've merged the first two patches into

     git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git smp/core

and tagged them so the loongson tree can consume them to apply the
actual loongson change:

     git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git smp-for-loongson

Thanks,

        tglx