lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240812-mips-numa-v2-0-fd9bdb2033b9@flygoat.com>
Date: Mon, 12 Aug 2024 10:37:14 +0100
From: Jiaxun Yang <jiaxun.yang@...goat.com>
To: "Rafael J. Wysocki" <rafael@...nel.org>, Arnd Bergmann <arnd@...db.de>, 
 Thomas Bogendoerfer <tsbogend@...ha.franken.de>, 
 Huacai Chen <chenhuacai@...nel.org>
Cc: linux-kernel@...r.kernel.org, linux-arch@...r.kernel.org, 
 linux-mips@...r.kernel.org, Jiaxun Yang <jiaxun.yang@...goat.com>
Subject: [PATCH v2 0/7] MIPS: arch_numa enablement

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@...goat.com>
---
Changes in v2:
- Use Kconfig symbol instead of weak function (Arnd)
- Link to v1: https://lore.kernel.org/r/20240809-mips-numa-v1-0-568751803bf8@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                                |   5 +
 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                      |  28 ++--
 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/Kconfig                             |   4 +
 drivers/base/arch_numa.c                         |   9 ++
 include/asm-generic/numa.h                       |   1 +
 24 files changed, 163 insertions(+), 230 deletions(-)
---
base-commit: eec5d86d5bac6b3e972eb9c1898af3c08303c52d
change-id: 20240807-mips-numa-6ccdd482141b

Best regards,
-- 
Jiaxun Yang <jiaxun.yang@...goat.com>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ