]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] crashdump: x86 crashkernel option
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 25 Jun 2005 21:58:01 +0000 (14:58 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 25 Jun 2005 23:24:50 +0000 (16:24 -0700)
commitdbba5d986b43924329a4ca66c034f04b0c26dc43
tree58e139e6a348dfe06fb62bf9cd5b40cd6a6f8bad
parent63fedb6e62213de7b22ae098a37dc2567e8e1f8a
[PATCH] crashdump: x86 crashkernel option

This is the x86 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: Vivek Goyal <vgoyal@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/efi.c
arch/i386/kernel/setup.c
arch/i386/mm/discontig.c