]> git.baikalelectronics.ru Git - kernel.git/commit
s390/zcrypt: Number of supported ap domains is not retrievable.
authorIngo Tuchscherer <ingo.tuchscherer@de.ibm.com>
Fri, 23 Jan 2015 12:27:04 +0000 (13:27 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 23 Jan 2015 14:17:10 +0000 (15:17 +0100)
commitebde9b7846f41e4e4119c9ed04ff299441c5108b
tree8783c3ecc27ad95c0dd13bb786dded0fae31a955
parentce13eb771ac6d92f1c5fbc2c4ea70b712b050dcb
s390/zcrypt: Number of supported ap domains is not retrievable.

Upcoming versions of secure key management facilities (CCA and
EP11) require information about the maximum number of supported
ap domains in order to service TKE requests properly. With IBM
z13 the number of available domains (so far 16) has increased up
to 85. This number varies depending on machine types and models.
Therefore the new sysfs attribute 'ap_max_domain_id' provides
this limit of supported ap domains.  Upcoming releases for CCA
and EP11 will use this new information. Without this problem fix
it is not possible to retrieve reliable information about the
maximum number of supported ap domains. Thus, customers are not
able to perform key management for CCA and EP11 coprocessor
adapters.

Signed-off-by: Ingo Tuchscherer <ingo.tuchscherer@de.ibm.com>
Signed-off-by: Harald Freudenberger <freude@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/crypto/ap_bus.c