diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2016-03-14 19:34:37 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2016-05-03 11:13:45 +0100 |
commit | 61603016e2122bf95328321b2f1a64277202b6e3 (patch) | |
tree | 02a04c1043bca3f4872ef8b2374f8516e7cba64e /arch/arm/mm | |
parent | f55532a0c0b8bb6148f4e07853b876ef73bc69ca (diff) | |
download | blackbird-op-linux-61603016e2122bf95328321b2f1a64277202b6e3.tar.gz blackbird-op-linux-61603016e2122bf95328321b2f1a64277202b6e3.zip |
ARM: kexec: fix crashkernel= handling
When the kernel crashkernel parameter is specified with just a size, we
are supposed to allocate a region from RAM to store the crashkernel.
However, ARM merely reserves physical address zero with no checking that
there is even RAM there.
Fix this by lifting similar code from x86, importing it to ARM with the
ARM specific parameters added. In the absence of any platform specific
information, we allocate the crashkernel region from the first 512MB of
physical memory.
Update the kdump documentation to reflect this change.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Reviewed-by: Pratyush Anand <panand@redhat.com>
Diffstat (limited to 'arch/arm/mm')
0 files changed, 0 insertions, 0 deletions