]> git.kernelconcepts.de Git - mv-sheeva.git/commit
x86, kexec: Limit the crashkernel address appropriately
authorH. Peter Anvin <hpa@linux.intel.com>
Fri, 17 Dec 2010 03:20:41 +0000 (19:20 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 17 Dec 2010 23:04:00 +0000 (15:04 -0800)
commit7f8595bfacef279f06c82ec98d420ef54f2537e0
tree3010cfe1a046da2f29014ee691654eb50f5b0f98
parent147dd5610c8d1bacb88a6c1dfdaceaf257946ed0
x86, kexec: Limit the crashkernel address appropriately

Keep the crash kernel address below 512 MiB for 32 bits and 896 MiB
for 64 bits.  For 32 bits, this retains compatibility with earlier
kernel releases, and makes it work even if the vmalloc= setting is
adjusted.

For 64 bits, we should be able to increase this substantially once a
hard-coded limit in kexec-tools is fixed.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Cc: Stanislaw Gruszka <sgruszka@redhat.com>
Cc: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <20101217195035.GE14502@redhat.com>
arch/x86/kernel/setup.c