android_kernel_xiaomi_sm8350/drivers/s390/cio
Peter Oberparleiter 376ae4752e [S390] cio: fix I/O cancel function
Function ccw_device_cancel_halt_clear may cause an unexpected kernel
panic if a clear function is currently active at the subchannel for
which it is called. In that case, the iretry counter used to determine
the number of retries is never initialized, leading to an immediate
failure of the function which results in a kernel panic.

Fix this by initializing the iretry counter when the function is
first called. Also replace the kernel panic with a return code: a
single malfunctioning I/O device should not automatically cause a
system-wide kernel panic.

Signed-off-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2010-10-25 16:10:20 +02:00
..
airq.c
blacklist.c [S390] cio: remove custom implementation of hex_to_bin() 2010-10-25 16:10:17 +02:00
blacklist.h
ccwgroup.c
ccwreq.c [S390] ccwreq: add ability to use all paths 2010-08-09 18:12:54 +02:00
chp.c [S390] cio: update descriptor in chsc_chp_vary 2010-10-25 16:10:18 +02:00
chp.h [S390] cio: update descriptor in chsc_chp_vary 2010-10-25 16:10:18 +02:00
chsc_sch.c [S390] chsc: use the global page to determine the chp desriptor 2010-10-25 16:10:18 +02:00
chsc_sch.h
chsc.c [S390] css: update descriptor after hibernate 2010-10-25 16:10:18 +02:00
chsc.h [S390] chsc: use the global page to determine the chp desriptor 2010-10-25 16:10:18 +02:00
cio_debug.h
cio.c
cio.h
cmf.c
crw.c
css.c [S390] css: update subchannel description after hibernate 2010-10-25 16:10:18 +02:00
css.h
device_fsm.c [S390] cio: fix I/O cancel function 2010-10-25 16:10:20 +02:00
device_id.c [S390] cio: use all available paths for some internal I/O 2010-08-09 18:12:54 +02:00
device_ops.c
device_pgid.c [S390] cio: notify drivers of channel path events 2010-10-25 16:10:19 +02:00
device_status.c
device.c [S390] cio: fix I/O cancel function 2010-10-25 16:10:20 +02:00
device.h
fcx.c
idset.c
idset.h
io_sch.h [S390] cio: notify drivers of channel path events 2010-10-25 16:10:19 +02:00
ioasm.h
isc.c
itcw.c
Makefile
qdio_debug.c qdio: extend API to allow polling 2010-09-08 14:31:00 -07:00
qdio_debug.h
qdio_main.c qdio: extend API to allow polling 2010-09-08 14:31:00 -07:00
qdio_setup.c qdio: extend API to allow polling 2010-09-08 14:31:00 -07:00
qdio_thinint.c qdio: extend API to allow polling 2010-09-08 14:31:00 -07:00
qdio.h qdio: extend API to allow polling 2010-09-08 14:31:00 -07:00