powerpc/fadump: release all the memory above boot memory size
authorHari Bathini <hbathini@linux.ibm.com>
Wed, 11 Sep 2019 14:49:28 +0000 (20:19 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 13 Sep 2019 14:04:42 +0000 (00:04 +1000)
commit8255da95e54519bb74638c2448ac17f4b34fe6f5
treecd71dc66380f92c83e0af6f940bf3b629901b4dc
parent109f25cc5fae5f8fb403d925f7b3731f6f18218a
powerpc/fadump: release all the memory above boot memory size

Except for Reserved dump area (see Documentation/powerpc/firmware-
assisted-dump.rst) which is permanent reserved, all memory above boot
memory size, where boot memory size is the memory required for the
kernel to boot successfully when booted with restricted memory (memory
for capture kernel), is released when the dump is invalidated. Make
this a bit more explicit in the code.

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