qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [RESEND PATCH 0/1] pc-bios: Support List-Directed IPL from ECKD DASD
@ 2023-02-21 17:45 jrossi
  2023-02-21 17:45 ` [RESEND PATCH 1/1] pc-bios: Add support for " jrossi
  0 siblings, 1 reply; 7+ messages in thread
From: jrossi @ 2023-02-21 17:45 UTC (permalink / raw)
  To: qemu-s390x, qemu-devel; +Cc: thuth, frankja, jjherne, jrossi

From: Jared Rossi <jrossi@linux.ibm.com>

Add support for List-Directed IPL (LD-IPL) type pointers.

We check for a boot record indicating LD-IPL and use it if it is valid,
otherwise we use the CCW CDL or LDL format as usual. When a block is accessed
during IPL the block number is first calculated based on the cylinder, head,
and record numbers included in the block pointer; if LD-IPL has been initiated
then each pointer will be interpreted using the new format.

For simplicity, there is no choice presented to forcibly use CCW-IPL if LD-IPL
is available.  Because both sets of pointers ultimately go to the same
kernel/initrd, using CCW- or LD-IPL is transparent to the user.

One aspect of the user experience that does change is the availability of the
interactive boot menu when a loadparm is not specified.  For the existing
CCW-IPL, when the user does not specify a loadparm they are presented with a
list of boot options; however, this list is only written in the old style
pointers.  Therefore, if no loadparm is specified, and LD-IPL is supported, the
default boot option will be used automatically.

Jared Rossi (1):
  pc-bios: Add support for List-Directed IPL from ECKD DASD

 pc-bios/s390-ccw/bootmap.c | 157 ++++++++++++++++++++++++++++---------
 pc-bios/s390-ccw/bootmap.h |  30 ++++++-
 2 files changed, 148 insertions(+), 39 deletions(-)

-- 
2.31.1



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-03-07 17:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-21 17:45 [RESEND PATCH 0/1] pc-bios: Support List-Directed IPL from ECKD DASD jrossi
2023-02-21 17:45 ` [RESEND PATCH 1/1] pc-bios: Add support for " jrossi
2023-03-03 12:38   ` Thomas Huth
2023-03-07 17:09     ` Eric Farman
2023-03-03 16:29   ` Thomas Huth
2023-03-06 12:12   ` Thomas Huth
2023-03-06 15:39     ` Jared Rossi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).