]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
powerpc/fadump: Update comment about offset where fadump is reserved
authorHari Bathini <hbathini@linux.vnet.ibm.com>
Mon, 22 May 2017 09:34:47 +0000 (15:04 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 2 Jun 2017 10:16:49 +0000 (20:16 +1000)
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>
Documentation/powerpc/firmware-assisted-dump.txt
arch/powerpc/kernel/fadump.c

index 9cabaf8a207e2c945293932cf33a12c9eedb0558..bdd344aa18d91d94db4ed3537320dfd42bfe7523 100644 (file)
@@ -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
index 1bdbe0b257e04df024327ec281c6efd7c5c119a9..1ec6ea67159c0b100031dcfc3f616f4f95c95609 100644 (file)
@@ -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);