]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit07f421d0d632ef460d70a8c04912f232f9ddf588
tree1080055d6988b7bef1dc7a3e8c2c2dd4564dc6e7
parenta40ea9edfd855a77cca592643ca73101c996e1d2
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