]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] Use diag308 subcodes 3 and 6 for reboot and dump when possible.
authorMichael Holzheu <holzheu@de.ibm.com>
Sat, 26 Jan 2008 13:11:17 +0000 (14:11 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Sat, 26 Jan 2008 13:11:24 +0000 (14:11 +0100)
commitc1a8cb10d3dc201901027177e01f0b137060fc49
treedad16da18aae19618375797d8a16ec5fc65b0713
parent1b275f07bfc070cca9afc61efcd8ffa144add4ab
[S390] Use diag308 subcodes 3 and 6 for reboot and dump when possible.

This patch fixes a problem with the following scenario:
 1. Linux booted from DASD "A"
 2. Reboot from DASD "B" using "/sys/firmware/reipl/ccw/device"
 3. Reboot DASD "B"
Without this patch in step 3 on newer s390 systems under LPAR instead of
DASD "B", DASD "A" will be booted. The reason is that in step 2 we use CCW
reipl and in step 3 we use DIAG308 (subcode 3) reipl. DIAG308 does not
notice the CCW reipl and still thinks that it has to reboot DASD "A".
Before applying this fix, ensure to have MCF RJ9967101E or z9 GA3 base driver
installed.

Signed-off-by: Michael Holzheu <holzheu@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/ipl.c
include/asm-s390/ipl.h