mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-16 17:23:55 +08:00
powerpc/fadump: Update comment about offset where fadump is reserved
With commit f6e6bedb77
("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>
This commit is contained in:
parent
81d9eca502
commit
e7467dc694
@ -61,8 +61,8 @@ as follows:
|
|||||||
boot successfully. For syntax of crashkernel= parameter,
|
boot successfully. For syntax of crashkernel= parameter,
|
||||||
refer to Documentation/kdump/kdump.txt. If any offset is
|
refer to Documentation/kdump/kdump.txt. If any offset is
|
||||||
provided in crashkernel= parameter, it will be ignored
|
provided in crashkernel= parameter, it will be ignored
|
||||||
as fadump reserves memory at end of RAM for boot memory
|
as fadump uses a predefined offset to reserve memory
|
||||||
dump preservation in case of a crash.
|
for boot memory dump preservation in case of a crash.
|
||||||
|
|
||||||
-- After the low memory (boot memory) area has been saved, the
|
-- After the low memory (boot memory) area has been saved, the
|
||||||
firmware will reset PCI and other hardware state. It will
|
firmware will reset PCI and other hardware state. It will
|
||||||
|
@ -217,8 +217,8 @@ static inline unsigned long fadump_calculate_reserve_size(void)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Check if the size is specified through crashkernel= cmdline
|
* Check if the size is specified through crashkernel= cmdline
|
||||||
* option. If yes, then use that but ignore base as fadump
|
* option. If yes, then use that but ignore base as fadump reserves
|
||||||
* reserves memory at end of RAM.
|
* memory at a predefined offset.
|
||||||
*/
|
*/
|
||||||
ret = parse_crashkernel(boot_command_line, memblock_phys_mem_size(),
|
ret = parse_crashkernel(boot_command_line, memblock_phys_mem_size(),
|
||||||
&size, &base);
|
&size, &base);
|
||||||
|
Loading…
Reference in New Issue
Block a user