linux-stable-rt/drivers/s390/cio
Peter Oberparleiter 91c36919a4 [S390] cio: call ccw driver notify function with lock held
Calling a ccw driver's notify function without the ccw device lock
held opens up a race window between discovery and handling of a change
in the device operational state. As a result, the device driver may
encounter unexpected device malfunction, leading to out-of-retry
situations or similar.

Remove race by extending the ccw device lock from state change
discovery to the calling of the notify function.

Signed-off-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2008-08-21 19:46:41 +02:00
..
Makefile
airq.c
blacklist.c
blacklist.h
ccwgroup.c [S390] cio: fix ccw group device cleanup 2008-08-21 19:46:40 +02:00
chp.c
chp.h
chsc.c
chsc.h
chsc_sch.c
chsc_sch.h
cio.c
cio.h
cio_debug.h
cmf.c
css.c [S390] cio: call ccw driver notify function with lock held 2008-08-21 19:46:41 +02:00
css.h
device.c [S390] cio: call ccw driver notify function with lock held 2008-08-21 19:46:41 +02:00
device.h [S390] cio: call ccw driver notify function with lock held 2008-08-21 19:46:41 +02:00
device_fsm.c [S390] cio: call ccw driver notify function with lock held 2008-08-21 19:46:41 +02:00
device_id.c
device_ops.c
device_pgid.c
device_status.c
fcx.c
idset.c
idset.h
io_sch.h
ioasm.h
isc.c
itcw.c
qdio.h
qdio_debug.c
qdio_debug.h
qdio_main.c [S390] qdio: remove the module_get & module_put pair 2008-08-21 19:46:40 +02:00
qdio_perf.c
qdio_perf.h
qdio_setup.c
qdio_thinint.c
scsw.c