s390/ipl: Provide has_secure sysfs attribute
authorPhilipp Rudo <prudo@linux.ibm.com>
Mon, 8 Apr 2019 12:24:08 +0000 (14:24 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 29 Apr 2019 08:44:04 +0000 (10:44 +0200)
commitc9896acc7851109d4e84c1e3a54cb1b9794dea6b
treee258e2c33f0f5def2a7ae88f991a175235406fa1
parent268a78404973594d1a7ec3a2b6a2474e0543a435
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>
arch/s390/include/asm/sclp.h
arch/s390/kernel/ipl.c
drivers/s390/char/sclp.h
drivers/s390/char/sclp_early.c