]> git.baikalelectronics.ru Git - kernel.git/commit
arm64/numa: Report correct memblock range for the dummy node
authorAnshuman Khandual <anshuman.khandual@arm.com>
Sat, 22 Sep 2018 15:39:55 +0000 (21:09 +0530)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 1 Oct 2018 12:48:54 +0000 (13:48 +0100)
commitd73a83e3a730d264318925ea94a8d4a02cff2399
treeadc53223b26bbd77c76a90de111011080a4d8f3e
parentb61ac4fd6c1623a4bd37d85a3ce90f39bdc85073
arm64/numa: Report correct memblock range for the dummy node

The dummy node ID is marked into all memory ranges on the system. So the
dummy node really extends the entire memblock.memory. Hence report correct
extent information for the dummy node using memblock range helper functions
instead of the range [0LLU, PFN_PHYS(max_pfn) - 1)].

Fixes: d04da22c10 ("arm64, numa: Add NUMA support for arm64 platforms")
Acked-by: Punit Agrawal <punit.agrawal@arm.com>
Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/mm/numa.c