s390-bios: Support for running format-0/1 channel programs
authorJason J. Herne <jjherne@linux.ibm.com>
Thu, 4 Apr 2019 14:34:27 +0000 (10:34 -0400)
committerThomas Huth <thuth@redhat.com>
Fri, 12 Apr 2019 10:40:35 +0000 (12:40 +0200)
commit3083a1bbb8716e9052fe375f68f330107ee13127
treea249bbb5b1e28741d932036844e238244afbadf2
parent1fb3e5cde8dcd9b5917aea9a0b2918e16be8be1e
s390-bios: Support for running format-0/1 channel programs

Introduce a library function for executing format-0 and format-1
channel programs and waiting for their completion before continuing
execution.

Add cu_type() to channel io library. This will be used to query control
unit type which is used to determine if we are booting a virtio device or a
real dasd device.

Signed-off-by: Jason J. Herne <jjherne@linux.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Farhan Ali <alifm@linux.ibm.com>
Message-Id: <1554388475-18329-9-git-send-email-jjherne@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
pc-bios/s390-ccw/cio.c
pc-bios/s390-ccw/cio.h
pc-bios/s390-ccw/s390-ccw.h
pc-bios/s390-ccw/start.S