s390-bios: Skip writing iplb location to low core for ccw ipl
commit872882e771cf0873f5e8e78ea7333367a3f87d8b
authorJason J. Herne <jjherne@linux.ibm.com>
Fri, 30 Oct 2020 12:28:23 +0000 (30 13:28 +0100)
committerCornelia Huck <cohuck@redhat.com>
Wed, 4 Nov 2020 11:31:24 +0000 (4 12:31 +0100)
treec1a8c96d5796b84bc3ae951d1c6689e36c37ea95
parent3d6e32347a3b57dac7f469a07c5f520e69bd070a
s390-bios: Skip writing iplb location to low core for ccw ipl

The architecture states that the iplb location is only written to low
core for list directed ipl and not for traditional ccw ipl. If we don't
skip this then operating systems that load by reading into low core
memory may fail to start.

We should also not write the iplb pointer for network boot as it might
overwrite content that we got via network.

Fixes: 9bfc04f9ef68 ("pc-bios: s390x: Save iplb location in lowcore")
Signed-off-by: Jason J. Herne <jjherne@linux.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Acked-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20201030122823.347140-1-borntraeger@de.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
pc-bios/s390-ccw/main.c