android_kernel_motorola_sm6225/drivers/s390/crypto
Harald Freudenberger 9a5641080b s390/zcrypt: Introduce QACT support for AP bus devices.
This patch introduces a new ap_qact() function which
exploits the PQAP(QACT) subfunction. QACT is a new
interface to Query the Ap Compatilibity Type based
on a given AP qid, type, mode and version.

Based on this new function the AP bus scan code is
slightly reworked to use this new interface for
querying the compatible type for each new AP queue
device detected. So new and unknown devices can
get automatically mapped to a compatible type and
handled without the need for toleration patches
for every new hardware.

The currently highest known hardware is CEX6S.
With this patch a possible successor can get
queried for a combatible type known by the device
driver without the need for an toleration patch.

Signed-off-by: Harald Freudenberger <freude@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2017-10-23 09:07:14 +02:00
..
ap_asm.h s390/zcrypt: Introduce QACT support for AP bus devices. 2017-10-23 09:07:14 +02:00
ap_bus.c s390/zcrypt: Introduce QACT support for AP bus devices. 2017-10-23 09:07:14 +02:00
ap_bus.h s390/zcrypt: Introduce QACT support for AP bus devices. 2017-10-23 09:07:14 +02:00
ap_card.c s390/zcrypt: Introduce QACT support for AP bus devices. 2017-10-23 09:07:14 +02:00
ap_debug.h s390/zcrypt: Rework debug feature invocations. 2016-12-14 16:33:39 +01:00
ap_queue.c s390/zcrypt: Introduce QACT support for AP bus devices. 2017-10-23 09:07:14 +02:00
Makefile s390/pkey: Introduce pkey kernel module 2017-02-23 10:06:40 +01:00
pkey_api.c s390/pkey: fix kzalloc-simple.cocci warnings 2017-10-16 08:19:23 +02:00
zcrypt_api.c s390/zcrypt: Fix missing newlines at some debug feature messages. 2017-07-05 07:35:29 +02:00
zcrypt_api.h s390/zcrypt: CEX6S exploitation 2017-10-23 09:07:12 +02:00
zcrypt_card.c s390/zcrypt_card: constify attribute_group structures. 2017-07-26 08:25:17 +02:00
zcrypt_cca_key.h s390/zcrypt: remove unused function zcrypt_type6_mex_key_de() 2017-06-12 16:25:57 +02:00
zcrypt_cex2a.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
zcrypt_cex2a.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
zcrypt_cex4.c s390/zcrypt: CEX6S exploitation 2017-10-23 09:07:12 +02:00
zcrypt_cex4.h s390/zcrypt: Add support for CEX4 crypto card 2012-09-26 15:44:56 +02:00
zcrypt_debug.h s390/zcrypt: Rework debug feature invocations. 2016-12-14 16:33:39 +01:00
zcrypt_error.h s390/zcrypt: Rework debug feature invocations. 2016-12-14 16:33:39 +01:00
zcrypt_msgtype6.c s390/zcrypt: Enable special header file flag for AU CPRP 2017-10-23 09:07:13 +02:00
zcrypt_msgtype6.h s390/zcrypt: add multi domain support 2016-12-14 16:33:38 +01:00
zcrypt_msgtype50.c s390/zcrypt: Explicitly check input data length. 2017-09-28 07:29:43 +02:00
zcrypt_msgtype50.h s390/zcrypt: Introduce workload balancing 2016-12-14 16:33:38 +01:00
zcrypt_pcixcc.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
zcrypt_pcixcc.h s390/zcrypt: Separate msgtype implementation from card modules. 2012-09-26 15:44:55 +02:00
zcrypt_queue.c s390/zcrypt_queue: constify attribute_group structures. 2017-07-26 08:25:16 +02:00