]> git.baikalelectronics.ru Git - kernel.git/commit
arm64/numa: fix incorrect log for memory-less node
authorHanjun Guo <hanjun.guo@linaro.org>
Fri, 21 Oct 2016 08:13:56 +0000 (16:13 +0800)
committerWill Deacon <will.deacon@arm.com>
Wed, 26 Oct 2016 17:21:51 +0000 (18:21 +0100)
commitfe80318f01a8792e16638c00e286b59a8b0b7eb4
tree4c14914c3b681b2a7144c24915a9766c1e16940e
parent86aad5119d481fb912cdcbaa4deb1730c77c480f
arm64/numa: fix incorrect log for memory-less node

When booting on NUMA system with memory-less node (no
memory dimm on this memory controller), the print
for setup_node_data() is incorrect:

NUMA: Initmem setup node 2 [mem 0x00000000-0xffffffffffffffff]

It can be fixed by printing [mem 0x00000000-0x00000000] when
end_pfn is 0, but print <memory-less node> will be more useful.

Fixes: 53f18f961b38 ("arm64, numa: Add NUMA support for arm64 platforms.")
Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Ganapatrao Kulkarni <gkulkarni@caviumnetworks.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Yisheng Xie <xieyisheng1@huawei.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/mm/numa.c