]> git.karo-electronics.de Git - karo-tx-linux.git/commit
s390/zcrypt: Rework ap init in case of out of range domain param.
authorHarald Freudenberger <freude@linux.vnet.ibm.com>
Fri, 12 May 2017 14:35:14 +0000 (16:35 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 12 Jun 2017 14:25:58 +0000 (16:25 +0200)
commitac994e80f94f440138774830f2edf148d6ece1f3
tree42a938182ba15dfa354b87f3e9d431b97c2f4783
parent20d58cb642c640406f6466c64a0899400f52c47b
s390/zcrypt: Rework ap init in case of out of range domain param.

When a out of range domain parameter was given, the init function
returned with -EINVAL and the driver was not operational. As the
driver is statically build into the kernel and is able to work
with multiple domains anyway the init function should continue.
Now the user has a chance to write a new default domain value
via sysfs attribute file. Also added two new dbf debug messages
related to the domain value handling.

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