s390/ipl: add eckd support
authorSven Schnelle <svens@linux.ibm.com>
Wed, 5 Oct 2022 08:17:40 +0000 (10:17 +0200)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Tue, 6 Dec 2022 15:18:21 +0000 (16:18 +0100)
commit87fd22e0ae9239f695266d3181b53ad9f758bd74
tree902546e6ac5f1457809d30ad8d3f7a513c8eda61
parent5de2322d7b8ecba37152334ebaaddf687fd63a38
s390/ipl: add eckd support

This adds support to IPL from ECKD DASDs to linux.
It introduces a few sysfs files in /sys/firmware/reipl/eckd:

bootprog: the boot program selector
clear:    whether to issue a diag308 LOAD_NORMAL or LOAD_CLEAR
device:   the device to ipl from
br_chr:   Cylinder/Head/Record number to read the bootrecord from.
          Might be '0' or 'auto' if it should be read from the
  volume label.
scpdata:  data to be passed to the ipl'd program.

The new ipl type is called 'eckd'.

Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Reviewed-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/boot/ipl_parm.c
arch/s390/include/asm/ipl.h
arch/s390/include/asm/sclp.h
arch/s390/include/uapi/asm/ipl.h
arch/s390/kernel/ipl.c
drivers/s390/char/sclp_early.c