linux/drivers/s390/cio
Sebastian Ott 4475aeb8b7 s390/cio: fix premature wakeup during chp configure
We store requests for channel path configure operations in an array but
maintain an additional cfg_busy variable (indicating if we have requests
stored in said array). When 2 tasks request a channel path configure
operation cfg_busy could be set to 0 even if we still have unprocessed
requests. This would lead to the second task being woken up although its
request was not processed yet.

Fix that by getting rid of cfg_busy and use the chp_cfg_task array
in the wake up condition.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Reviewed-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2016-07-31 05:27:57 -04:00
..
airq.c
blacklist.c
blacklist.h
ccwgroup.c
ccwreq.c
chp.c s390/cio: fix premature wakeup during chp configure 2016-07-31 05:27:57 -04:00
chp.h
chsc_sch.c s390/chsc: fix ioctl CHSC_INFO_CU command 2016-07-15 14:31:58 +02:00
chsc_sch.h
chsc.c s390/chsc: improve channel path descriptor determination 2016-07-15 14:32:01 +02:00
chsc.h s390/chsc: improve channel path descriptor determination 2016-07-15 14:32:01 +02:00
cio_debug.h
cio.c
cio.h
cmf.c s390/cio: allow to reset channel measurement block 2016-07-14 13:01:49 +02:00
crw.c
css.c
css.h
device_fsm.c
device_id.c
device_ops.c s390/cio/device_ops: fix kernel doc 2016-07-15 14:31:57 +02:00
device_pgid.c
device_status.c
device.c
device.h
eadm_sch.c
eadm_sch.h
fcx.c
idset.c
idset.h
io_sch.h
ioasm.c s390/cio: use basic blocks for i/o inline assemblies 2016-06-28 09:32:34 +02:00
ioasm.h
isc.c
itcw.c
Makefile
orb.h
qdio_debug.c
qdio_debug.h
qdio_main.c
qdio_setup.c
qdio_thinint.c
qdio.h
scm.c
trace.c
trace.h