[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)
commit76ef964c78797f9baed7c2f9a58f696e86d8a048
tree1f6a4e586682dc979bf8eb284049a29fd00cdac3
parent157a1a27d5921fc94db8c14e0d01363d13de99b5
[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