summaryrefslogtreecommitdiffstats
path: root/drivers/s390/crypto/zcrypt_api.h
diff options
context:
space:
mode:
authorHarald Freudenberger <freude@linux.vnet.ibm.com>2017-10-10 11:25:06 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2017-10-23 09:07:12 +0200
commit21214b042d51b056b4eaa332b4cf426250d0e9e2 (patch)
tree70051913e5a31d08451ba22824fb82fcc7be387d /drivers/s390/crypto/zcrypt_api.h
parents390/nmi: do register validation as early as possible (diff)
downloadlinux-21214b042d51b056b4eaa332b4cf426250d0e9e2.tar.xz
linux-21214b042d51b056b4eaa332b4cf426250d0e9e2.zip
s390/zcrypt: CEX6S exploitation
This patch adds the full CEX6S card support to the zcrypt device driver. A CEX6A/C/P is detected and displayed as such, the card and queue device driver code is updated to recognize it and the relative weight values for CEX4, CEX5 and CEX6 have been updated. Signed-off-by: Harald Freudenberger <freude@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/crypto/zcrypt_api.h')
-rw-r--r--drivers/s390/crypto/zcrypt_api.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/crypto/zcrypt_api.h b/drivers/s390/crypto/zcrypt_api.h
index 6c94efd23eac..73541a798db7 100644
--- a/drivers/s390/crypto/zcrypt_api.h
+++ b/drivers/s390/crypto/zcrypt_api.h
@@ -76,6 +76,7 @@ struct ica_z90_status {
#define ZCRYPT_CEX3A 8
#define ZCRYPT_CEX4 10
#define ZCRYPT_CEX5 11
+#define ZCRYPT_CEX6 12
/**
* Large random numbers are pulled in 4096 byte chunks from the crypto cards