From: Jiaxun Yang <jiaxun.yang@flygoat.com>
To: "Rafael J. Wysocki" <rafael@kernel.org>,
Arnd Bergmann <arnd@arndb.de>,
Thomas Bogendoerfer <tsbogend@alpha.franken.de>,
Huacai Chen <chenhuacai@kernel.org>
Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org,
linux-mips@vger.kernel.org,
Jiaxun Yang <jiaxun.yang@flygoat.com>
Subject: [PATCH 0/7] MIPS: arch_numa enablement
Date: Fri, 09 Aug 2024 20:25:00 +0100 [thread overview]
Message-ID: <20240809-mips-numa-v1-0-568751803bf8@flygoat.com> (raw)
Hi all,
This series enabled arch_numa for generic MIPS machine, and ported
loongson64 machine to arch_numa infra. SGI IP27 is left untouched
with legacy NUMA implementation as I don't have access to hardware.
Tested on Loongson64 NUMA system and numa_emu on Boston.
Please review.
Thanks
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
---
Jiaxun Yang (7):
arch_numa: Provide platform numa init hook
MIPS: pci: Unify pcibus_to_node implementation
MIPS: Prepare NUMA headers for arch_numa
MIPS: mm: init: Prepare for arch_numa
MIPS: smp: Process NUMA information
MIPS: generic: Make NUMA available
MIPS: Loongson64: Migrate to arch_numa
arch/mips/Kconfig | 4 +
arch/mips/include/asm/mach-generic/mmzone.h | 11 ++
arch/mips/include/asm/mach-generic/numa.h | 11 ++
arch/mips/include/asm/mach-generic/topology.h | 7 +
arch/mips/include/asm/mach-ip27/numa.h | 22 ++++
arch/mips/include/asm/mach-ip27/topology.h | 12 +-
arch/mips/include/asm/mach-loongson64/mmzone.h | 2 -
arch/mips/include/asm/mach-loongson64/topology.h | 25 ----
arch/mips/include/asm/mmzone.h | 5 +-
arch/mips/include/asm/numa.h | 12 ++
arch/mips/include/asm/pci.h | 12 ++
arch/mips/include/asm/smp-ops.h | 7 +-
arch/mips/kernel/setup.c | 3 +-
arch/mips/kernel/smp-cps.c | 6 +
arch/mips/kernel/smp.c | 26 ++++
arch/mips/loongson64/init.c | 27 ++--
arch/mips/loongson64/numa.c | 158 ++---------------------
arch/mips/loongson64/smp.c | 2 +
arch/mips/mm/init.c | 14 +-
arch/mips/pci/pci-ip27.c | 10 --
arch/mips/pci/pci-xtalk-bridge.c | 1 +
drivers/base/arch_numa.c | 7 +
include/asm-generic/numa.h | 1 +
23 files changed, 155 insertions(+), 230 deletions(-)
---
base-commit: eec5d86d5bac6b3e972eb9c1898af3c08303c52d
change-id: 20240807-mips-numa-6ccdd482141b
Best regards,
--
Jiaxun Yang <jiaxun.yang@flygoat.com>
next reply other threads:[~2024-08-09 19:25 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-09 19:25 Jiaxun Yang [this message]
2024-08-09 19:25 ` [PATCH 1/7] arch_numa: Provide platform numa init hook Jiaxun Yang
2024-08-09 19:41 ` Arnd Bergmann
2024-08-09 19:56 ` Jiaxun Yang
2024-08-09 20:01 ` Arnd Bergmann
2024-08-09 19:25 ` [PATCH 2/7] MIPS: pci: Unify pcibus_to_node implementation Jiaxun Yang
2024-08-09 19:25 ` [PATCH 3/7] MIPS: Prepare NUMA headers for arch_numa Jiaxun Yang
2024-08-09 19:25 ` [PATCH 4/7] MIPS: mm: init: Prepare " Jiaxun Yang
2024-08-09 19:25 ` [PATCH 5/7] MIPS: smp: Process NUMA information Jiaxun Yang
2024-08-09 19:25 ` [PATCH 6/7] MIPS: generic: Make NUMA available Jiaxun Yang
2024-08-09 19:25 ` [PATCH 7/7] MIPS: Loongson64: Migrate to arch_numa Jiaxun Yang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240809-mips-numa-v1-0-568751803bf8@flygoat.com \
--to=jiaxun.yang@flygoat.com \
--cc=arnd@arndb.de \
--cc=chenhuacai@kernel.org \
--cc=linux-arch@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=rafael@kernel.org \
--cc=tsbogend@alpha.franken.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®