linux/drivers/s390
Harald Freudenberger b1af7528d2 s390/zcrypt: use new state UNBOUND during queue driver rebind
When an alternate driver (vfio-ap) has bound an ap queue and this
binding is revised the ap queue device is in an intermittent
state not bound to any driver. The internal state variable
covered this with the state AP_STATE_BORKED which is also used to
reflect broken devices. When now an ap bus scan runs such a
device is destroyed and on the next scan reconstructed.

So a stress test with high frequency switching the queue driver
between the default and the vfio-ap driver hit this gap and the
queue was removed until the next ap bus scan. This fix now
introduces another state for the in-between condition for a queue
momentary not bound to a driver and so the ap bus scan function
skips this device instead of removing it.

Also some very slight but maybe helpful debug feature messages
come with this patch - in particular a message showing that a
broken card/queue device will get removed.

Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Reviewed-by: Ingo Franzki <ifranzki@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2019-02-13 08:27:44 +01:00
..
block s390 updates for the 4.21 merge window 2019-01-02 18:37:01 -08:00
char s390/setup: set control program code via diag 318 2019-01-28 15:58:53 +01:00
cio A fix in ccw chain processing. 2019-02-07 11:57:38 +01:00
crypto s390/zcrypt: use new state UNBOUND during queue driver rebind 2019-02-13 08:27:44 +01:00
net s390/qdio: make SBAL address array type-safe 2019-02-07 11:57:07 +01:00
scsi s390/qdio: make SBAL address array type-safe 2019-02-07 11:57:07 +01:00
virtio Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-12-09 21:43:31 -08:00
Makefile kbuild: rename built-in.o to built-in.a 2018-03-26 02:01:19 +09:00