]> 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)
commitbe1c30c02568f22a8778aa55cf170b4896be1f6d
tree38682de5d0f5425f9f591f4698ba0fb4751c9788
parent1a0ff02542d7b852b1e2f112af27730991c54adf
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