s390/qdio: clarify reporting of errors to the drivers
authorJulian Wiedmann <jwi@linux.ibm.com>
Wed, 14 Jul 2021 16:03:51 +0000 (18:03 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Tue, 27 Jul 2021 07:39:18 +0000 (09:39 +0200)
commitbdfd740c1ddac2ec331af9bf79da79d097082882
tree95e88098cd57467b0c6212e26f9090727ff38a3a
parent0ae8f2af262a371d9c49c67a0f5e48982c57cdf4
s390/qdio: clarify reporting of errors to the drivers

Now that all drivers use qdio_inspect_queue() and qdio's internal
queue tasklets are gone, the driver-specified queue handlers are
only called for async error reporting (eg. for an error condition in
the QEBSM code).

So take a moment to clean up the Output Queue handlers (they are
_always_ called with qdio_error != 0), and clarify which error types
can be reported through what interface. As Benjamin already suggested
a while ago, we should turn these into distinct enums at some point.

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>
arch/s390/include/asm/qdio.h
drivers/s390/net/qeth_core_main.c
drivers/s390/scsi/zfcp_qdio.c