]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] zcore: Fix reipl device detection
authorMichael Holzheu <holzheu@linux.vnet.ibm.com>
Thu, 22 Apr 2010 15:17:07 +0000 (17:17 +0200)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Thu, 22 Apr 2010 15:17:19 +0000 (17:17 +0200)
commit87690e6e1ad54d726ec062b5911ca8b069718e08
tree1f6a4e586682dc979bf8eb284049a29fd00cdac3
parentd0480acac0bddf608db98bcb4bed2e78718200eb
[S390] zcore: Fix reipl device detection

The reipl device information is passed from the kernel to zfcpdump
using a pointer in the lowcore (0xe00) that points to the reipl
information Currently if that pointer is not zero, we copy the reipl
information. If the pointer is not initialized and points outside
the accessible memory, it can happen that the memory copy fails.
In that case we currently stop the initialization of zcore which leads
to a failing kernel dump. The correct behavior is to disable the reipl
after dump and continue with zcore intialization.

Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/zcore.c