Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

With commit f6e6bedb7731 ("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: Hari Bathini <hbathini@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>

authored by

Hari Bathini and committed by
Michael Ellerman
e7467dc6 81d9eca5

+4 -4
+2 -2
Documentation/powerpc/firmware-assisted-dump.txt
··· 61 61 boot successfully. For syntax of crashkernel= parameter, 62 62 refer to Documentation/kdump/kdump.txt. If any offset is 63 63 provided in crashkernel= parameter, it will be ignored 64 - as fadump reserves memory at end of RAM for boot memory 65 - dump preservation in case of a crash. 64 + as fadump uses a predefined offset to reserve memory 65 + for boot memory dump preservation in case of a crash. 66 66 67 67 -- After the low memory (boot memory) area has been saved, the 68 68 firmware will reset PCI and other hardware state. It will
+2 -2
arch/powerpc/kernel/fadump.c
··· 217 217 218 218 /* 219 219 * Check if the size is specified through crashkernel= cmdline 220 - * option. If yes, then use that but ignore base as fadump 221 - * reserves memory at end of RAM. 220 + * option. If yes, then use that but ignore base as fadump reserves 221 + * memory at a predefined offset. 222 222 */ 223 223 ret = parse_crashkernel(boot_command_line, memblock_phys_mem_size(), 224 224 &size, &base);