]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/fadump: support holes in kernel boot memory area
authorHari Bathini <hbathini@linux.ibm.com>
Wed, 11 Sep 2019 14:57:39 +0000 (20:27 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 13 Sep 2019 14:04:46 +0000 (00:04 +1000)
commitb77e45686e4b447e68196a85c77c79d0bcc3fe39
treed1771d9e4267150a0a7bfbaa71a278ad2c2fd817
parent61f1947d4d636f75d1fac3c9ce2aa3976a673168
powerpc/fadump: support holes in kernel boot memory area

With support to copy multiple kernel boot memory regions owing to copy
size limitation, also handle holes in the memory area to be preserved.
Support as many as 128 kernel boot memory regions. This allows having
an adequate FADump capture kernel size for different scenarios.

Signed-off-by: Hari Bathini <hbathini@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/156821385448.5656.6124791213910877759.stgit@hbathini.in.ibm.com
arch/powerpc/include/asm/fadump-internal.h
arch/powerpc/kernel/fadump.c
arch/powerpc/platforms/powernv/opal-fadump.c
arch/powerpc/platforms/powernv/opal-fadump.h
arch/powerpc/platforms/pseries/rtas-fadump.c
arch/powerpc/platforms/pseries/rtas-fadump.h