]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commit1bc3b91aeed71a904e431d12ca90e9b6bcb42c91
tree58e139e6a348dfe06fb62bf9cd5b40cd6a6f8bad
parent63d30298efc387c72557d11e2a7b467554c05a64
[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