linux-stable/drivers/s390/crypto
Harald Freudenberger a5867bb197 s390/zcrypt: handle new reply code FILTERED_BY_HYPERVISOR
[ Upstream commit 6733775a92 ]

This patch introduces support for a new architectured reply
code 0x8B indicating that a hypervisor layer (if any) has
rejected an ap message.

Linux may run as a guest on top of a hypervisor like zVM
or KVM. So the crypto hardware seen by the ap bus may be
restricted by the hypervisor for example only a subset like
only clear key crypto requests may be supported. Other
requests will be filtered out - rejected by the hypervisor.
The new reply code 0x8B will appear in such cases and needs
to get recognized by the ap bus and zcrypt device driver zoo.

Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-04 19:13:14 +01:00
..
ap_bus.c s390/zcrypt: enable AP bus scan without a valid default domain 2019-11-20 18:47:07 +01:00
ap_bus.h s390/zcrypt: reinit ap queue state machine during device probe 2019-09-16 08:21:57 +02:00
ap_card.c
ap_debug.h
ap_queue.c s390/zcrypt: make sysfs reset attribute trigger queue reset 2019-12-05 09:20:04 +01:00
Makefile
pkey_api.c s390/pkey: add one more argument space for debug feature entry 2019-05-16 19:41:22 +02:00
zcrypt_api.c s390: zcrypt: initialize variables before_use 2019-05-31 06:46:23 -07:00
zcrypt_api.h
zcrypt_card.c
zcrypt_cca_key.h
zcrypt_cex2a.c s390/zcrypt: reinit ap queue state machine during device probe 2019-09-16 08:21:57 +02:00
zcrypt_cex2a.h
zcrypt_cex4.c s390/zcrypt: reinit ap queue state machine during device probe 2019-09-16 08:21:57 +02:00
zcrypt_cex4.h
zcrypt_debug.h
zcrypt_error.h s390/zcrypt: handle new reply code FILTERED_BY_HYPERVISOR 2020-01-04 19:13:14 +01:00
zcrypt_msgtype6.c
zcrypt_msgtype6.h
zcrypt_msgtype50.c
zcrypt_msgtype50.h
zcrypt_pcixcc.c s390/zcrypt: reinit ap queue state machine during device probe 2019-09-16 08:21:57 +02:00
zcrypt_pcixcc.h
zcrypt_queue.c