]> 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)
commit678fd4bdc45291360f81f0f641e532cbb861f132
tree1080055d6988b7bef1dc7a3e8c2c2dd4564dc6e7
parent891dcfca3a56e9ddf66522e31ce60d29f7cc378c
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