]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qdio: cancel the ESTABLISH ccw after timeout
authorJulian Wiedmann <jwi@linux.ibm.com>
Mon, 31 May 2021 15:33:02 +0000 (18:33 +0300)
committerHeiko Carstens <hca@linux.ibm.com>
Tue, 27 Jul 2021 07:39:18 +0000 (09:39 +0200)
commit0d418d72d6aaa1164cc38b1828e152d6d389e806
treeec990abd9622c61e26b3320c11d4386d183103a9
parent55da0a83bb0b7029e4301c849002454373e13f33
s390/qdio: cancel the ESTABLISH ccw after timeout

When the ESTABLISH ccw does not complete within the specified timeout,
try our best to cancel the ccw program that is still active on the
device. Otherwise the IO subsystem might be accessing it even after
the driver eg. called qdio_free().

Fixes: 1086a79cead2 ("[S390] qdio: new qdio driver.")
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Reviewed-by: Benjamin Block <bblock@linux.ibm.com>
Cc: <stable@vger.kernel.org> # 2.6.27
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
drivers/s390/cio/qdio_main.c