summaryrefslogtreecommitdiff
path: root/arch/s390/include/asm/sclp.h
diff options
context:
space:
mode:
authorPhilipp Rudo <prudo@linux.ibm.com>2019-04-08 15:24:08 +0300
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2019-04-29 11:44:04 +0300
commitc9896acc7851109d4e84c1e3a54cb1b9794dea6b (patch)
treee258e2c33f0f5def2a7ae88f991a175235406fa1 /arch/s390/include/asm/sclp.h
parent268a78404973594d1a7ec3a2b6a2474e0543a435 (diff)
downloadlinux-c9896acc7851109d4e84c1e3a54cb1b9794dea6b.tar.xz
s390/ipl: Provide has_secure sysfs attribute
Provide an interface for userspace so it can find out if a machine is capeable of doing secure boot. The interface is, for example, needed for zipl so it can find out which file format it can/should write to disk. Signed-off-by: Philipp Rudo <prudo@linux.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/sclp.h')
-rw-r--r--arch/s390/include/asm/sclp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/include/asm/sclp.h b/arch/s390/include/asm/sclp.h
index ef4c9dec06a4..ef5d8fa92122 100644
--- a/arch/s390/include/asm/sclp.h
+++ b/arch/s390/include/asm/sclp.h
@@ -79,6 +79,8 @@ struct sclp_info {
unsigned char has_kss : 1;
unsigned char has_gisaf : 1;
unsigned char has_diag318 : 1;
+ unsigned char has_sipl : 1;
+ unsigned char has_sipl_g2 : 1;
unsigned int ibc;
unsigned int mtid;
unsigned int mtid_cp;