powerpc/fadump: make use of memblock's bottom up allocation mode
authorHari Bathini <hbathini@linux.ibm.com>
Wed, 11 Sep 2019 14:54:28 +0000 (20:24 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 13 Sep 2019 14:04:44 +0000 (00:04 +1000)
commit579ca1a27675485a99da50cd7fedc14232f817c3
treebe16c5deaab9899b677ef3fcfa8e838591368468
parentfbcafdaea2e234d3c6d79e7f5605a2e8373f6678
powerpc/fadump: make use of memblock's bottom up allocation mode

Earlier, memblock_find_in_range() was not used to find the memory to
be reserved for FADump as bottom up allocation mode was not supported.
But since commit 79442ed189acb8b ("mm/memblock.c: introduce bottom-up
allocation mode") bottom up allocation mode is supported for memblock.
So, use it to find the memory to be reserved for FADump.

Signed-off-by: Hari Bathini <hbathini@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/156821364211.5656.14336025460336135194.stgit@hbathini.in.ibm.com
arch/powerpc/kernel/fadump.c