2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 23:53:55 +08:00
linux-next/drivers/s390/crypto
Harald Freudenberger 099eae11a8 s390/zcrypt: kernel oops at insmod of the z90crypt device driver
Kernel oops caused by invalid parameter at TAPQ instruction:
On older systems where the QCI instruction is not available
all possible domains are probed via TAPQ instruction. The
range for the probe has been extended with the > 16 domain
support now leading to a possible specification exception
when this instruction is called for probing higher values
within the new range. This may happen during insmod and/or
ap bus reset only on machines without a QCI instruction (z10,
z196, z114), zEC12 and newer systems are not affected.
The fix modifies the domain checking function to limit the
allowed range if no QCI info is available.

Signed-off-by: Harald Freudenberger <freude@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2014-12-18 09:55:55 +01:00
..
ap_bus.c s390/zcrypt: kernel oops at insmod of the z90crypt device driver 2014-12-18 09:55:55 +01:00
ap_bus.h s390/zcrypt: Toleration of new crypto hardware 2014-10-09 09:14:05 +02:00
Makefile s390/zcrypt: Add support for CEX4 crypto card 2012-09-26 15:44:56 +02:00
zcrypt_api.c s390/zcrypt: Fixed possible race condition in zcrypt module handling 2014-09-25 10:52:04 +02:00
zcrypt_api.h s390/zcrypt: add support for EP11 coprocessor cards 2013-12-18 17:37:15 +01:00
zcrypt_cca_key.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
zcrypt_cex2a.c s390/zcrypt: Separate msgtype implementation from card modules. 2012-09-26 15:44:55 +02: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: add support for EP11 coprocessor cards 2013-12-18 17:37:15 +01:00
zcrypt_cex4.h s390/zcrypt: Add support for CEX4 crypto card 2012-09-26 15:44:56 +02:00
zcrypt_debug.h s390/s390dbf: use debug_level_enabled() where applicable 2013-10-24 17:16:54 +02:00
zcrypt_error.h s390/zcrypt: add support for EP11 coprocessor cards 2013-12-18 17:37:15 +01:00
zcrypt_msgtype6.c s390/zcrypt: add length check for aligned data to avoid overflow in msg-type 6 2014-04-01 09:23:34 +02:00
zcrypt_msgtype6.h s390/zcrypt: add support for EP11 coprocessor cards 2013-12-18 17:37:15 +01:00
zcrypt_msgtype50.c s390/zcrypt: add support for EP11 coprocessor cards 2013-12-18 17:37:15 +01:00
zcrypt_msgtype50.h s390/zcrypt: msgType50 (RSA-CRT) fix 2012-11-23 11:14:30 +01:00
zcrypt_pcica.c s390/zcrypt: add support for EP11 coprocessor cards 2013-12-18 17:37:15 +01:00
zcrypt_pcica.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
zcrypt_pcicc.c s390/zcrypt: add support for EP11 coprocessor cards 2013-12-18 17:37:15 +01:00
zcrypt_pcicc.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
zcrypt_pcixcc.c s390/zcrypt: remove duplicated include from zcrypt_pcixcc.c 2012-10-09 14:17:00 +02:00
zcrypt_pcixcc.h s390/zcrypt: Separate msgtype implementation from card modules. 2012-09-26 15:44:55 +02:00