powerpc/mm: Always update max/min_low_pfn in mem_topology_setup()
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Mon, 4 Jul 2022 06:38:51 +0000 (12:08 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 30 Sep 2022 08:35:52 +0000 (18:35 +1000)
commit7b31f7dadd7074fa70bb14a53bd286ffdfc98b04
tree2be0820112150afb6951cde06863d213e1834572
parentd368e0c478a628f36680650f8d1d1634037b046e
powerpc/mm: Always update max/min_low_pfn in mem_topology_setup()

For both CONFIG_NUMA enabled/disabled use mem_topology_setup() to
update max/min_low_pfn.

This also adds min_low_pfn update to CONFIG_NUMA which was initialized
to zero before. (mpe: Though MEMORY_START is == 0 for PPC64=y which is
all possible NUMA=y systems)

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220704063851.295482-1-aneesh.kumar@linux.ibm.com
arch/powerpc/mm/numa.c