android_kernel_oneplus_msm8998/drivers/s390/net
Julian Wiedmann bd01dd8b10 s390/qeth: on channel error, reject further cmd requests
[ Upstream commit a6c3d93963e4b333c764fde69802c3ea9eaa9d5c ]

When the IRQ handler determines that one of the cmd IO channels has
failed and schedules recovery, block any further cmd requests from
being submitted. The request would inevitably stall, and prevent the
recovery from making progress until the request times out.

This sort of error was observed after Live Guest Relocation, where
the pending IO on the READ channel intentionally gets terminated to
kick-start recovery. Simultaneously the guest executed SIOCETHTOOL,
triggering qeth to issue a QUERY CARD INFO command. The command
then stalled in the inoperabel WRITE channel.

Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-31 18:12:34 +02:00
..
ctcm_dbug.c
ctcm_dbug.h
ctcm_fsms.c s390/ctcm, netiucv: migrate variables to handle y2038 problem 2015-01-17 23:54:59 -05:00
ctcm_fsms.h
ctcm_main.c s390/ctcm, netiucv: migrate variables to handle y2038 problem 2015-01-17 23:54:59 -05:00
ctcm_main.h s390/ctcm, netiucv: migrate variables to handle y2038 problem 2015-01-17 23:54:59 -05:00
ctcm_mpc.c s390: remove 31 bit support 2015-03-25 11:49:33 +01:00
ctcm_mpc.h
ctcm_sysfs.c s390/ctcm, netiucv: migrate variables to handle y2038 problem 2015-01-17 23:54:59 -05:00
fsm.c
fsm.h
Kconfig s390: remove claw driver 2015-02-28 23:38:29 -05:00
lcs.c s390/lcs: Fix null-pointer access in msg 2015-05-18 12:14:18 -04:00
lcs.h
Makefile s390: remove claw driver 2015-02-28 23:38:29 -05:00
netiucv.c s390/iucv: do not use arrays as argument 2015-09-21 16:03:04 -07:00
qeth_core.h s390/qeth: fix SETIP command handling 2018-03-11 16:19:46 +01:00
qeth_core_main.c s390/qeth: on channel error, reject further cmd requests 2018-03-31 18:12:34 +02:00
qeth_core_mpc.c qeth: OSA version of SETBRIDGEPORT command 2015-05-18 12:14:17 -04:00
qeth_core_mpc.h qeth: OSA version of SETBRIDGEPORT command 2015-05-18 12:14:17 -04:00
qeth_core_sys.c s390/qeth: unbreak OSM and OSN support 2017-06-07 12:05:57 +02:00
qeth_l2.h s390/qeth: unbreak OSM and OSN support 2017-06-07 12:05:57 +02:00
qeth_l2_main.c s390/qeth: free netdevice when removing a card 2018-03-31 18:12:34 +02:00
qeth_l2_sys.c s390/qeth: unbreak OSM and OSN support 2017-06-07 12:05:57 +02:00
qeth_l3.h qeth: make local functions static in qeth_l3 module 2014-10-26 22:21:39 -04:00
qeth_l3_main.c s390/qeth: free netdevice when removing a card 2018-03-31 18:12:34 +02:00
qeth_l3_sys.c qeth: sysfs: replace strcmp() with sysfs_streq() 2015-01-17 23:55:00 -05:00
smsgiucv.c s390/iucv: do not use arrays as argument 2015-09-21 16:03:04 -07:00
smsgiucv.h
smsgiucv_app.c