[S390] kernel: Add OS info memory interface
authorMichael Holzheu <holzheu@linux.vnet.ibm.com>
Sun, 11 Mar 2012 15:59:34 +0000 (11:59 -0400)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Sun, 11 Mar 2012 15:59:29 +0000 (11:59 -0400)
commit4857d4bbe9821c8d732cb84455e18e12b3d79add
tree54583e3ef5c84c04f92b7b15ea6aad8224781d9b
parentad252ffa2a0fbb1f37e81688322034b3af037cee
[S390] kernel: Add OS info memory interface

In order to allow kdump based stand-alone dump, some information
has to be passed from the old kernel to the new dump kernel. This
is done via a the struct "os_info" that contains the following fields:
 * crashkernel base and size
 * reipl block
 * vmcoreinfo
 * init function
A pointer to os_info is stored at a well known storage location
and the whole structure as well as all fields are secured with
checksums.

Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/lowcore.h
arch/s390/include/asm/os_info.h [new file with mode: 0644]
arch/s390/kernel/Makefile
arch/s390/kernel/crash_dump.c
arch/s390/kernel/ipl.c
arch/s390/kernel/os_info.c [new file with mode: 0644]
arch/s390/kernel/setup.c
arch/s390/kernel/smp.c