Skip to content

Commit 40260b0

Browse files
Philipp RudoVasily Gorbik
authored andcommitted
s390/setup: Fix secure ipl message
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: 9641b8c ("s390/ipl: read IPL report at early boot") Signed-off-by: Philipp Rudo <[email protected]> Signed-off-by: Vasily Gorbik <[email protected]>
1 parent 0c874cd commit 40260b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/s390/kernel/setup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1052,7 +1052,7 @@ static void __init log_component_list(void)
10521052

10531053
if (!early_ipl_comp_list_addr)
10541054
return;
1055-
if (ipl_block.hdr.flags & IPL_PL_FLAG_IPLSR)
1055+
if (ipl_block.hdr.flags & IPL_PL_FLAG_SIPL)
10561056
pr_info("Linux is running with Secure-IPL enabled\n");
10571057
else
10581058
pr_info("Linux is running with Secure-IPL disabled\n");

0 commit comments

Comments
 (0)