]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd8304d25da43d6aab29f93a3416b45597e284829
treecd71dc66380f92c83e0af6f940bf3b629901b4dc
parentf26b8c34cd9f48a3404df776d587e97591cd4860
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