]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commite40d2e8671f5d1db4962e4c567f6576e173afb7e
tree6417c281e7121149b86246a26ac136c9973e2b7d
parent4af60d84fea6c897ce4ae2a2c7d59551a02bbbd0
[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