Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e7467dc6 authored by Hari Bathini's avatar Hari Bathini Committed by Michael Ellerman
Browse files

powerpc/fadump: Update comment about offset where fadump is reserved



With commit f6e6bedb ("powerpc/fadump: Reserve memory at an offset
closer to bottom of RAM"), memory for fadump is no longer reserved at
the top of RAM. But there are still a few places which say so. Change
them appropriately.

Signed-off-by: default avatarHari Bathini <hbathini@linux.vnet.ibm.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 81d9eca5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -61,8 +61,8 @@ as follows:
         boot successfully. For syntax of crashkernel= parameter,
         refer to Documentation/kdump/kdump.txt. If any offset is
         provided in crashkernel= parameter, it will be ignored
         as fadump reserves memory at end of RAM for boot memory
         dump preservation in case of a crash.
         as fadump uses a predefined offset to reserve memory
         for boot memory dump preservation in case of a crash.

-- After the low memory (boot memory) area has been saved, the
   firmware will reset PCI and other hardware state.  It will
+2 −2
Original line number Diff line number Diff line
@@ -217,8 +217,8 @@ static inline unsigned long fadump_calculate_reserve_size(void)

	/*
	 * Check if the size is specified through crashkernel= cmdline
	 * option. If yes, then use that but ignore base as fadump
	 * reserves memory at end of RAM.
	 * option. If yes, then use that but ignore base as fadump reserves
	 * memory at a predefined offset.
	 */
	ret = parse_crashkernel(boot_command_line, memblock_phys_mem_size(),
				&size, &base);