kernel-fxtec-pro1x/drivers/s390
Julian Wiedmann 99dcd70146 s390/qdio: handle PENDING state for QEBSM devices
[ Upstream commit 04310324c6f482921c071444833e70fe861b73d9 ]

When a CQ-enabled device uses QEBSM for SBAL state inspection,
get_buf_states() can return the PENDING state for an Output Queue.
get_outbound_buffer_frontier() isn't prepared for this, and any PENDING
buffer will permanently stall all further completion processing on this
Queue.

This isn't a concern for non-QEBSM devices, as get_buf_states() for such
devices will manually turn PENDING buffers into EMPTY ones.

Fixes: 104ea556ee ("qdio: support asynchronous delivery of storage blocks")
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-07-26 09:14:04 +02:00
..
block s390/dasd: Fix capacity calculation for large volumes 2019-05-16 19:41:19 +02:00
char s390/3270: fix lockdep false positive on view->lock 2019-05-16 19:41:20 +02:00
cio s390/qdio: handle PENDING state for QEBSM devices 2019-07-26 09:14:04 +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 to prevent port_remove with pure auto scan LUNs (only sdevs) 2019-06-09 09:17:13 +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