linux-stable/drivers/s390
Julian Wiedmann 77868c0003 s390/qdio: add sanity checks to the fast-requeue path
[ Upstream commit a6ec414a4d ]

If the device driver were to send out a full queue's worth of SBALs,
current code would end up discovering the last of those SBALs as PRIMED
and erroneously skip the SIGA-w. This immediately stalls the queue.

Add a check to not attempt fast-requeue in this case. While at it also
make sure that the state of the previous SBAL was successfully extracted
before inspecting it.

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Reviewed-by: Jens Remus <jremus@linux.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-08-16 10:12:46 +02:00
..
block s390/dasd: fix endless loop after read unit address configuration 2019-08-06 19:06:55 +02:00
char s390/3270: fix lockdep false positive on view->lock 2019-05-16 19:41:20 +02:00
cio s390/qdio: add sanity checks to the fast-requeue path 2019-08-16 10:12:46 +02:00
crypto s390: zcrypt: initialize variables before_use 2019-05-31 06:46:23 -07:00
net s390/qeth: fix VLAN attribute in bridge_hostnotify udev event 2019-06-25 11:35:59 +08:00
scsi scsi: zfcp: fix GCC compiler warning emitted with -Wmaybe-uninitialized 2019-08-06 19:06:50 +02:00
virtio s390/virtio: handle find on invalid queue gracefully 2019-03-23 20:09:58 +01:00
Makefile kbuild: rename built-in.o to built-in.a 2018-03-26 02:01:19 +09:00