linux-stable/drivers/s390
Harald Freudenberger abc8d4290d s390/zcrypt: improve special ap message cmd handling
[ Upstream commit be53479101 ]

There exist very few ap messages which need to have the 'special' flag
enabled. This flag tells the firmware layer to do some pre- and maybe
postprocessing. However, it may happen that this special flag is
enabled but the firmware is unable to deal with this kind of message
and thus returns with reply code 0x41. For example older firmware may
not know the newest messages triggered by the zcrypt device driver and
thus react with reject and the named reply code. Unfortunately this
reply code is not known to the zcrypt error routines and thus default
behavior is to switch the ap queue offline.

This patch now makes the ap error routine aware of the reply code and
so userspace is informed about the bad processing result but the queue
is not switched to offline state any more.

Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-02-12 19:46:01 +01:00
..
block s390/scm_blk: correct numa_node in scm_blk_dev_setup 2018-10-03 17:00:49 -07:00
char s390/smp: fix CPU hotplug deadlock with CPU rescan 2019-01-31 08:13:43 +01:00
cio s390/cio: Fix how vfio-ccw checks pinned pages 2018-10-18 09:16:23 +02:00
crypto s390/zcrypt: improve special ap message cmd handling 2019-02-12 19:46:01 +01:00
net s390/qeth: fix length check in SNMP processing 2018-12-05 19:41:17 +01:00
scsi scsi: zfcp: fix posting too many status read buffers leading to adapter shutdown 2019-01-13 10:01:01 +01:00
virtio virtio/s390: fix race in ccw_io_helper() 2018-12-13 09:18:51 +01:00
Makefile