[PATCH] crashdump: x86_64: crashkernel option
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 25 Jun 2005 21:58:04 +0000 (14:58 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 25 Jun 2005 23:24:50 +0000 (16:24 -0700)
commit5f5609df0c943b005847d3b2765d6dd47b624011
treef994509dc8b507b9392bcf632c4df2a0261a9f5f
parent5234f5eb04abbbfa306ccfbc2ccbb6e73f515b15
[PATCH] crashdump: x86_64: crashkernel option

This is the x86_64 implementation of the crashkernel option.  It reserves
a window of memory very early in the bootup process, so we never use
it for anything but the kernel to switch to when the running
kernel panics.

In addition to reserving this memory a resource structure is registered
so looking at /proc/iomem it is clear what happened to that memory.

ISSUES:
Is it possible to implement this in a architecture generic way?
What should be done with architectures that always use an iommu and
thus don't report their RAM memory resources in /proc/iomem?

Signed-off-by: Eric Biederman <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/e820.c
arch/x86_64/kernel/setup.c