From mboxrd@z Thu Jan 1 00:00:00 1970 From: gkulkarni@caviumnetworks.com (Ganapatrao Kulkarni) Date: Fri, 14 Aug 2015 22:09:30 +0530 Subject: [PATCH v5 0/8] arm64, numa: Add numa support for arm64 platforms. Message-ID: <1439570374-4079-1-git-send-email-gkulkarni@caviumnetworks.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org v5: - created base verion of numa.c which creates dummy numa without using dt on single socket platforms. Then added patches for dt support. - Incorporated review comments from Hanjun Guo. v4: done changes as per Arnd review comments. v3: Added changes to support numa on arm64 based platforms. Tested these patches on cavium's multinode(2 node topology) platform. In this patchset, defined and implemented dt bindings for numa mapping for core and memory using device node property arm,associativity. v2: Defined and implemented numa map for memory, cores to node and proximity distance matrix of nodes. v1: Initial patchset to support numa on arm64 platforms. Note: 1. This patchset is tested for numa with dt on thunderx single socket and dual socket boards. 2. Numa DT booting needs the dt memory nodes, which are deleted in current efi-stub, hence to try numa with dt, you need to rebase with ard's patchset. http://git.linaro.org/people/ard.biesheuvel/linux-arm.git/shortlog/refs/heads/arm64-uefi-early-fdt-handling Ganapatrao Kulkarni (4): arm64, numa: adding numa support for arm64 platforms. Documentation: arm64/arm: dt bindings for numa. arm64, numa: adding numa support for arm64 platforms. arm64, dt, thunderx: Add initial dts for Cavium Thunder SoC in 2 Node topology. Documentation/devicetree/bindings/arm/numa.txt | 212 +++++++ arch/arm64/Kconfig | 32 + arch/arm64/boot/dts/cavium/Makefile | 2 +- arch/arm64/boot/dts/cavium/thunder-88xx-2n.dts | 78 +++ arch/arm64/boot/dts/cavium/thunder-88xx-2n.dtsi | 790 ++++++++++++++++++++++++ arch/arm64/include/asm/mmzone.h | 32 + arch/arm64/include/asm/numa.h | 49 ++ arch/arm64/kernel/Makefile | 1 + arch/arm64/kernel/dt_numa.c | 316 ++++++++++ arch/arm64/kernel/setup.c | 9 + arch/arm64/kernel/smp.c | 3 + arch/arm64/mm/Makefile | 1 + arch/arm64/mm/init.c | 34 +- arch/arm64/mm/numa.c | 563 +++++++++++++++++ 14 files changed, 2115 insertions(+), 7 deletions(-) create mode 100644 Documentation/devicetree/bindings/arm/numa.txt create mode 100644 arch/arm64/boot/dts/cavium/thunder-88xx-2n.dts create mode 100644 arch/arm64/boot/dts/cavium/thunder-88xx-2n.dtsi create mode 100644 arch/arm64/include/asm/mmzone.h create mode 100644 arch/arm64/include/asm/numa.h create mode 100644 arch/arm64/kernel/dt_numa.c create mode 100644 arch/arm64/mm/numa.c -- 1.8.1.4