]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] ipl: Reboot from alternate device does not work when booting from file
authorMichael Holzheu <holzheu@linux.vnet.ibm.com>
Fri, 1 Aug 2008 14:39:10 +0000 (16:39 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 1 Aug 2008 14:39:30 +0000 (16:39 +0200)
commit49e176a15bdc0fdab00b6a26d69fbf7d3e0f39c5
treede89a06fbfcbe6fdcbdb168183f00292febb9086
parent75577a618a5c71303e456de81bf6007c2a1db4b6
[S390] ipl: Reboot from alternate device does not work when booting from file

During startup we check if diag308 works using diag 308 subcode 6,
which stores the actual ipl information. This fails with rc = 0x102, if
the system has been ipled from the HMC using load from CD or load from file.
In the case of rc = 0x102 we have to assume that diag 308 is working,
since it still can be used to ipl from an alternative device.

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