powerpc/kdump: Handle crashkernel memory reservation failure
authorHari Bathini <hbathini@linux.ibm.com>
Thu, 28 Jun 2018 05:19:56 +0000 (10:49 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 4 Jul 2018 12:40:24 +0000 (22:40 +1000)
commit8950329c4a64c6d3ca0bc34711a1afbd9ce05657
tree1080055d6988b7bef1dc7a3e8c2c2dd4564dc6e7
parent741c5640a15a23a2ec3a0846668a82e8e3b4314d
powerpc/kdump: Handle crashkernel memory reservation failure

Memory reservation for crashkernel could fail if there are holes around
kdump kernel offset (128M). Fail gracefully in such cases and print an
error message.

Signed-off-by: Hari Bathini <hbathini@linux.ibm.com>
Tested-by: David Gibson <dgibson@redhat.com>
Reviewed-by: Dave Young <dyoung@redhat.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/machine_kexec.c