[PATCH] s390: wrong interrupt delivered for hsch() or csch()
authorCornelia Huck <cornelia.huck@de.ibm.com>
Fri, 24 Mar 2006 11:15:12 +0000 (03:15 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 24 Mar 2006 15:33:15 +0000 (07:33 -0800)
commit3ba1998e90239ed0d7af918998bc866fa77303eb
tree6417c281e7121149b86246a26ac136c9973e2b7d
parent3d1712c91df01d2573b934e972e231e8edb102c7
[PATCH] s390: wrong interrupt delivered for hsch() or csch()

When cio waits for the interrupt for a basic sense, interrupts for hsch() or
csch() issued in the meantime are wrongly counted as interrupts for the basic
sense and the accumulated irb is passed to the device driver.  In
ccw_device_w4sense(), check for clear or halt function in the irb and pass the
irb for the csch() or hsch() to the device driver.

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/s390/cio/device_fsm.c