qemu-e2k/pc-bios/s390-ccw
Janosch Frank 9bfc04f9ef pc-bios: s390x: Save iplb location in lowcore
The POP states that for a list directed IPL the IPLB is stored into
memory by the machine loader and its address is stored at offset 0x14
of the lowcore.

ZIPL currently uses the address in offset 0x14 to access the IPLB and
acquire flags about secure boot. If the IPLB address points into
memory which has an unsupported mix of flags set, ZIPL will panic
instead of booting the OS.

As the lowcore can have quite a high entropy for a guest that did drop
out of protected mode (i.e. rebooted) we encountered the ZIPL panic
quite often.

Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Tested-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Message-Id: <20200304114231.23493-19-frankja@linux.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
2020-03-10 10:18:08 +01:00
..
bootmap.c s390-bios: Skip bootmap signature entries 2019-05-08 10:52:14 +02:00
bootmap.h s390-bios: Skip bootmap signature entries 2019-05-08 10:52:14 +02:00
bswap.h
cio.c s390-bios: cio error handling 2019-04-12 12:40:35 +02:00
cio.h s390-bios: Add channel command codes/structs needed for dasd-ipl 2019-04-12 12:40:35 +02:00
dasd-ipl.c s390-bios: Support booting from real dasd device 2019-04-12 12:40:35 +02:00
dasd-ipl.h s390-bios: Support booting from real dasd device 2019-04-12 12:40:35 +02:00
helper.h
iplb.h
jump2ipl.c pc-bios: s390x: Save iplb location in lowcore 2020-03-10 10:18:08 +01:00
libc.c pc-bios/s390-ccw: Clean up harmless misuse of isdigit() 2019-05-08 10:52:14 +02:00
libc.h s390-bios: cio error handling 2019-04-12 12:40:35 +02:00
main.c pc-bios: s390x: Save iplb location in lowcore 2020-03-10 10:18:08 +01:00
Makefile s390-bios: Support booting from real dasd device 2019-04-12 12:40:35 +02:00
menu.c pc-bios/s390-ccw: Clean up harmless misuse of isdigit() 2019-05-08 10:52:14 +02:00
netboot.mak
netmain.c pc-bios: s390x: Save iplb location in lowcore 2020-03-10 10:18:08 +01:00
s390-arch.h pc-bios: s390x: Save iplb location in lowcore 2020-03-10 10:18:08 +01:00
s390-ccw.h pc-bios: s390x: Save iplb location in lowcore 2020-03-10 10:18:08 +01:00
sclp.c pc-bios/s390-ccw: fix sclp_get_loadparm_ascii 2019-11-29 09:16:02 +01:00
sclp.h
scsi.h
start.S s390-bios: Support for running format-0/1 channel programs 2019-04-12 12:40:35 +02:00
virtio-blkdev.c
virtio-net.c
virtio-scsi.c
virtio-scsi.h
virtio.c s390-bios: Use control unit type to determine boot method 2019-04-12 12:40:35 +02:00
virtio.h