s390/setup: Fix secure ipl message
authorPhilipp Rudo <prudo@linux.ibm.com>
Wed, 18 Dec 2019 10:24:43 +0000 (11:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jan 2020 07:22:38 +0000 (08:22 +0100)
commitc68777df519635bb1d4053253bc6832ede17f3e6
treeeb1609ff3c2e7b74745cbd0052ae4b178751593e
parent2c490a4730c46cb6ddbfb0c54e687e0efd9ed7ef
s390/setup: Fix secure ipl message

commit 40260b01d029ba374637838213af500e03305326 upstream.

The new machine loader on z15 always creates an IPL Report block and
thus sets the IPL_PL_FLAG_IPLSR even when secure boot is disabled. This
causes the wrong message being printed at boot. Fix this by checking for
IPL_PL_FLAG_SIPL instead.

Fixes: 9641b8cc733f ("s390/ipl: read IPL report at early boot")
Signed-off-by: Philipp Rudo <prudo@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/s390/kernel/setup.c