]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit11ccc3357d88b2284388be9358f0c0577bc5cd04
treef994509dc8b507b9392bcf632c4df2a0261a9f5f
parent3b84c3c3511f8d983aa4b2e98ee6b0b8372aa0a4
[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