These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / drivers / s390 / char / con3270.c
index 75ffe99..7c511ad 100644 (file)
@@ -413,6 +413,10 @@ con3270_irq(struct con3270 *cp, struct raw3270_request *rq, struct irb *irb)
                else
                        /* Normal end. Copy residual count. */
                        rq->rescnt = irb->scsw.cmd.count;
+       } else if (irb->scsw.cmd.dstat & DEV_STAT_DEV_END) {
+               /* Interrupt without an outstanding request -> update all */
+               cp->update_flags = CON_UPDATE_ALL;
+               con3270_set_timer(cp, 1);
        }
        return RAW3270_IO_DONE;
 }