Re: [PATCH 0/3] LoongArch: Migrate arch_numa
From: Huacai Chen
Date: Thu Aug 22 2024 - 05:33:13 EST
Hi, Jianmin,
On Wed, Aug 21, 2024 at 9:12 PM Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx> wrote:
>
> Hi folks,
>
> This series migrated LoongArch NUMA implementation to common arch_numa
> logic to enable devicetree based numa.
>
> Only tested against QEMU emulated NUMA system.
>
> Please review.
What's your opinion? From my point of view, there are lots of corner
cases for real machines. :)
Huacai
>
> Thanks
> - Jiaxun
>
> Signed-off-by: Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx>
> ---
> Jiaxun Yang (3):
> LoongArch: Move pcibus_to_node to pci.h
> LoongArch: ACPI: Introduce get_cpu_for_acpi_id
> LoongArch: Convert to arch_numa
>
> arch/loongarch/Kconfig | 10 +-
> arch/loongarch/include/asm/acpi.h | 12 +
> arch/loongarch/include/asm/bootinfo.h | 1 -
> arch/loongarch/include/asm/numa.h | 50 +----
> arch/loongarch/include/asm/pci.h | 12 +
> arch/loongarch/include/asm/topology.h | 18 --
> arch/loongarch/kernel/Makefile | 2 -
> arch/loongarch/kernel/acpi.c | 91 ++------
> arch/loongarch/kernel/numa.c | 400 ----------------------------------
> arch/loongarch/kernel/setup.c | 19 +-
> arch/loongarch/kernel/smp.c | 43 +---
> arch/loongarch/mm/init.c | 12 +-
> 12 files changed, 77 insertions(+), 593 deletions(-)
> ---
> base-commit: bb1b0acdcd66e0d8eedee3570d249e076b89ab32
> change-id: 20240820-loongarch_archnuma-64fab779176e
>
> Best regards,
> --
> Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx>
>
>