]> git.baikalelectronics.ru Git - kernel.git/commit
s390/zcrypt: add base code for cca crypto card info support
authorHarald Freudenberger <freude@linux.ibm.com>
Tue, 11 Jun 2019 12:10:47 +0000 (14:10 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Mon, 29 Jul 2019 16:14:17 +0000 (18:14 +0200)
commit8f12f35bb1ce7897be59a65a6befdff38220e2c0
tree38682de5d0f5425f9f591f4698ba0fb4751c9788
parent7b688df1f15f87e647c2f2f9e891c58f260c9e0f
s390/zcrypt: add base code for cca crypto card info support

This patch widens the information held for cca crypto apqns.
Currently the current and old master key verification pattern
is used by the existing code. Now the new master key registers
mkvp, the 8 byte serial number and state info about each master
key register is part of the cca info cache.

In a next step this information will be used to provide some
additional attributes in sysfs for each CCA crypto adapter.

Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Reviewed-by: Ingo Franzki <ifranzki@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
drivers/s390/crypto/zcrypt_ccamisc.c