diff options
author | Hari Bathini <hbathini@linux.vnet.ibm.com> | 2017-05-22 11:34:47 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-06-02 12:16:49 +0200 |
commit | e7467dc6947d7074417aa4cda44b851010fd0795 (patch) | |
tree | f40815ea9902daec5df1993a2501a95518592d43 | |
parent | powerpc/fadump: Add a warning when 'fadump_reserve_mem=' is used (diff) | |
download | linux-e7467dc6947d7074417aa4cda44b851010fd0795.tar.xz linux-e7467dc6947d7074417aa4cda44b851010fd0795.zip |
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>
-rw-r--r-- | Documentation/powerpc/firmware-assisted-dump.txt | 4 | ||||
-rw-r--r-- | arch/powerpc/kernel/fadump.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/powerpc/firmware-assisted-dump.txt b/Documentation/powerpc/firmware-assisted-dump.txt index 9cabaf8a207e..bdd344aa18d9 100644 --- a/Documentation/powerpc/firmware-assisted-dump.txt +++ b/Documentation/powerpc/firmware-assisted-dump.txt @@ -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 diff --git a/arch/powerpc/kernel/fadump.c b/arch/powerpc/kernel/fadump.c index 1bdbe0b257e0..1ec6ea67159c 100644 --- a/arch/powerpc/kernel/fadump.c +++ b/arch/powerpc/kernel/fadump.c @@ -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); |