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
ctcm_fsms.h
ctcm_main.c
ctcm_main.h
ctcm_mpc.c
ctcm_mpc.h
ctcm_sysfs.c
fsm.c
fsm.h
Kconfig
lcs.c
lcs.h
Makefile
netiucv.c
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_core_mpc.h
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_l3_main.c s390/qeth: free netdevice when removing a card 2018-03-31 18:12:34 +02:00
qeth_l3_sys.c
smsgiucv.c
smsgiucv.h
smsgiucv_app.c