s390/zcrypt: support special flagged EP11 cprbs
authorHarald Freudenberger <freude@linux.ibm.com>
Wed, 5 Jun 2019 05:19:54 +0000 (07:19 +0200)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 7 Jun 2019 08:09:55 +0000 (10:09 +0200)
commite1ab11012e1cc981b43219580e010a20ec8df7d8
treef213ee44fae33e68d4699489f20eb750f715530d
parentbae0aae2f8f971e95182deab11f56a79018ba89b
s390/zcrypt: support special flagged EP11 cprbs

Within an EP11 cprb there exists a byte field flags. Bit 0x20
of this field indicates a special cprb. A special cprb triggers
special handling in the firmware below the OS layer.

However, a special cprb also needs to have the S bit in GPR0
set when NQAP is called. This was not the case for EP11 cprbs
and this patch now introduces the code to support this.

Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
drivers/s390/crypto/zcrypt_msgtype6.c