summaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/qdio.h
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2021-11-15 08:28:08 +0100
committerHeiko Carstens <hca@linux.ibm.com>2021-12-06 14:42:25 +0100
commit513251fe25d304d1ca628c581bd0cc0422de150a (patch)
tree559e401288d20c6c043dd97760b77499bc1cab3e /drivers/s390/cio/qdio.h
parent0a86cdcb4ce297f543d13d0bbd4f0c86f00626e5 (diff)
downloadlinux-513251fe25d304d1ca628c581bd0cc0422de150a.tar.gz
linux-513251fe25d304d1ca628c581bd0cc0422de150a.tar.bz2
linux-513251fe25d304d1ca628c581bd0cc0422de150a.zip
s390/qdio: clarify handler logic for qdio_handle_activate_check()
qdio_handle_activate_check() tries to re-use one of the queue-specific handlers to report that the ACTIVATE ccw has been terminated. But the logic to select that handler is overly complex - in practice both qdio drivers have at least one Input Queue, so we never take the other paths. Make things more obvious by removing this unused code, and clearly spelling out that we re-use the Input Handler for generic error reporting. This also paves the way for a world without queue-specific error handlers. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Reviewed-by: Benjamin Block <bblock@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'drivers/s390/cio/qdio.h')
-rw-r--r--drivers/s390/cio/qdio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/cio/qdio.h b/drivers/s390/cio/qdio.h
index 152c032e74d4..5ea6249d8180 100644
--- a/drivers/s390/cio/qdio.h
+++ b/drivers/s390/cio/qdio.h
@@ -240,6 +240,7 @@ struct qdio_irq {
struct qdio_ssqd_desc ssqd_desc;
void (*orig_handler) (struct ccw_device *, unsigned long, struct irb *);
+ qdio_handler_t (*error_handler);
int perf_stat_enabled;