summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCornelia Huck <cornelia.huck@de.ibm.com>2007-02-05 21:17:09 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2007-02-05 21:17:09 +0100
commit18374d376c7eb30b6359759e767cd99397b377d2 (patch)
treec570a07dcdb27076bb37b3ed19323ffacfb4982b
parentb075083f35309c4f3e50886d6f31a3a0e07a29b5 (diff)
downloadtalos-op-linux-18374d376c7eb30b6359759e767cd99397b377d2.tar.gz
talos-op-linux-18374d376c7eb30b6359759e767cd99397b377d2.zip
[S390] cio: Restart path verification after unsolicited interrupt.
If we try to start path verification when an unsolicited interrupt is already pending, stctl shows status pending and we delay path verification again. We need to check for the doverify bit when the unsolicited interrupt comes in and then do path verification. Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
-rw-r--r--drivers/s390/cio/device_fsm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/s390/cio/device_fsm.c b/drivers/s390/cio/device_fsm.c
index 2f920d376c80..da575365b134 100644
--- a/drivers/s390/cio/device_fsm.c
+++ b/drivers/s390/cio/device_fsm.c
@@ -842,6 +842,8 @@ ccw_device_irq(struct ccw_device *cdev, enum dev_event dev_event)
call_handler_unsol:
if (cdev->handler)
cdev->handler (cdev, 0, irb);
+ if (cdev->private->flags.doverify)
+ ccw_device_online_verify(cdev, 0);
return;
}
/* Accumulate status and find out if a basic sense is needed. */
OpenPOWER on IntegriCloud