[PATCH] kexec: add kexec syscalls
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 25 Jun 2005 21:57:52 +0000 (14:57 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 25 Jun 2005 23:24:48 +0000 (16:24 -0700)
This patch introduces the architecture independent implementation the
sys_kexec_load, the compat_sys_kexec_load system calls.

Kexec on panic support has been integrated into the core patch and is
relatively clean.

In addition the hopefully architecture independent option
crashkernel=size@location has been docuemented.  It's purpose is to reserve
space for the panic kernel to live, and where no DMA transfer will ever be
setup to access.

Signed-off-by: Eric Biederman <ebiederm@xmission.com>
Signed-off-by: Alexander Nyberg <alexn@telia.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
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>
Documentation/kernel-parameters.txt
MAINTAINERS
include/linux/kexec.h [new file with mode: 0644]
include/linux/reboot.h
include/linux/syscalls.h
kernel/Makefile
kernel/kexec.c [new file with mode: 0644]
kernel/panic.c
kernel/sys.c
kernel/sys_ni.c

index 86db43f..560ff5a 100644 (file)
@@ -358,6 +358,10 @@ running once the system is up.
        cpia_pp=        [HW,PPT]
                        Format: { parport<nr> | auto | none }
 
+       crashkernel=nn[KMG]@ss[KMG]
+                       [KNL] Reserve a chunk of physical memory to
+                       hold a kernel to switch to with kexec on panic.
+
        cs4232=         [HW,OSS]
                        Format: <io>,<irq>,<dma>,<dma2>,<mpuio>,<mpuirq>
 
index dbdd849..8172857 100644 (file)
@@ -1330,6 +1330,16 @@ M:       rml@novell.com
 L:     linux-kernel@vger.kernel.org
 S:     Maintained
 
+KEXEC
+P:     Eric Biederman
+P:     Randy Dunlap
+M:     ebiederm@xmission.com
+M:     rddunlap@osdl.org
+W:     http://www.xmission.com/~ebiederm/files/kexec/
+L:     linux-kernel@vger.kernel.org
+L:     fastboot@osdl.org
+S:     Maintained
+
 LANMEDIA WAN CARD DRIVER
 P:     Andrew Stanley-Jones
 M:     asj@lanmedia.com
Simple merge
Simple merge
Simple merge
diff --cc kernel/Makefile
Simple merge
diff --cc kernel/kexec.c
Simple merge
diff --cc kernel/panic.c
Simple merge
diff --cc kernel/sys.c
Simple merge
diff --cc kernel/sys_ni.c
Simple merge