arm64, numa: Add NUMA support for arm64 platforms.
authorGanapatrao Kulkarni <gkulkarni@caviumnetworks.com>
Fri, 8 Apr 2016 22:50:27 +0000 (15:50 -0700)
committerWill Deacon <will.deacon@arm.com>
Fri, 15 Apr 2016 17:06:09 +0000 (18:06 +0100)
commit1a2db300348b799479d2d22b84d51b27ad0458c7
treec9e3329f00575143dae72e14725b9e48161e34d7
parent3194ac6e66cc7a00c1fa9fecf33a7c376b489497
arm64, numa: Add NUMA support for arm64 platforms.

Attempt to get the memory and CPU NUMA node via of_numa.  If that
fails, default the dummy NUMA node and map all memory and CPUs to node
0.

Tested-by: Shannon Zhao <shannon.zhao@linaro.org>
Reviewed-by: Robert Richter <rrichter@cavium.com>
Signed-off-by: Ganapatrao Kulkarni <gkulkarni@caviumnetworks.com>
Signed-off-by: David Daney <david.daney@cavium.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/Kconfig
arch/arm64/include/asm/mmzone.h [new file with mode: 0644]
arch/arm64/include/asm/numa.h [new file with mode: 0644]
arch/arm64/include/asm/topology.h
arch/arm64/kernel/pci.c
arch/arm64/kernel/setup.c
arch/arm64/kernel/smp.c
arch/arm64/mm/Makefile
arch/arm64/mm/init.c
arch/arm64/mm/numa.c [new file with mode: 0644]