]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/fadump: Reserve memory at an offset closer to bottom of RAM
authorHari Bathini <hbathini@linux.vnet.ibm.com>
Thu, 16 Mar 2017 21:05:26 +0000 (02:35 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 31 Mar 2017 11:34:29 +0000 (22:34 +1100)
commit48fd53d0d60d62d498b01c6262631d91344b6697
treeb1b1ddecd30a969dcb4a587453d5ca0ca9c4e226
parentd1bd195769cf148832493447bd76de94b60bc63f
powerpc/fadump: Reserve memory at an offset closer to bottom of RAM

Currently, the area to preserve boot memory is reserved at the top of
RAM. This leaves fadump vulnerable to memory hot-remove operations. As
memory for fadump has to be reserved early in the boot process, fadump
can't be registered after a memory hot-remove operation. Though this
problem can't be eleminated completely, the impact can be minimized by
reserving memory at an offset closer to bottom of the RAM. The offset
for fadump memory reservation can be any value greater than fadump boot
memory size.

Signed-off-by: Hari Bathini <hbathini@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/fadump.c