Skip to content

Commit ea5717c

Browse files
svens-s390hcahca
authored andcommitted
s390/ipl: add missing secure/has_secure file to ipl type 'unknown'
OS installers are relying on /sys/firmware/ipl/has_secure to be present on machines supporting secure boot. This file is present for all IPL types, but not the unknown type, which prevents a secure installation when an LPAR is booted in HMC via FTP(s), because this is an unknown IPL type in linux. While at it, also add the secure file. Fixes: c9896ac ("s390/ipl: Provide has_secure sysfs attribute") Cc: [email protected] Signed-off-by: Sven Schnelle <[email protected]> Reviewed-by: Heiko Carstens <[email protected]> Signed-off-by: Heiko Carstens <[email protected]>
1 parent c8f40a0 commit ea5717c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/s390/kernel/ipl.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -640,6 +640,8 @@ static struct attribute_group ipl_ccw_attr_group_lpar = {
640640

641641
static struct attribute *ipl_unknown_attrs[] = {
642642
&sys_ipl_type_attr.attr,
643+
&sys_ipl_secure_attr.attr,
644+
&sys_ipl_has_secure_attr.attr,
643645
NULL,
644646
};
645647

0 commit comments

Comments
 (0)