91c36919a4
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> |
||
---|---|---|
.. | ||
Makefile | ||
airq.c | ||
blacklist.c | ||
blacklist.h | ||
ccwgroup.c | ||
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 | ||
css.h | ||
device.c | ||
device.h | ||
device_fsm.c | ||
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 | ||
qdio_perf.c | ||
qdio_perf.h | ||
qdio_setup.c | ||
qdio_thinint.c | ||
scsw.c |