linux-stable/drivers/s390/crypto
Juergen Christ cff2d3abc8 s390/zcrypt: CCA control CPRB sending
When sending a CCA CPRB to a control domain, the CPRB has to be sent via a
usage domain.  Previous code used the default domain to route this message.
If the default domain is not online and ready to send the CPRB, the ioctl will
fail even if other usage domains could be used to send the CPRB.

To improve this, instead of using the default domain, switch to auto-select of
the domain.

Signed-off-by: Juergen Christ <jchrist@linux.ibm.com>
Reviewed-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
2021-12-16 19:58:07 +01:00
..
Makefile s390/zcrypt: add new low level ep11 functions support file 2020-01-30 13:07:55 +01:00
ap_bus.c s390/ap: function rework based on compiler warning 2021-10-26 15:21:30 +02:00
ap_bus.h s390/ap: fix state machine hang after failure to enable irq 2021-08-26 20:22:12 +02:00
ap_card.c s390/AP: support new dynamic AP bus size limit 2021-07-05 12:44:23 +02:00
ap_debug.h s390/zcrypt: rework of debug feature messages 2021-10-26 15:21:27 +02:00
ap_queue.c s390/zcrypt: rework of debug feature messages 2021-10-26 15:21:27 +02:00
pkey_api.c s390/zcrypt/pkey: introduce zcrypt_wait_api_operational() function 2020-11-09 11:21:00 +01:00
vfio_ap_drv.c s390/vfio-ap: add status attribute to AP queue device's sysfs dir 2021-12-06 14:42:26 +01:00
vfio_ap_ops.c s390 updates for the 5.16 merge window 2021-11-06 14:48:06 -07:00
vfio_ap_private.h s390/vfio-ap: s390/crypto: fix all kernel-doc warnings 2021-10-26 15:21:29 +02:00
zcrypt_api.c s390/zcrypt: CCA control CPRB sending 2021-12-16 19:58:07 +01:00
zcrypt_api.h s390/ap/zcrypt: notify userspace with online, config and mode info 2021-06-16 23:46:18 +02:00
zcrypt_card.c s390/zcrypt: rework of debug feature messages 2021-10-26 15:21:27 +02:00
zcrypt_cca_key.h s390/zcrypt: zcrypt device driver cleanup 2018-10-09 11:21:35 +02:00
zcrypt_ccamisc.c s390/zcrypt: fix wrong offset index for APKA master key valid state 2021-08-18 10:01:28 +02:00
zcrypt_ccamisc.h s390/crypto: fix function/prototype mismatches 2021-06-07 17:06:58 +02:00
zcrypt_cex2a.c s390/zcrypt: remove incorrect kernel doc indicators 2021-09-08 14:23:31 +02:00
zcrypt_cex2a.h s390/zcrypt: zcrypt device driver cleanup 2018-10-09 11:21:35 +02:00
zcrypt_cex2c.c s390/zcrypt: remove incorrect kernel doc indicators 2021-09-08 14:23:31 +02:00
zcrypt_cex2c.h s390/zcrypt: zcrypt device driver cleanup 2018-10-09 11:21:35 +02:00
zcrypt_cex4.c s390/zcrypt: remove incorrect kernel doc indicators 2021-09-08 14:23:31 +02:00
zcrypt_cex4.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
zcrypt_debug.h s390/zcrypt: rework of debug feature messages 2021-10-26 15:21:27 +02:00
zcrypt_ep11misc.c s390/pkey: support CCA and EP11 secure ECC private keys 2020-09-24 10:03:28 +02:00
zcrypt_ep11misc.h s390/pkey: support CCA and EP11 secure ECC private keys 2020-09-24 10:03:28 +02:00
zcrypt_error.h s390/zcrypt: rework of debug feature messages 2021-10-26 15:21:27 +02:00
zcrypt_msgtype6.c s390/zcrypt: rework of debug feature messages 2021-10-26 15:21:27 +02:00
zcrypt_msgtype6.h s390/AP: support new dynamic AP bus size limit 2021-07-05 12:44:23 +02:00
zcrypt_msgtype50.c s390/zcrypt: rework of debug feature messages 2021-10-26 15:21:27 +02:00
zcrypt_msgtype50.h s390/zcrypt: zcrypt device driver cleanup 2018-10-09 11:21:35 +02:00
zcrypt_queue.c s390/zcrypt: rework of debug feature messages 2021-10-26 15:21:27 +02:00