• Russell King's avatar
    ARM: kexec: fix crashkernel= handling · 61603016
    Russell King authored
    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: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
    Reviewed-by: default avatarPratyush Anand <panand@redhat.com>
    61603016
kdump.txt 16.4 KB