diff options
author | Stefan Haberland <stefan.haberland@de.ibm.com> | 2014-10-01 14:39:47 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2014-10-09 09:13:54 +0200 |
commit | 5db8440c36a3308649b99f65b68195394dd7fed4 (patch) | |
tree | d45026f110bcd99a6893556ade5dcafc740730d2 /drivers/s390/block/dasd.c | |
parent | 362ce84f43aac61589a8b60e5bb3fcfae9801b13 (diff) | |
download | op-kernel-dev-5db8440c36a3308649b99f65b68195394dd7fed4.zip op-kernel-dev-5db8440c36a3308649b99f65b68195394dd7fed4.tar.gz |
s390/dasd: add support for control unit initiated reconfiguration
Add support for Control Unit Initiated Reconfiguration (CUIR) to
Linux, a storage server interface to reconcile concurrent hardware
changes between storage and host.
Reviewed-by: Stefan Weinhuber <wein@de.ibm.com>
Signed-off-by: Stefan Haberland <stefan.haberland@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/block/dasd.c')
-rw-r--r-- | drivers/s390/block/dasd.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/s390/block/dasd.c b/drivers/s390/block/dasd.c index f0895f4..329db99 100644 --- a/drivers/s390/block/dasd.c +++ b/drivers/s390/block/dasd.c @@ -1660,6 +1660,14 @@ void dasd_int_handler(struct ccw_device *cdev, unsigned long intparm, device->discipline->check_for_device_change(device, cqr, irb); dasd_put_device(device); } + + /* check for for attention message */ + if (scsw_dstat(&irb->scsw) & DEV_STAT_ATTENTION) { + device = dasd_device_from_cdev_locked(cdev); + device->discipline->check_attention(device, irb->esw.esw1.lpum); + dasd_put_device(device); + } + if (!cqr) return; |