summary refs log tree commit diff
path: root/arch/powerpc/platforms/pseries/rtas-fadump.h
diff options
context:
space:
mode:
authorHari Bathini <hbathini@linux.ibm.com>2019-09-11 20:27:39 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2019-09-14 00:04:46 +1000
commit7dee93a9a8808b3d8595e1cc79ccb8b1a7bc7a77 (patch)
treed1771d9e4267150a0a7bfbaa71a278ad2c2fd817 /arch/powerpc/platforms/pseries/rtas-fadump.h
parentbecd91d9c5467160984a0380df72fdf71fee82f6 (diff)
downloadlinux-7dee93a9a8808b3d8595e1cc79ccb8b1a7bc7a77.tar.gz
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
Diffstat (limited to 'arch/powerpc/platforms/pseries/rtas-fadump.h')
-rw-r--r--arch/powerpc/platforms/pseries/rtas-fadump.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pseries/rtas-fadump.h b/arch/powerpc/platforms/pseries/rtas-fadump.h
index 6602ff69e10d..fd59bd7ca9c3 100644
--- a/arch/powerpc/platforms/pseries/rtas-fadump.h
+++ b/arch/powerpc/platforms/pseries/rtas-fadump.h
@@ -69,6 +69,11 @@ struct rtas_fadump_mem_struct {
 	/* Kernel dump sections */
 	struct rtas_fadump_section		cpu_state_data;
 	struct rtas_fadump_section		hpte_region;
+
+	/*
+	 * TODO: Extend multiple boot memory regions support in the kernel
+	 *       for this platform.
+	 */
 	struct rtas_fadump_section		rmr_region;
 };