linux/drivers/s390
Sebastian Ott b4563e891a [S390] cio: wait for channel report
To fetch a pending channel report word (crw) we use a kernel
thread which triggers stcrw and sleeps on a semaphore. The s390
machine check handler uses crw_handle_channel_report to handle
one crw if needed.

This patch replaces the semaphore with a waitqueue (to block the
kernel thread) and an atomic_t (to count the number of pending
requests).

By this we achieve the ability to force this thread to check for
a pending crw (independent on when it is triggered by the machine
check handler) and wait for this action to finish.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2010-02-26 22:37:29 +01:00
..
block [S390] dasd: fix possible NULL pointer errors 2010-01-27 10:12:48 +01:00
char [S390] sclp_vt220: set initial terminal window size 2010-01-27 10:12:49 +01:00
cio [S390] cio: wait for channel report 2010-02-26 22:37:29 +01:00
crypto [S390] zcrypt: Do not remove coprocessor for error 8/72 2010-01-27 10:12:49 +01:00
kvm [S390] kvm: use console_initcall() to initialize s390 virtio console 2009-09-11 10:29:52 +02:00
net Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 2010-01-12 20:53:29 -08:00
scsi [SCSI] zfcp: Report FC BSG errors in correct field 2010-02-08 13:40:17 -06:00
Makefile [S390] split/move machine check handler code 2009-03-26 15:24:10 +01:00