s390/zcrypt: provide cex4 cca sysfs attributes for cex3
authorHarald Freudenberger <freude@linux.ibm.com>
Fri, 12 Jun 2020 08:13:23 +0000 (10:13 +0200)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 3 Jul 2020 08:49:54 +0000 (10:49 +0200)
commita303e88743f6514995c31fe611011935ea7f040c
tree03271c1485f9eb4b92b84cdd66732024346cad26
parentdc4b6ded3c17ebe1d7532943192b2308c031c43b
s390/zcrypt: provide cex4 cca sysfs attributes for cex3

This patch introduces the sysfs attributes serialnr and
mkvps for cex2c and cex3c cards. These sysfs attributes
are available for cex4c and higher since
commit 7c4e91c0959b ("s390/zcrypt: new sysfs attributes serialnr and mkvps")'
and this patch now provides the same for the older cex2
and cex3 cards.

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